@monospaced/set-core 0.22.0 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/avatar/avatar.d.ts.map +1 -1
- package/dist/components/badge/badge.d.ts.map +1 -1
- package/dist/components/box/box.d.ts.map +1 -1
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/heading/heading.d.ts.map +1 -1
- package/dist/components/image/image.d.ts.map +1 -1
- package/dist/components/input/input.d.ts.map +1 -1
- package/dist/components/logo/logo.d.ts.map +1 -1
- package/dist/components/spinner/spinner.d.ts.map +1 -1
- package/dist/core-mnsp.css +1 -1
- package/dist/core-wrfr.css +1 -1
- package/dist/core.css +2 -1
- package/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10115 -8524
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
package/dist/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ve=new Set(["area","base","br","col","embed","hr","img","input","link","meta","source","track","wbr"]);function gt(t){return t.replaceAll("&","&").replaceAll("<","<").replaceAll(">",">").replaceAll('"',""").replaceAll("'","'")}function He(t){return Object.entries(t).flatMap(([n,e])=>e===!1||e==null?[]:e===!0?[n]:[`${n}="${gt(String(e))}"`]).join(" ")}function h(t){if(t.kind==="text")return gt(t.value);if(t.kind==="raw")return t.html;const n=He(t.attrs),e=n?`<${t.tag} ${n}>`:`<${t.tag}>`;if(Ve.has(t.tag))return e;const i=t.children.map(h).join("");return`${e}${i}</${t.tag}>`}function D(t){return/^[A-Za-z][\w:-]*$/.test(t)}function b(t){if(t===void 0)return;const n=t.trim();if(n){if(!D(n))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");return n}}function R(t){return t==null?void 0:t.trim().replace(/\s+/g," ")||void 0}const Be=["adjustment","arrow-down","arrow-left","arrow-left-right-1","arrow-right","arrow-up","arrow-up-down-1","check","check-circle","chevron-down","chevron-right","circle","city-6","close","copy","download","enter","error-circle","error-triangle","horizontal","image","info-circle","jump","layers","link","member","moon","panel-left","pantone","play","rectangle","refresh","robot-1","search","setting-1","sticky-note","sunny","swap","user-1","view-list"],Oe={adjustment:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M21 5L10 5M10 5C10 6.10457 9.10457 7 8 7C6.89543 7 6 6.10457 6 5M10 5C10 3.89543 9.10457 3 8 3C6.89543 3 6 3.89543 6 5M6 5L3 5M21 19H10M10 19C10 20.1046 9.10457 21 8 21C6.89543 21 6 20.1046 6 19M10 19C10 17.8954 9.10457 17 8 17C6.89543 17 6 17.8954 6 19M3 12H14M14 12C14 13.1046 14.8954 14 16 14C17.1046 14 18 13.1046 18 12M14 12C14 10.8954 14.8954 10 16 10C17.1046 10 18 10.8954 18 12M6 19H3M18 12H21","stroke-linecap":"square"}}]}],"arrow-down":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M17.5 13.6L12 19.1L6.5 13.6M12 17.85V4.85","stroke-linecap":"square"}}]}],"arrow-left":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M11 6.5L5.5 12L11 17.5M6.75 12H19.75","stroke-linecap":"square"}}]}],"arrow-left-right-1":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M15.5 4L19 7.5L15.5 11M17.75 7.5H5.5M8.5 20L5 16.5L8.5 13M6.25 16.5H18.5","stroke-linecap":"square"}}]}],"arrow-right":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M13 17.5L18.5 12L13 6.5M17.25 12L4.25 12","stroke-linecap":"square"}}]}],"arrow-up":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M17.5 10.5L12 5L6.5 10.5M12 6.25V19.25","stroke-linecap":"square"}}]}],"arrow-up-down-1":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M7.5 6.25V18.5M13 15.5L16.5 19L20 15.5M16.5 17.75V5.50001M11 8.5L7.5 5L4 8.5","stroke-linecap":"square"}}]}],check:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M19.5708 7.37842L10.3785 16.5708L5.42871 11.6211","stroke-linecap":"square"}}]}],"check-circle":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M16.5 9L10.5 15L7.5 12","stroke-linecap":"square"}}]}],"chevron-down":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M17.5 9.5L12 15L6.5 9.5","stroke-linecap":"square"}}]}],"chevron-right":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M9.5 17.5L15 12L9.5 6.5","stroke-linecap":"square"}}]}],circle:[{tag:"g",attrs:{},children:[{tag:"circle",attrs:{cx:"12",cy:"12",r:"10","stroke-linecap":"square"}}]}],"city-6":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M12 21V16M7 21H2V9H7V21ZM22 7V21H17V7H22Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M17 3H7V21H17V3Z","stroke-linecap":"square"}}]}],close:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M16.9503 7.05029L12.0005 12M12.0005 12L7.05078 16.9498M12.0005 12L16.9503 16.9498M12.0005 12L7.05078 7.05029","stroke-linecap":"square"}}]}],copy:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M10 10H21V21H10V10Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M14 6.5V3L3 3L3 14H6.5","stroke-linecap":"square"}}]}],download:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M16.5 10.5L12 15L7.5 10.5M12 13.75V4","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M20.5 15V20H3.5V15","stroke-linecap":"square"}}]}],enter:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M5.75 16H16C17.6569 16 19 14.6569 19 13L19 5M8 12.5L4.5 16L8 19.5","stroke-linecap":"square"}}]}],"error-circle":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M12 7.5V13M12 16.5H12.0039V16.5039H12V16.5Z","stroke-linecap":"square"}}]}],"error-triangle":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M12.0003 3L22.2194 20.7H1.78125L12.0003 3Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M12 10.5V14M12 17.5H12.0039V17.5039H12V17.5Z","stroke-linecap":"square"}}]}],horizontal:[{tag:"g",attrs:{},children:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M3 11H21V21H3V11Z"}},{tag:"path",attrs:{d:"M3 3H21V7H3V3Z"}}]}]}],image:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M3 16V3H21V21H20M3 16V21H20M3 16L9 10L20 21"}},{tag:"circle",attrs:{cx:"15.75",cy:"8.25",r:"2"}}]}],"info-circle":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M12 16.5L12 11M12 7.5L11.9961 7.5L11.9961 7.49609L12 7.49609L12 7.5Z","stroke-linecap":"square"}}]}],jump:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M9 4L4 4L4 20L20 20L20 15","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M19.25 4.75L12 12M14 4H20L20 10","stroke-linecap":"square"}}]}],layers:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M4.5 6.125L12 3L19.5 6.125L12 9.25L4.5 6.125Z"}},{tag:"path",attrs:{d:"M3 11.5005L12 15.3771L21 11.5005M21 17.5005L12 21.3771L3 17.5005"}}]}],link:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M11.6762 6.99023L13.9998 4.6666C15.4726 3.19382 17.8604 3.19382 19.3332 4.6666C20.806 6.13938 20.806 8.52723 19.3332 10L17.0096 12.3236M6.98974 11.6766L4.66611 14.0003C3.19333 15.4731 3.19333 17.8609 4.66611 19.3337C6.13889 20.8065 8.52675 20.8065 9.99953 19.3337L12.3232 17.0101M13.9985 9.99989L9.99847 14","stroke-linecap":"square"}}]}],member:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M16 20V19C16 16.7909 14.2091 15 12 15H5C2.79086 15 1 16.7909 1 19V20M12.5 7C12.5 9.20914 10.7091 11 8.5 11C6.29086 11 4.5 9.20914 4.5 7C4.5 4.79086 6.29086 3 8.5 3C10.7091 3 12.5 4.79086 12.5 7Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M15.5 11C17.7091 11 19.5 9.20914 19.5 7C19.5 4.79086 17.7091 3 15.5 3M23 20V19C23 16.7909 21.2091 15 19 15","stroke-linecap":"square"}}]}],moon:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M20.5387 14.8522C20.0408 14.9492 19.5263 15 19 15C14.5817 15 11 11.4183 11 7C11 5.54296 11.3194 4.17663 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C15.9737 21 19.3459 18.4248 20.5387 14.8522Z"}}]}],"panel-left":[{tag:"path",attrs:{d:"M3 3H21V21H3V3Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M9 3V21","stroke-linecap":"square"}}],pantone:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M3.35389 10.3333L20.8245 10.3333L19.0009 5L3.35389 10.3333ZM3.35389 10.3333L17.1433 5.63318L14.1465 1.43164L2.99942 10.3359M3.35389 10.3333L2.99942 10.3359M2.99942 10.3359H2.5"}},{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M6.28516 15.1641H6.28906V15.168H6.28516V15.1641Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M22 10.333V19.9997L2 19.9997L2 10.333L22 10.333Z","stroke-linecap":"square"}}]}]}],play:[{tag:"path",attrs:{fill:"currentColor",d:"M18.25 11.9998L8.5 17.6289L8.5 6.37061L18.25 11.9998Z"}}],rectangle:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M3 3H21V21H3z","stroke-linecap":"square"}}]}],refresh:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M21.448 13C20.9483 17.7767 16.909 21.5 12 21.5C8.18227 21.5 4.89052 19.248 3.38065 16M2.5 20.5V15.5H5.5M2.55176 11C3.05145 6.22334 7.09079 2.5 11.9998 2.5C15.8175 2.5 19.1092 4.75197 20.6191 8M21.4998 3.5V8.5H18.4998","stroke-linecap":"square"}}]}],"robot-1":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M19.5 21V19.5C19.5 17.2909 17.7091 15.5 15.5 15.5H8.5C6.29086 15.5 4.5 17.2909 4.5 19.5V21M12 4V2M10 12H14C16.2091 12 18 10.2091 18 8C18 5.79086 16.2091 4 14 4H10C7.79086 4 6 5.79086 6 8C6 10.2091 7.79086 12 10 12ZM10.25 8C10.25 8.13807 10.1381 8.25 10 8.25C9.86193 8.25 9.75 8.13807 9.75 8C9.75 7.86193 9.86193 7.75 10 7.75C10.1381 7.75 10.25 7.86193 10.25 8ZM14 8.25C13.8619 8.25 13.75 8.13807 13.75 8C13.75 7.86193 13.8619 7.75 14 7.75C14.1381 7.75 14.25 7.86193 14.25 8C14.25 8.13807 14.1381 8.25 14 8.25Z","stroke-linecap":"square"}}]}],search:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M15.8027 15.8037L21.106 21.107","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M15.8033 15.8033C12.8744 18.7322 8.12563 18.7322 5.1967 15.8033C2.26777 12.8744 2.26777 8.12563 5.1967 5.1967C8.12563 2.26777 12.8744 2.26777 15.8033 5.1967C18.7322 8.12563 18.7322 12.8744 15.8033 15.8033Z","stroke-linecap":"square"}}]}],"setting-1":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M9.40811 4.95996L10.0001 2H14.0001L14.5921 4.95996C15.4027 5.25851 16.1475 5.69306 16.7989 6.23595L19.6604 5.26796L21.6604 8.73206L19.3922 10.7254C19.4632 11.1396 19.5001 11.5655 19.5001 12C19.5001 12.4345 19.4632 12.8604 19.3922 13.2747L21.6604 15.268L19.6604 18.7321L16.7989 17.7641C16.1475 18.3069 15.4027 18.7415 14.5921 19.04L14.0001 22H10.0001L9.40811 19.04C8.5975 18.7415 7.85268 18.3069 7.20131 17.7641L4.33984 18.7321L2.33984 15.268L4.60798 13.2747C4.53705 12.8604 4.5001 12.4345 4.5001 12C4.5001 11.5655 4.53705 11.1396 4.60797 10.7254L2.33984 8.73206L4.33984 5.26796L7.20129 6.23595C7.85266 5.69306 8.59749 5.25851 9.40811 4.95996Z","fill-rule":"evenodd","stroke-linecap":"square","clip-rule":"evenodd"}},{tag:"path",attrs:{d:"M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z","stroke-linecap":"square"}}]}],"sticky-note":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M20 14H14V20M3 3H21V14L14 21H3V3Z","stroke-linecap":"square"}},{tag:"path",attrs:{d:"M7 9H17M7 13H10","stroke-linecap":"square"}}]}],sunny:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z"}},{tag:"path",attrs:{d:"M12 21V22M12 2V3M3 12H2M22 12H21M5.63603 18.3635L4.92892 19.0706M19.0711 4.92848L18.364 5.63559M5.63601 5.63563L4.9289 4.92852M19.071 19.0707L18.3639 18.3636","stroke-linecap":"square"}}]}],swap:[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M21 14.5H4L9 19.5M3 9.5L20 9.5L15 4.5","stroke-linecap":"square"}}]}],"user-1":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M19.5 20V19C19.5 16.7909 17.7091 15 15.5 15H8.5C6.29086 15 4.5 16.7909 4.5 19V20M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z","stroke-linecap":"square"}}]}],"view-list":[{tag:"g",attrs:{},children:[{tag:"path",attrs:{d:"M3 5H21M3 12H21M3 19H21","stroke-linecap":"square"}}]}]},Re=[...Be];function Mt(t){return t.map(n=>({kind:"element",tag:n.tag,attrs:n.attrs,children:n.children?Mt(n.children):[]}))}function B({ariaHidden:t=!0,id:n,mirrored:e,name:i,size:r="md",title:a}){const d=Oe[i];if(!d)throw new Error(`Unknown icon name: ${i}`);const o=b(n),s=a?.trim();if(!t&&!s)throw new Error("title must be non-empty when ariaHidden is false.");if(!t&&!o)throw new Error("id must be provided when ariaHidden is false.");const p=t?void 0:`${o}-title`,l=[];return t||l.push({kind:"element",tag:"title",attrs:{id:p},children:[{kind:"text",value:s}]}),l.push(...Mt(d)),{kind:"element",tag:"svg",attrs:{"aria-hidden":t?"true":void 0,"aria-labelledby":p,class:"set-icon","data-mirrored":e,"data-size":r,fill:"none",height:"24",id:o,role:t?void 0:"img",stroke:"currentColor","stroke-width":"1.75",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},children:l}}function At(t){return h(B(t))}const Ue={name:"icon",description:"Use `icon` to render a Set icon.",output:{element:"svg",class:"set-icon"},content:{kind:"none"},props:{ariaHidden:{default:!0,description:"Hides the icon from assistive technology. Decorative by default; set to false for a labelled icon (then `title` and `id` are required).",type:{kind:"boolean"}},id:{description:"DOM id.",requiredWhen:"`ariaHidden` is false",type:{kind:"string"}},mirrored:{description:"Mirrors the icon horizontally.",type:{kind:"enum",values:["always","rtl"]}},name:{description:"Set icon name.",required:!0,type:{kind:"iconName"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["2xs","xs","sm","md","lg","fill"]}},title:{description:"Accessible title announced by assistive technology.",requiredWhen:"`ariaHidden` is false",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"aria-hidden",condition:{kind:"when-truthy",prop:"ariaHidden"},value:{kind:"literal",text:"true"}},{target:{on:"host"},attribute:"data-mirrored",condition:{kind:"when-provided",prop:"mirrored"},value:{kind:"prop",prop:"mirrored"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"fill",condition:{kind:"always"},value:{kind:"literal",text:"none"}},{target:{on:"host"},attribute:"height",condition:{kind:"always"},value:{kind:"literal",text:"24"}},{target:{on:"host"},attribute:"role",condition:{kind:"not",of:{kind:"when-truthy",prop:"ariaHidden"}},value:{kind:"literal",text:"img"}},{target:{on:"host"},attribute:"stroke",condition:{kind:"always"},value:{kind:"literal",text:"currentColor"}},{target:{on:"host"},attribute:"stroke-width",condition:{kind:"always"},value:{kind:"literal",text:"1.75"}},{target:{on:"host"},attribute:"viewBox",condition:{kind:"always"},value:{kind:"literal",text:"0 0 24 24"}},{target:{on:"host"},attribute:"xmlns",condition:{kind:"always"},value:{kind:"literal",text:"http://www.w3.org/2000/svg"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function It({id:t,label:n,size:e="md",tone:i="default"}={}){const r=b(t),d=[{kind:"element",tag:"svg",attrs:{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 600 1200",fill:"currentColor"},children:[[60,60],[60,360],[60,660],[60,960],[360,960],[360,660],[360,360],[360,60]].map(([o,s])=>({kind:"element",tag:"rect",attrs:{class:"cell",x:String(o),y:String(s),width:"180",height:"180"},children:[]}))}];return n&&d.push({kind:"element",tag:"span",attrs:{class:"visually-hidden"},children:[{kind:"text",value:n}]}),{kind:"element",tag:"span",attrs:{class:"set-spinner","data-size":e,"data-tone":i==="brand"?"brand":void 0,id:r,role:n?"status":void 0},children:d}}function ct(t={}){return h(It(t))}const We={name:"spinner",description:"Use `spinner` to indicate loading or in-progress state.",output:{element:"span",class:"set-spinner"},content:{kind:"text",prop:"label"},props:{id:{description:"DOM id.",type:{kind:"string"}},label:{description:"Accessible status label announced to assistive tech.",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["2xs","xs","sm","md","lg","xl","2xl","fill"]}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","brand"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-equals",prop:"tone",to:"brand"},value:{kind:"literal",text:"brand"}},{target:{on:"host"},attribute:"role",condition:{kind:"when-non-empty",prop:"label"},value:{kind:"literal",text:"status"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},Ge={sm:"xs",md:"sm",lg:"md"};function qt(t){return{"aria-disabled":t==="busy"?"true":void 0,"data-activity":t||void 0}}function rt(t){const{activity:n,appearance:e="outline",controls:i,disabled:r,disclosure:a,form:d,haspopup:o,id:s,icon:p,iconMirrored:l,iconPlacement:c="start",label:m,labelVisibility:g="visible",name:y,size:v="md",tone:z="default",type:T,value:S}=t,w=p||void 0,E=!!w;if(g!=="visible"&&!E)throw new Error("labelVisibility requires icon when label is not visible.");const x=E&&w?{kind:"element",tag:"span",attrs:{class:"icon-wrapper"},children:[{kind:"raw",html:At({ariaHidden:!0,mirrored:l,name:w,size:"fill"})},...n?[{kind:"raw",html:ct({size:"fill"})}]:[]]}:null,C={kind:"element",tag:"span",attrs:{class:"label"},children:[{kind:"text",value:m}]},A=n?{kind:"element",tag:"span",attrs:{class:"status"},children:[{kind:"text",value:", busy"}]}:null,P=n&&!E?{kind:"element",tag:"span",attrs:{class:"spinner-overlay"},children:[{kind:"raw",html:ct({size:Ge[v]})}]}:null,L=x?c==="end"?[C,x]:[x,C]:P?[P,C]:[C],M=A?[...L,A]:L,V=qt(n);return{kind:"element",tag:"button",attrs:{"aria-controls":a&&i||void 0,"aria-disabled":V["aria-disabled"],"aria-expanded":a?"false":void 0,"aria-haspopup":o||void 0,class:"set-button","data-activity":V["data-activity"],"data-appearance":e,"data-label-visibility":g==="visible"?void 0:g,"data-size":v,"data-tone":z==="neutral"?"neutral":void 0,disabled:!!r,form:d||void 0,id:s||void 0,name:y||void 0,type:T||"button",value:S||void 0},children:M}}function at(t){return h(rt(t))}function Nt(t,n){const e=qt(n??void 0);for(const[i,r]of Object.entries(e))r==null?t.removeAttribute(i):t.setAttribute(i,r)}const $e={name:"button",description:"Use `button` to let users trigger actions.",output:{element:"button",class:"set-button"},content:{kind:"text",prop:"label"},props:{activity:{description:'Opts into the activity indicator and sets its state. `idle` primes it — the spinner and a hidden ", busy" status are rendered but not shown; `busy` reveals the spinner and appends ", busy" to the accessible name. The button stays visually at rest (`aria-disabled` is emitted but not styled as disabled), so guarding activation and any live-region announcement are the consumer\'s responsibility.',type:{kind:"enum",values:["idle","busy"]}},appearance:{default:"outline",description:"Visual appearance.",type:{kind:"enum",values:["outline","solid","text"]}},controls:{description:"`id` of the element this button controls.",ignoredWhen:"`disclosure` is false",type:{kind:"string"}},disabled:{default:!1,description:"Prevents interaction.",type:{kind:"boolean"}},disclosure:{default:!1,description:"Marks the button as a disclosure toggle for another element.",type:{kind:"boolean"}},form:{description:"`id` of the form this button belongs to.",type:{kind:"string"}},haspopup:{description:"Signals that activating the button opens a popup of this type.",type:{kind:"enum",values:["menu"]}},icon:{description:"Icon shown alongside the label.",requiredWhen:"`labelVisibility` is hidden or hiddenBelowTablet",type:{kind:"iconName"}},iconMirrored:{description:"Mirrors the icon horizontally.",ignoredWhen:"`icon` is omitted",type:{kind:"enum",values:["always","rtl"]}},iconPlacement:{default:"start",description:"Where the icon sits relative to the label.",ignoredWhen:"`icon` is omitted",type:{kind:"enum",values:["start","end"]}},id:{description:"`id` for the button.",type:{kind:"string"}},label:{description:"Accessible label.",required:!0,type:{kind:"text"}},labelVisibility:{default:"visible",description:"How the label is shown. Hidden values require an icon.",type:{kind:"enum",values:["visible","hidden","hiddenBelowTablet"]}},name:{description:"Name submitted with the form.",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md","lg"]}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","neutral"]}},type:{default:"button",description:"Native button type.",type:{kind:"enum",values:["button","submit"]}},value:{description:"Value submitted with the form.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}},{target:{on:"host"},attribute:"data-appearance",condition:{kind:"always"},value:{kind:"prop",prop:"appearance"}},{target:{on:"host"},attribute:"data-label-visibility",condition:{kind:"when-in",prop:"labelVisibility",values:["hidden","hiddenBelowTablet"]},value:{kind:"prop",prop:"labelVisibility"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-equals",prop:"tone",to:"neutral"},value:{kind:"literal",text:"neutral"}},{target:{on:"host"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"host"},attribute:"aria-disabled",condition:{kind:"when-equals",prop:"activity",to:"busy"},value:{kind:"literal",text:"true"}},{target:{on:"host"},attribute:"data-activity",condition:{kind:"when-provided",prop:"activity"},value:{kind:"prop",prop:"activity"}},{target:{on:"host"},attribute:"aria-expanded",condition:{kind:"when-truthy",prop:"disclosure"},value:{kind:"literal",text:"false"}},{target:{on:"host"},attribute:"aria-controls",condition:{kind:"all",of:[{kind:"when-truthy",prop:"disclosure"},{kind:"when-non-empty",prop:"controls"}]},value:{kind:"prop",prop:"controls"}},{target:{on:"host"},attribute:"aria-haspopup",condition:{kind:"when-provided",prop:"haspopup"},value:{kind:"prop",prop:"haspopup"}},{target:{on:"host"},attribute:"form",condition:{kind:"when-non-empty",prop:"form"},value:{kind:"prop",prop:"form"}},{target:{on:"host"},attribute:"name",condition:{kind:"when-non-empty",prop:"name"},value:{kind:"prop",prop:"name"}},{target:{on:"host"},attribute:"type",condition:{kind:"always"},value:{kind:"prop",prop:"type"}},{target:{on:"host"},attribute:"value",condition:{kind:"when-non-empty",prop:"value"},value:{kind:"prop",prop:"value"}}]}},W="set-alert",bt="set-alert-before-dismiss",vt="set-alert-dismiss",G="Dismiss alert";function Fe(t,n){const e=n.createElement("div");return e.setAttribute("data-part","close"),e.innerHTML=at({appearance:"text",icon:"close",label:t,labelVisibility:"hidden",size:"sm",tone:"neutral"}),e}function Ze(t){switch(t){case"success":return"check-circle";case"warning":return"error-triangle";case"error":return"error-circle";case"info":return"info-circle";default:return"sticky-note"}}function je(t){return t==="warning"||t==="error"?"alert":"status"}function Pt({dismissible:t,dismissibleLabel:n=G,id:e,inlineSize:i="full",message:r,size:a="md",tone:d,title:o}){const s=b(e),p=n.trim()===""?G:n,l=[];return o&&l.push({kind:"element",tag:"p",attrs:{class:"title"},children:[{kind:"text",value:o}]}),l.push({kind:"element",tag:"p",attrs:{class:"message"},children:[{kind:"text",value:r}]}),{kind:"element",tag:W,attrs:{class:"set-alert","data-dismissible":t,"data-dismissible-label":t?p:void 0,"data-inline-size":i==="fit"?"fit":void 0,"data-size":a,"data-tone":d||void 0,id:s,role:je(d)},children:[{kind:"element",tag:"div",attrs:{class:"icon-wrapper"},children:[B({ariaHidden:!0,name:Ze(d),size:a})]},{kind:"element",tag:"div",attrs:{class:"content"},children:l}]}}function Ke(t){return h(Pt(t))}function Dt(){if(customElements.get(W))return;class t extends HTMLElement{#t=e=>{const i=e.target;if(!(i instanceof Element)||!i.closest('[data-part="close"]'))return;const r=new CustomEvent(bt,{bubbles:!0,cancelable:!0});this.dispatchEvent(r)&&(this.dispatchEvent(new CustomEvent(vt,{bubbles:!0})),this.remove())};connectedCallback(){this.removeEventListener("click",this.#t),this.hasAttribute("data-dismissible")&&(this.#e(),this.addEventListener("click",this.#t))}disconnectedCallback(){this.removeEventListener("click",this.#t)}#e(){this.querySelector('[data-part="close"]')||this.append(Fe(this.getAttribute("data-dismissible-label")??G,this.ownerDocument))}}customElements.define(W,t)}const Xe={name:"alert",description:"Use `alert` to surface short, important messages.",output:{element:W,class:"set-alert"},content:{kind:"slots",slots:[{prop:"title",kind:"text"},{prop:"message",kind:"text"}]},props:{dismissible:{default:!1,description:"Shows a dismiss control that removes the alert.",type:{kind:"boolean"}},dismissibleLabel:{default:G,description:"Accessible label for the dismiss control.",ignoredWhen:"`dismissible` is false",type:{kind:"string"}},id:{description:"DOM id.",type:{kind:"string"}},inlineSize:{default:"full",description:"Whether the alert fills its container or shrinks to fit.",type:{kind:"enum",values:["full","fit"]}},message:{description:"Body text of the alert.",required:!0,type:{kind:"text"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},title:{description:"Bold text above the message.",type:{kind:"text"}},tone:{description:"Semantic tone.",type:{kind:"enum",values:["info","success","warning","error"]}}},events:{[bt]:{bubbles:!0,cancelable:!0,description:"Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."},[vt]:{bubbles:!0,description:"Fired after the alert has been removed by an allowed dismiss action."}},rules:{attributes:[{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-provided",prop:"tone"},value:{kind:"prop",prop:"tone"}},{target:{on:"host"},attribute:"role",condition:{kind:"when-in",prop:"tone",values:["warning","error"]},value:{kind:"literal",text:"alert"}},{target:{on:"host"},attribute:"role",condition:{kind:"not",of:{kind:"when-in",prop:"tone",values:["warning","error"]}},value:{kind:"literal",text:"status"}},{target:{on:"host"},attribute:"data-dismissible",condition:{kind:"when-truthy",prop:"dismissible"}},{target:{on:"host"},attribute:"data-dismissible-label",condition:{kind:"all",of:[{kind:"when-truthy",prop:"dismissible"},{kind:"when-non-empty",prop:"dismissibleLabel"}]},value:{kind:"prop",prop:"dismissibleLabel"}},{target:{on:"host"},attribute:"data-dismissible-label",condition:{kind:"all",of:[{kind:"when-truthy",prop:"dismissible"},{kind:"not",of:{kind:"when-non-empty",prop:"dismissibleLabel"}}]},value:{kind:"literal",text:G}},{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Qe(t){if(t)return t===!0?!0:t}function ft(t){const{appearance:n="text",current:e,download:i,href:r,id:a,icon:d,iconPlacement:o="start",label:s,labelVisibility:p="visible",rel:l,size:c="md",target:m,tone:g="default",underline:y}=t,v=b(a),z=d?.trim()||void 0;if(p!=="visible"&&!!!z)throw new Error("labelVisibility requires icon when label is not visible.");const S=Qe(i),w=z?{kind:"element",tag:"span",attrs:{class:"icon-wrapper"},children:[{kind:"raw",html:z}]}:null,E={kind:"element",tag:"span",attrs:{class:"label"},children:[{kind:"text",value:s}]};return{kind:"element",tag:"a",attrs:{"aria-current":e,class:"set-link","data-appearance":n==="text"?void 0:n,"data-label-visibility":p==="visible"?void 0:p,"data-size":c,"data-tone":g==="neutral"?"neutral":void 0,"data-underline":y&&n==="text"?!0:void 0,download:S,href:r,id:v,rel:S?void 0:l||void 0,target:S?void 0:m||void 0},children:w?o==="end"?[E,w]:[w,E]:[E]}}function Ye(t){return h(ft(t))}const Je={name:"link",description:"Use `link` to navigate to another page or resource.",output:{element:"a",class:"set-link"},content:{kind:"slots",slots:[{prop:"label",kind:"text"},{prop:"icon",kind:"html"}]},props:{appearance:{default:"text",description:"Visual appearance. `text` is a standard link; `outline` and `solid` give button-styled treatments. ",type:{kind:"enum",values:["outline","solid","text"]}},current:{description:"Marks the link as the current item in its set; emits `aria-current` with this value.",type:{kind:"enum",values:["page","true"]}},download:{description:"Saves the target instead of navigating. Pass a filename or `true`.",type:{kind:"union",variants:[{kind:"boolean"},{kind:"string"}]}},href:{description:"Link destination.",required:!0,type:{kind:"string"}},id:{description:"DOM id.",type:{kind:"string"}},icon:{description:"Icon markup shown alongside the label. Set icon component, or SVG markup from https://simpleicons.org/ for third-party logos.",requiredWhen:"`labelVisibility` is hidden or hiddenBelowTablet",type:{kind:"html"}},iconPlacement:{default:"start",description:"Where the icon sits relative to the label.",ignoredWhen:"`icon` is omitted",type:{kind:"enum",values:["start","end"]}},label:{description:"Accessible label.",required:!0,type:{kind:"text"}},labelVisibility:{default:"visible",description:"How the label is shown. Hidden values require an icon.",type:{kind:"enum",values:["visible","hidden","hiddenBelowTablet"]}},rel:{description:"Explicit `rel` attribute.",ignoredWhen:"`download` is set",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md","lg"]}},target:{description:"Where to open the link.",ignoredWhen:"`download` is set",type:{kind:"enum",values:["_blank","_parent","_self","_top"]}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","neutral"]}},underline:{default:!1,description:"Underlines the link.",ignoredWhen:"`appearance` is not `text`",type:{kind:"boolean"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"href",condition:{kind:"always"},value:{kind:"prop",prop:"href"}},{target:{on:"host"},attribute:"aria-current",condition:{kind:"when-provided",prop:"current"},value:{kind:"prop",prop:"current"}},{target:{on:"host"},attribute:"download",condition:{kind:"when-truthy",prop:"download"},value:{kind:"prop",prop:"download"}},{target:{on:"host"},attribute:"rel",condition:{kind:"all",of:[{kind:"when-non-empty",prop:"rel"},{kind:"not",of:{kind:"when-truthy",prop:"download"}}]},value:{kind:"prop",prop:"rel"}},{target:{on:"host"},attribute:"target",condition:{kind:"all",of:[{kind:"when-provided",prop:"target"},{kind:"not",of:{kind:"when-truthy",prop:"download"}}]},value:{kind:"prop",prop:"target"}},{target:{on:"host"},attribute:"data-appearance",condition:{kind:"when-in",prop:"appearance",values:["outline","solid"]},value:{kind:"prop",prop:"appearance"}},{target:{on:"host"},attribute:"data-label-visibility",condition:{kind:"when-in",prop:"labelVisibility",values:["hidden","hiddenBelowTablet"]},value:{kind:"prop",prop:"labelVisibility"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-equals",prop:"tone",to:"neutral"},value:{kind:"literal",text:"neutral"}},{target:{on:"host"},attribute:"data-underline",condition:{kind:"all",of:[{kind:"when-truthy",prop:"underline"},{kind:"when-equals",prop:"appearance",to:"text"}]}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},$="set-banner",yt="set-banner-before-dismiss",wt="set-banner-dismiss",nt="Dismiss banner";function ti(t,n){const e=n.createElement("div");return e.setAttribute("data-part","close"),e.innerHTML=at({appearance:"text",icon:"close",label:t,labelVisibility:"hidden",size:"sm",tone:"neutral"}),e}function Vt({actionHref:t,actionLabel:n,dismissible:e=!0,dismissibleLabel:i=nt,id:r,message:a,tone:d}){if(!!t!=!!n)throw new Error("actionHref and actionLabel must be provided together.");const o=b(r),s=i.trim()===""?nt:i,p=[{kind:"text",value:a}];return t&&n&&(p.push({kind:"text",value:" "}),p.push(ft({href:t,label:n,underline:!0}))),{kind:"element",tag:$,attrs:{class:"set-banner","data-set-content-theme":"dark","data-set-surface":"default","data-dismissible":e,"data-dismissible-label":e?s:void 0,"data-tone":d||void 0,id:o},children:[{kind:"element",tag:"p",attrs:{class:"message"},children:p}]}}function ei(t){return h(Vt(t))}function Ht(){if(customElements.get($))return;class t extends HTMLElement{#t=e=>{const i=e.target;if(!(i instanceof Element)||!i.closest('[data-part="close"]'))return;const r=new CustomEvent(yt,{bubbles:!0,cancelable:!0});this.dispatchEvent(r)&&(this.dispatchEvent(new CustomEvent(wt,{bubbles:!0})),this.remove())};connectedCallback(){this.removeEventListener("click",this.#t),this.hasAttribute("data-dismissible")&&(this.#e(),this.addEventListener("click",this.#t))}disconnectedCallback(){this.removeEventListener("click",this.#t)}#e(){this.querySelector('[data-part="close"]')||this.append(ti(this.getAttribute("data-dismissible-label")??nt,this.ownerDocument))}}customElements.define($,t)}const ii={name:"banner",description:"Use `banner` to display a prominent site-wide message.",output:{element:$,class:"set-banner"},content:{kind:"text",prop:"message"},props:{actionHref:{description:"URL for an inline link action rendered after the `message`.",requiredWhen:"`actionLabel` is provided",type:{kind:"string"}},actionLabel:{description:"Text label for an inline link action rendered after the `message`.",requiredWhen:"`actionHref` is provided",type:{kind:"text"}},dismissible:{default:!0,description:"Shows a dismiss control that removes the banner.",type:{kind:"boolean"}},dismissibleLabel:{default:nt,description:"Accessible label for the dismiss control.",ignoredWhen:"`dismissible` is false",type:{kind:"string"}},id:{description:"DOM id.",type:{kind:"string"}},message:{description:"Body text of the banner.",required:!0,type:{kind:"text"}},tone:{description:"Semantic tone.",type:{kind:"enum",values:["info","warning","error"]}}},events:{[yt]:{bubbles:!0,cancelable:!0,description:"Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."},[wt]:{bubbles:!0,description:"Fired after the banner has been removed by an allowed dismiss action."}},rules:{attributes:[{target:{on:"host"},attribute:"data-set-content-theme",condition:{kind:"always"},value:{kind:"literal",text:"dark"}},{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"always"},value:{kind:"literal",text:"default"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-provided",prop:"tone"},value:{kind:"prop",prop:"tone"}},{target:{on:"host"},attribute:"data-dismissible",condition:{kind:"when-truthy",prop:"dismissible"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},F="set-image";function Bt({adaptive:t,alt:n="",aspectRatio:e,fit:i="intrinsic",gravity:r="C",height:a,id:d,lazy:o,leadSrc:s,priority:p,radius:l,shadow:c,sizes:m,sources:g,src:y,srcSet:v,stillSrc:z,width:T}){const S=i==="cover",w=b(d),E=y.trim(),x=v?.trim(),C=s?.trim(),A=z?.trim(),P=m?.trim(),L=g?.map((u,_)=>{const I=u.srcSet.trim(),f=u.media?.trim(),k=u.type?.trim(),Ne=u.sizes?.trim(),Pe=u.leadSrc?.trim(),De=u.stillSrc?.trim();if(!I)throw new Error(`sources[${_}].srcSet must be non-empty.`);return{height:u.height,leadSrc:Pe||void 0,media:f||void 0,sizes:Ne||void 0,srcSet:I,stillSrc:De||void 0,type:k||void 0,width:u.width}})||[];if(!E)throw new Error("src must be a non-empty string.");if(t&&[E,x,...L.map(u=>u.srcSet)].some(u=>u?.includes("#")))throw new Error("adaptive sources must not contain URL fragments.");const M=!!A,V=!!(M&&t),ot=!!(M&&C),tt=!!C||L.some(u=>u.leadSrc);if(!M&&tt)throw new Error("leadSrc requires a stillSrc.");if(!M&&L.some(u=>u.stillSrc))throw new Error("sources stillSrc requires a top-level stillSrc.");if(M){const u=[E,x,C,...L.flatMap(f=>[f.srcSet,f.leadSrc])].filter(f=>!!f),_=u.filter(f=>f.includes("{scheme}"));if(t&&_.length!==u.length)throw new Error("adaptive animated sources must contain a {scheme} placeholder.");if(!t&&_.length>0)throw new Error("the {scheme} placeholder requires adaptive to enable light/dark.");if([A,...L.map(f=>f.stillSrc)].filter(f=>!!f).some(f=>f.includes("#")))throw new Error("stillSrc must not contain URL fragments.")}const zt=(u,_)=>u.split(/,\s+/).map(I=>{const[f,...k]=I.trim().split(/\s+/);if(!f||k.length>1)throw new Error("adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace.");return[`${f}#${_}`,...k].join(" ")}).join(", "),dt=u=>{const _={kind:"element",tag:"img",attrs:{alt:n,class:"img","data-scheme":u&&L.length===0?u:void 0,fetchpriority:p?"high":void 0,height:S?void 0:a?String(a):void 0,loading:o&&!p?"lazy":void 0,sizes:L.length>0?void 0:P||void 0,src:u?`${E}#${u}`:E,srcset:x&&u?zt(x,u):x||void 0,width:S?void 0:T?String(T):void 0},children:[]};if(L.length===0)return _;const I=L.map(f=>({kind:"element",tag:"source",attrs:{height:f.height?String(f.height):void 0,media:f.media,sizes:f.sizes,srcset:u?zt(f.srcSet,u):f.srcSet,type:f.type,width:f.width?String(f.width):void 0},children:[]}));return{kind:"element",tag:"picture",attrs:{"data-scheme":u},children:[...I,_]}},st="(prefers-reduced-motion: reduce)",U=(u,_)=>_?u.replaceAll("{scheme}",_):u,lt=(u,_)=>_?`${u}#${_}`:u,Ct=u=>{const _=L.filter(k=>k.stillSrc).map(k=>({kind:"element",tag:"source",attrs:{height:k.height?String(k.height):void 0,media:k.media?`${st} and ${k.media}`:st,srcset:lt(k.stillSrc,u),width:k.width?String(k.width):void 0},children:[]}));_.push({kind:"element",tag:"source",attrs:{media:st,srcset:lt(A,u)},children:[]});const I=L.map(k=>({kind:"element",tag:"source",attrs:{height:k.height?String(k.height):void 0,media:k.media,sizes:k.sizes,srcset:U(k.srcSet,u),type:k.type,width:k.width?String(k.width):void 0},children:[]})),f={kind:"element",tag:"img",attrs:{alt:n,class:"img",fetchpriority:p?"high":void 0,height:S?void 0:a?String(a):void 0,loading:o&&!p?"lazy":void 0,sizes:L.length>0?void 0:P||void 0,src:U(E,u),srcset:x?U(x,u):void 0,width:S?void 0:T?String(T):void 0},children:[]};return{kind:"element",tag:"picture",attrs:{"data-scheme":u},children:[..._,...I,f]}},Ie=u=>{const _="(prefers-reduced-motion: no-preference)",I=L.map(k=>{if(k.leadSrc)return{kind:"element",tag:"source",attrs:{height:k.height?String(k.height):void 0,media:k.media?`${_} and ${k.media}`:_,sizes:k.sizes,srcset:U(k.leadSrc,u),type:k.type,width:k.width?String(k.width):void 0},children:[]}}).filter(k=>!!k);I.push({kind:"element",tag:"source",attrs:{media:_,sizes:L.length>0?void 0:P||void 0,srcset:U(C,u)},children:[]});const f={kind:"element",tag:"img",attrs:{alt:"",class:"img",height:S?void 0:a?String(a):void 0,src:lt(A,u),width:S?void 0:T?String(T):void 0},children:[]};return{kind:"element",tag:"picture",attrs:{"data-scheme":u,"data-layer":"lead"},children:[...I,f]}},pt=u=>ot?[Ct(u),Ie(u)]:[Ct(u)],qe=M?V?[...pt("light"),...pt("dark")]:pt():t?[dt("light"),dt("dark")]:[dt()],et=[];return a&&et.push(`--set-image-block-size: ${a/16}rem`),T&&et.push(`--set-image-inline-size: ${T/16}rem`),{kind:"element",tag:F,attrs:{class:"set-image","data-adaptive":!!t,"data-animated":!!M,"data-sequenced":ot,"data-aspect-ratio":S&&!a?e:void 0,"data-fluid":i==="fluid","data-gravity":S&&r!=="C"?r:void 0,"data-shadow":!!c,"data-object-fit":S?"cover":void 0,"data-radius":!!l,id:w,style:et.length>0?et.join("; "):void 0},children:qe}}function Ot(t){return h(Bt(t))}function Rt(){if(customElements.get(F))return;const t="(prefers-reduced-motion: reduce)";class n extends HTMLElement{connectedCallback(){const i=this.querySelectorAll('[data-layer="lead"]');if(!(i.length===0||this.ownerDocument.defaultView?.matchMedia?.(t).matches))for(const a of i)this.#t(a)}#t(i){const r=i.querySelector("img");if(!r)return;const a=()=>{i.setAttribute("data-sequencing","")};r.complete&&r.naturalWidth>0?a():(r.addEventListener("load",a,{once:!0}),r.addEventListener("error",a,{once:!0}))}}customElements.define(F,n)}const ni={name:"image",description:"Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",output:{element:F,class:"set-image"},content:{kind:"none"},props:{adaptive:{default:!1,description:"Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL. With an animated image (opted in by `stillSrc`), it pairs light/dark webp instead, via a `{scheme}` placeholder in the URLs.",type:{kind:"boolean"}},alt:{default:"",description:"Alternative text. Leave empty for decorative images.",type:{kind:"string"}},gravity:{default:"C",description:"Focal point used when cropping.",ignoredWhen:'`fit` is not `"cover"`',type:{kind:"enum",values:["N","NE","E","SE","S","SW","W","NW","C"]}},radius:{default:!1,description:"Applies the default corner radius.",type:{kind:"boolean"}},aspectRatio:{description:"Aspect ratio applied to the wrapper.",ignoredWhen:'`fit` is not `"cover"`, or `height` is set',type:{kind:"enum",values:["1:1","4:5","3:2","16:9","21:9"]}},fit:{default:"intrinsic",description:"Layout mode. `intrinsic` renders at the image's own dimensions, `fluid` scales to the container's full inline size at the active source's aspect ratio, `cover` renders a cropped fill (`object-fit: cover`) sized by the wrapper. For `fluid`, provide candidates sized for large viewports via `srcSet`/`sources` so upscaled rendering stays sharp.",type:{kind:"enum",values:["intrinsic","fluid","cover"]}},shadow:{default:!1,description:"Applies a drop shadow to the image.",type:{kind:"boolean"}},height:{description:"Height in pixels. Under `intrinsic` and `fluid`, an aspect-ratio hint — with `width`, reserves the correctly shaped box before load; rendered height follows the aspect ratio. Under `cover`, the wrapper's block size, overriding `aspectRatio`.",type:{kind:"number"}},id:{description:"DOM id.",type:{kind:"string"}},lazy:{default:!1,description:"Defers loading until the image is near the viewport.",type:{kind:"boolean"}},priority:{default:!1,description:"Marks the image as high priority for fetch.",type:{kind:"boolean"}},sizes:{description:"`sizes` attribute used with `srcSet`.",ignoredWhen:"`sources` are provided",type:{kind:"string"}},sources:{description:"Responsive sources rendered inside a `<picture>`.",type:{kind:"array",itemShape:{height:{description:"Intrinsic height in pixels.",type:{kind:"number"}},media:{description:"`media` condition evaluated for the source.",type:{kind:"string"}},sizes:{description:"`sizes` attribute for the source.",type:{kind:"string"}},srcSet:{description:"Candidate sources for this media entry.",required:!0,type:{kind:"string"}},leadSrc:{description:"Intro overlay for this source in an animated sequence.",type:{kind:"string"}},stillSrc:{description:"Reduced-motion still for this source's animated asset. For a light/dark still, use an adaptive SVG.",type:{kind:"string"}},type:{description:"MIME type for the source resources.",type:{kind:"string"}},width:{description:"Intrinsic width in pixels.",type:{kind:"number"}}}}},srcSet:{description:"Candidate sources for the fallback image.",type:{kind:"string"}},leadSrc:{description:"An intro overlay that sequences an animated image (requires `stillSrc`): `leadSrc` plays once, then the component reveals `src` after a fixed hold. Follows the same `{scheme}` rules as animated sources (see `stillSrc`).",type:{kind:"string"}},stillSrc:{description:"Reduced-motion still; providing it marks the image as animated (e.g. an animated `webp` in `src`). The still is shown when the user prefers reduced motion. Any image works; for a light/dark still use an adaptive SVG exported from Screen, which the component selects with `#light`/`#dark` when combined with `adaptive`. With `adaptive`, the animated `src`/`srcSet`/`sources` URLs carry no Cloudinary version and a `{scheme}` placeholder — matching Screen's animated exports — which the component substitutes across a light/dark pair; without it, a single unthemed animated asset renders. Add a `leadSrc` to sequence: it plays once as an overlay, then reveals `src` after a fixed hold.",type:{kind:"string"}},src:{description:"Image source URL.",required:!0,type:{kind:"string"}},width:{description:"Width in pixels. Under `intrinsic`, the rendered width, capped at the container; under `fluid`, an aspect-ratio hint; under `cover`, the wrapper's inline size (`aspectRatio` still derives the block size while `height` is unset).",type:{kind:"number"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-adaptive",condition:{kind:"when-truthy",prop:"adaptive"}},{target:{on:"host"},attribute:"data-animated",condition:{kind:"when-non-empty",prop:"stillSrc"}},{target:{on:"host"},attribute:"data-sequenced",condition:{kind:"when-non-empty",prop:"leadSrc"}},{target:{on:"host"},attribute:"data-object-fit",condition:{kind:"when-equals",prop:"fit",to:"cover"},value:{kind:"literal",text:"cover"}},{target:{on:"host"},attribute:"data-shadow",condition:{kind:"when-truthy",prop:"shadow"}},{target:{on:"host"},attribute:"data-radius",condition:{kind:"when-truthy",prop:"radius"}},{target:{on:"host"},attribute:"data-fluid",condition:{kind:"when-equals",prop:"fit",to:"fluid"}},{target:{on:"descendant",selector:"img"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"img"}},{target:{on:"descendant",selector:"img"},attribute:"alt",condition:{kind:"always"},value:{kind:"prop",prop:"alt"}},{target:{on:"descendant",selector:"img"},attribute:"src",condition:{kind:"always"},value:{kind:"template",pattern:"{src}"}},{target:{on:"descendant",selector:"img"},attribute:"srcset",condition:{kind:"when-non-empty",prop:"srcSet"},value:{kind:"prop",prop:"srcSet"}},{target:{on:"descendant",selector:"img"},attribute:"fetchpriority",condition:{kind:"when-truthy",prop:"priority"},value:{kind:"literal",text:"high"}},{target:{on:"descendant",selector:"img"},attribute:"loading",condition:{kind:"all",of:[{kind:"when-truthy",prop:"lazy"},{kind:"not",of:{kind:"when-truthy",prop:"priority"}}]},value:{kind:"literal",text:"lazy"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},Z="set-lightswitch",St="set-lightswitch-change",it="set-theme",ut="Switch to dark theme",ht="Switch to light theme";function ri(t){return t==="dark"?"light":"dark"}function ai(t){return t==="dark"?"moon":"sunny"}function _t(t,n){return{kind:"element",tag:"span",attrs:{class:"option","data-option":t},children:[{kind:"element",tag:"span",attrs:{class:"icon-wrapper"},children:[B({ariaHidden:!0,name:ai(t),size:"fill"})]},{kind:"element",tag:"span",attrs:{class:"label"},children:[{kind:"text",value:n}]}]}}function Ut({appearance:t="text",id:n,labelDark:e=ut,labelLight:i=ht,size:r="md"}){const a=b(n),d=e.trim()===""?ut:e,o=i.trim()===""?ht:i;return{kind:"element",tag:Z,attrs:{class:"set-lightswitch",id:a},children:[{kind:"element",tag:"button",attrs:{class:"toggle","data-appearance":t,"data-size":r,type:"button"},children:[_t("dark",d),_t("light",o)]}]}}function oi(t){return h(Ut(t))}function Wt(){if(customElements.get(Z))return;class t extends HTMLElement{#t=e=>{const i=e.target;if(!(i instanceof Element)||!i.closest("button"))return;const r=ri(this.#u());r===this.#a()?this.#r():this.#n(r),this.#o(),this.dispatchEvent(new CustomEvent(St,{bubbles:!0,detail:{stored:!!this.#i(),theme:r}}))};connectedCallback(){this.removeEventListener("click",this.#t),this.addEventListener("click",this.#t),this.#i()&&this.#o()}disconnectedCallback(){this.removeEventListener("click",this.#t)}#e(){try{return this.ownerDocument.defaultView?.localStorage}catch{return}}#i(){try{const e=this.#e()?.getItem(it);return e==="light"||e==="dark"?e:void 0}catch{return}}#n(e){try{this.#e()?.setItem(it,e)}catch{}}#r(){try{this.#e()?.removeItem(it)}catch{}}#a(){const e=this.ownerDocument.defaultView;return!e||typeof e.matchMedia!="function"?"light":e.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}#c(){return this.closest(".set")}#s(){const e=this.#c()?.getAttribute("data-set-theme");return e==="light"||e==="dark"?e:void 0}#u(){return this.#i()??this.#s()??this.#a()}#o(){const e=this.#c();if(!e)return;const i=this.#i();i?e.setAttribute("data-set-theme",i):e.removeAttribute("data-set-theme")}}customElements.define(Z,t)}const di={name:"lightswitch",description:"Use `lightswitch` to let users toggle between light and dark themes.",output:{element:Z,class:"set-lightswitch"},content:{kind:"none"},props:{appearance:{default:"text",description:"Visual appearance of the toggle button.",type:{kind:"enum",values:["outline","solid","text"]}},id:{description:"DOM id.",type:{kind:"string"}},labelDark:{default:ut,description:"Accessible label of the switch-to-dark action.",type:{kind:"string"}},labelLight:{default:ht,description:"Accessible label of the switch-to-light action.",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md","lg"]}}},events:{[St]:{bubbles:!0,description:"Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."}},rules:{attributes:[{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}},{target:{on:"descendant",selector:"button"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"toggle"}},{target:{on:"descendant",selector:"button"},attribute:"data-appearance",condition:{kind:"always"},value:{kind:"prop",prop:"appearance"}},{target:{on:"descendant",selector:"button"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"descendant",selector:"button"},attribute:"type",condition:{kind:"always"},value:{kind:"literal",text:"button"}}]}},j="set-menu",Et="set-menu-choose";function Gt({align:t="start",id:n,items:e,size:i="md",triggerActivity:r,triggerIcon:a,triggerIconMirrored:d,triggerIconPlacement:o,triggerLabel:s,triggerLabelVisibility:p}){const l=n.trim();if(!l)throw new Error("id must be a non-empty string.");if(!D(l))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");if(!Array.isArray(e))throw new Error("items must be an array.");const c=`${l}-button`,m=`${l}-popup`,g=e.map(y=>({kind:"element",tag:"button",attrs:{"aria-disabled":y.disabled?"true":void 0,"data-item-id":y.id||void 0,role:"menuitem",tabindex:"-1",type:"button"},children:[{kind:"text",value:y.label}]}));return{kind:"element",tag:j,attrs:{class:"set-menu","data-align":t==="start"?void 0:t,"data-size":i,id:l},children:[{kind:"element",tag:"div",attrs:{"data-part":"trigger"},children:[rt({activity:r,appearance:"outline",controls:m,disclosure:!0,haspopup:"menu",icon:a,iconMirrored:d,iconPlacement:o,id:c,label:s,labelVisibility:p,size:i,tone:"neutral",type:"button"})]},{kind:"element",tag:"div",attrs:{"aria-labelledby":c,class:"popup",hidden:!0,id:m,role:"menu"},children:g}]}}function si(t){return h(Gt(t))}function $t(){if(customElements.get(j))return;class t extends HTMLElement{#t;#e;#i;#n;get triggerActivity(){return this.#r()?.getAttribute("data-activity")}set triggerActivity(e){const i=this.#r();i&&Nt(i,e)}connectedCallback(){this.#p(),this.#d(!1),this.#k()}disconnectedCallback(){this.#p()}#r(){return this.querySelector('[data-part="trigger"] .set-button')}#a(){return this.querySelector('[role="menu"]')}#c(){return Array.from(this.querySelectorAll('[role="menuitem"]'))}#s(e){return e.getAttribute("aria-disabled")==="true"}#u(){return this.hasAttribute("data-open")}#o(e){const i=this.#c();if(i.length===0)return;const r=(e%i.length+i.length)%i.length;i[r]?.focus()}#l(e=0){const i=this.#a(),r=this.#r();!i||!r||(i.hidden=!1,this.setAttribute("data-open",""),r.setAttribute("aria-expanded","true"),this.#o(e))}#d(e=!1){const i=this.#a(),r=this.#r();!i||!r||(i.hidden=!0,this.removeAttribute("data-open"),r.setAttribute("aria-expanded","false"),e&&r.focus())}#h(e){const r=Array.from(this.querySelectorAll('[role="menuitem"]')).indexOf(e);this.dispatchEvent(new CustomEvent(Et,{bubbles:!0,detail:{id:e.getAttribute("data-item-id")||void 0,index:r,label:e.textContent||""}}))}#k(){this.#t=e=>{const i=e.target;if(!(i instanceof Element))return;if(i.closest('[data-part="trigger"] .set-button')){if(this.#u()){this.#d();return}this.#l(0);return}const r=i.closest('[role="menuitem"]');if(r&&this.contains(r)){this.#s(r)||(this.#h(r),this.#d(!0));return}},this.#e=e=>{const i=e.target;i instanceof Node&&this.#u()&&!this.contains(i)&&this.#d()},this.#n=e=>{const i=this.#r(),r=this.#a();if(!i||!r)return;if((e.key==="Escape"||e.key==="Esc")&&this.#u()){e.preventDefault(),this.#d(!0);return}const a=this.ownerDocument.activeElement,d=this.#c(),o=d.indexOf(a);if(a===i){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.#l(0)),e.key==="ArrowDown"&&(e.preventDefault(),this.#l(0)),e.key==="ArrowUp"&&(e.preventDefault(),this.#l(d.length-1));return}if(r.contains(a)){if(a instanceof HTMLButtonElement&&(e.key==="Enter"||e.key===" ")){e.preventDefault(),this.#s(a)||(this.#h(a),this.#d(!0));return}e.key==="ArrowDown"&&(e.preventDefault(),this.#o(o+1)),e.key==="ArrowUp"&&(e.preventDefault(),this.#o(o-1)),e.key==="Home"&&(e.preventDefault(),this.#o(0)),e.key==="End"&&(e.preventDefault(),this.#o(d.length-1)),e.key==="Tab"&&this.#d(!1)}},this.#i=e=>{const i=e.relatedTarget;if(!(i instanceof Node)){this.#d();return}this.contains(i)||this.#d()},this.addEventListener("click",this.#t),this.addEventListener("keydown",this.#n),this.addEventListener("focusout",this.#i),this.ownerDocument.addEventListener("click",this.#e)}#p(){this.#t&&this.removeEventListener("click",this.#t),this.#e&&this.ownerDocument.removeEventListener("click",this.#e),this.#n&&this.removeEventListener("keydown",this.#n),this.#i&&this.removeEventListener("focusout",this.#i),this.#t=void 0,this.#e=void 0,this.#i=void 0,this.#n=void 0}}customElements.define(j,t)}const li={name:"menu",description:"Use `menu` to show a list of actions from a trigger button.",output:{element:j,class:"set-menu"},content:{kind:"structured",prop:"items"},props:{align:{default:"start",description:"Popup alignment relative to the trigger.",type:{kind:"enum",values:["start","end"]}},id:{description:"DOM id applied to the host. Trigger and popup ids are derived as `${id}-button` and `${id}-popup`.",required:!0,type:{kind:"string"}},items:{description:"Action items listed inside the popup.",required:!0,type:{kind:"array",itemShape:{disabled:{default:!1,description:"Disables selection for this item.",type:{kind:"boolean"}},id:{description:"Optional authored identifier surfaced in the choose event payload.",type:{kind:"string"}},label:{description:"Visible item label text.",required:!0,type:{kind:"text"}}}}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},triggerActivity:{description:"Activity-indicator state for the trigger button.",type:{kind:"enum",values:["idle","busy"]}},triggerIcon:{description:"Icon name for the trigger button.",type:{kind:"iconName"}},triggerIconMirrored:{description:"Icon mirroring mode for the trigger button icon.",type:{kind:"enum",values:["always","rtl"]}},triggerIconPlacement:{default:"start",description:"Icon placement within the trigger button.",type:{kind:"enum",values:["start","end"]}},triggerLabel:{description:"Accessible and visible trigger label text.",required:!0,type:{kind:"text"}},triggerLabelVisibility:{default:"visible",description:"Trigger label visibility treatment.",type:{kind:"enum",values:["visible","hidden","hiddenBelowTablet"]}}},events:{[Et]:{bubbles:!0,description:"Fired when a menu item is activated.",detail:"{ id?: string; index: number; label: string }"}},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-align",condition:{kind:"when-equals",prop:"align",to:"end"},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:'div[data-part="trigger"] button'},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}-button"}},{target:{on:"descendant",selector:"div.popup"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}-popup"}},{target:{on:"descendant",selector:"div.popup"},attribute:"aria-labelledby",condition:{kind:"always"},value:{kind:"template",pattern:"{id}-button"}},{target:{on:"descendant",selector:"div.popup"},attribute:"role",condition:{kind:"always"},value:{kind:"literal",text:"menu"}},{target:{on:"descendant",selector:"div.popup"},attribute:"hidden",condition:{kind:"always"}}]}},mt="Menu";function Ft({controlsId:t,expanded:n,id:e,label:i=mt,size:r="md"}={}){const a=b(e),d=i.trim()===""?mt:i;return{kind:"element",tag:"button",attrs:{"aria-controls":t||void 0,"aria-expanded":n?"true":"false",class:"set-expander","data-size":r,id:a,type:"button"},children:[{kind:"element",tag:"span",attrs:{class:"expander-box"},children:[{kind:"element",tag:"span",attrs:{class:"expander-inner"},children:[]},{kind:"element",tag:"span",attrs:{class:"visually-hidden"},children:[{kind:"text",value:d}]}]}]}}function Zt(t={}){return h(Ft(t))}const pi={name:"expander",description:"Use `expander` as a toggle for disclosure regions such as menus.",output:{element:"button",class:"set-expander"},content:{kind:"text",prop:"label"},props:{controlsId:{description:"`id` of the element this toggle controls.",type:{kind:"string"}},expanded:{default:!1,description:"Whether the controlled region is expanded.",type:{kind:"boolean"}},id:{description:"DOM id.",type:{kind:"string"}},label:{default:mt,description:"Accessible label.",type:{kind:"text"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md","lg"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"type",condition:{kind:"always"},value:{kind:"literal",text:"button"}},{target:{on:"host"},attribute:"aria-expanded",condition:{kind:"always"},value:{kind:"template",pattern:"{expanded}"}},{target:{on:"host"},attribute:"aria-controls",condition:{kind:"when-non-empty",prop:"controlsId"},value:{kind:"prop",prop:"controlsId"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},K="set-nav",Tt="data-set-scroll-locked";function jt({collapsible:t,contentId:n,expanderLabel:e,expanderPosition:i="start",id:r,items:a,label:d,size:o="md"}){const s=b(r),p=e?.trim()||void 0,l=n?.trim();if(t&&!l)throw new Error("contentId must be a non-empty string when collapsible is set.");if(l&&!D(l))throw new Error("contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'.");const c=a.map(m=>({kind:"element",tag:"li",attrs:{},children:[{kind:"element",tag:"a",attrs:{"aria-current":m.current,class:"item",href:m.href},children:[{kind:"text",value:m.label}]}]}));return{kind:"element",tag:K,attrs:{class:"set-nav","data-collapsible":t,"data-expander-label":t&&p?p:void 0,"data-expander-position":t?i:void 0,"data-size":o,id:s},children:[{kind:"element",tag:"nav",attrs:{"aria-label":d||void 0,class:"nav"},children:[{kind:"element",tag:"div",attrs:{class:"content",id:l},children:[{kind:"element",tag:"ul",attrs:{class:"list"},children:c}]}]}]}}function ci(t){return h(jt(t))}function Kt(){if(customElements.get(K))return;class t extends HTMLElement{#t;#e;#i;#n;connectedCallback(){this.#d(),this.#h(),this.#c(),this.#u(),this.#o()}disconnectedCallback(){this.#s(!1),this.#d(),this.#h()}#r(){return this.hasAttribute("data-collapsible")?this.querySelector(".nav"):null}#a(){return this.querySelector('[data-part="expander"] .set-expander')}#c(){const e=this.#r();if(!e||e.querySelector('[data-part="expander"]'))return;const i=e.querySelector(".content");i&&e.insertAdjacentHTML("afterbegin",`<div data-part="expander">${Zt({controlsId:i.id||void 0,label:this.getAttribute("data-expander-label")||void 0,size:this.getAttribute("data-size")==="sm"?"md":"lg"})}</div>`)}#s(e){const i=this.#a();!i||i.getAttribute("aria-expanded")==="true"===e||(i.setAttribute("aria-expanded",e?"true":"false"),this.#l(e))}#u(){this.#t=e=>{const i=e.target;if(!(i instanceof Element)||!i.closest('[data-part="expander"] .set-expander'))return;const r=this.#a();r&&this.#s(r.getAttribute("aria-expanded")!=="true")},this.addEventListener("click",this.#t)}#o(){const e=this.#r(),i=this.ownerDocument.defaultView;if(!e||!i||(this.#i=a=>{a.key!=="Escape"&&a.key!=="Esc"||this.#s(!1)},i.addEventListener("keydown",this.#i),this.getAttribute("data-collapsible")!=="belowTablet")||typeof i.matchMedia!="function")return;const r=i.matchMedia("(min-width: 48em)");this.#e=r,this.#n=a=>{a.matches&&this.#s(!1)},r.addEventListener("change",this.#n)}#l(e){const i=this.ownerDocument.documentElement;if(i){if(e){i.setAttribute(Tt,"");return}i.removeAttribute(Tt)}}#d(){this.#t&&(this.removeEventListener("click",this.#t),this.#t=void 0)}#h(){const e=this.ownerDocument.defaultView;this.#i&&e&&e.removeEventListener("keydown",this.#i),this.#e&&this.#n&&this.#e.removeEventListener("change",this.#n),this.#i=void 0,this.#n=void 0,this.#e=void 0}}customElements.define(K,t)}const ui={name:"nav",description:"Use `nav` to render a primary navigation list.",output:{element:K,class:"set-nav"},content:{kind:"structured",prop:"items"},props:{items:{description:"Nav links shown in the list.",required:!0,type:{kind:"array",itemShape:{current:{description:"Marks the item as current; emits `aria-current` with this value.",type:{kind:"enum",values:["page","true"]}},href:{description:"Link destination.",required:!0,type:{kind:"string"}},label:{description:"Link label.",required:!0,type:{kind:"text"}}}}},label:{description:"Accessible label for the nav landmark.",type:{kind:"string"}},expanderLabel:{description:"Accessible label for the collapsible expander button.",type:{kind:"string"}},expanderPosition:{default:"start",description:"Where the expander sits within the composition.",type:{kind:"enum",values:["start","end"]}},id:{description:"DOM id.",type:{kind:"string"}},collapsible:{description:"When to collapse the nav behind an expander.",type:{kind:"enum",values:["always","belowTablet"]}},contentId:{description:"`id` for the collapsible content region.",requiredWhen:"`collapsible` is provided",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-collapsible",condition:{kind:"when-provided",prop:"collapsible"},value:{kind:"prop",prop:"collapsible"}},{target:{on:"host"},attribute:"data-expander-position",condition:{kind:"when-provided",prop:"collapsible"},value:{kind:"prop",prop:"expanderPosition"}},{target:{on:"host"},attribute:"data-expander-label",condition:{kind:"all",of:[{kind:"when-provided",prop:"collapsible"},{kind:"when-non-empty",prop:"expanderLabel"}]},value:{kind:"prop",prop:"expanderLabel"}},{target:{on:"descendant",selector:"nav"},attribute:"aria-label",condition:{kind:"when-non-empty",prop:"label"},value:{kind:"prop",prop:"label"}},{target:{on:"descendant",selector:"div.content"},attribute:"id",condition:{kind:"when-provided",prop:"contentId"},value:{kind:"prop",prop:"contentId"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},X="set-range";function Xt({description:t,disabled:n,id:e,inlineSize:i="full",label:r,max:a,min:d,name:o,size:s="md",step:p,value:l}){const c=e.trim(),m=t?.trim(),g=o?.trim();if(!c)throw new Error("id must be a non-empty string.");if(!D(c))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");const y=m?`${c}-description`:void 0,v=[{kind:"element",tag:"div",attrs:{class:"label-wrapper"},children:[{kind:"element",tag:"label",attrs:{class:"label",for:c},children:[{kind:"text",value:r}]},{kind:"element",tag:"output",attrs:{class:"output",for:c},children:l!=null?[{kind:"text",value:String(l)}]:[]}]},{kind:"element",tag:"input",attrs:{"aria-describedby":y,class:"range",disabled:!!n,id:c,max:a!=null?String(a):void 0,min:d!=null?String(d):void 0,name:g||void 0,step:p!=null?String(p):void 0,type:"range",value:l!=null?String(l):void 0},children:[]}];return m&&v.push({kind:"element",tag:"p",attrs:{class:"description",id:y},children:[{kind:"text",value:m}]}),{kind:"element",tag:X,attrs:{class:"set-range","data-inline-size":i==="fit"?"fit":void 0,"data-size":s},children:v}}function hi(t){return h(Xt(t))}function Qt(){if(customElements.get(X))return;class t extends HTMLElement{#t;#e=e=>{const i=e.target;i instanceof HTMLInputElement&&i.matches(".range")&&this.#i()};connectedCallback(){this.removeEventListener("input",this.#e),this.#r(),this.#i(),this.addEventListener("input",this.#e)}disconnectedCallback(){this.removeEventListener("input",this.#e),this.#a()}#i(){const e=this.querySelector(".range"),i=this.querySelector(".output");!e||!i||this.#n(i,e.value)}#n(e,i){const r=e.firstChild;if(r?.nodeType===Node.TEXT_NODE&&e.childNodes.length===1){r.nodeValue!==i&&(r.nodeValue=i);return}e.textContent!==i&&(e.textContent=i)}#r(){const e=this.querySelector(".range");if(!e||e===this.#t)return;this.#a();const i=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,"value");if(!i?.get||!i.set)return;const r=i.get,a=i.set,d=()=>this.#i();Object.defineProperty(e,"value",{configurable:!0,enumerable:i.enumerable,get(){return r.call(this)},set(o){a.call(this,o),d()}}),this.#t=e}#a(){this.#t&&(delete this.#t.value,this.#t=void 0)}}customElements.define(X,t)}const mi={name:"range",description:"Use `range` to let users pick a numeric value along a scale.",output:{element:X,class:"set-range"},content:{kind:"text",prop:"label"},props:{description:{description:"Helper text shown below the range.",type:{kind:"string"}},disabled:{default:!1,description:"Disables the range.",type:{kind:"boolean"}},id:{description:"`id` used to associate the input with its label.",required:!0,type:{kind:"string"}},inlineSize:{default:"full",description:"How the range fills its container.",type:{kind:"enum",values:["full","fit"]}},label:{description:"Label text.",required:!0,type:{kind:"text"}},max:{description:"Maximum value.",type:{kind:"number"}},min:{description:"Minimum value.",type:{kind:"number"}},name:{description:"Form field name.",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},step:{description:"Granularity of value changes.",type:{kind:"number"}},value:{description:"Current value.",type:{kind:"number"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"descendant",selector:"input"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"range"}},{target:{on:"descendant",selector:"input"},attribute:"type",condition:{kind:"always"},value:{kind:"literal",text:"range"}},{target:{on:"descendant",selector:"input"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:"input"},attribute:"aria-describedby",condition:{kind:"when-non-empty",prop:"description"},value:{kind:"template",pattern:"{id}-description"}},{target:{on:"descendant",selector:"input"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"descendant",selector:"input"},attribute:"min",condition:{kind:"when-provided",prop:"min"},value:{kind:"template",pattern:"{min}"}},{target:{on:"descendant",selector:"input"},attribute:"max",condition:{kind:"when-provided",prop:"max"},value:{kind:"template",pattern:"{max}"}},{target:{on:"descendant",selector:"input"},attribute:"step",condition:{kind:"when-provided",prop:"step"},value:{kind:"template",pattern:"{step}"}},{target:{on:"descendant",selector:"input"},attribute:"value",condition:{kind:"when-provided",prop:"value"},value:{kind:"template",pattern:"{value}"}},{target:{on:"descendant",selector:"input"},attribute:"name",condition:{kind:"when-non-empty",prop:"name"},value:{kind:"template",pattern:"{name}"}}]}},Q="set-sidebar",ki="(min-width: 68em)",O="Collapse sidebar",kt="Open sidebar";function gi(t,n){return`<div data-part="close">${at({appearance:"text",icon:"panel-left",iconMirrored:"rtl",label:t,labelVisibility:"hidden",size:n,tone:"neutral",type:"button"})}</div>`}function Yt({aboveNotebook:t="persistent",buttonSize:n="md",children:e,collapseLabel:i=O,footer:r,header:a,id:d,surface:o,triggerLabel:s=kt}){const p=d.trim(),l=i.trim()||O,c=s.trim()||kt;if(!p)throw new Error("id must be a non-empty string.");if(!D(p))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");const m=[{kind:"element",tag:"div",attrs:{class:"header"},children:a?[{kind:"raw",html:a}]:[]},{kind:"element",tag:"div",attrs:{class:"content"},children:e?[{kind:"raw",html:e}]:[]}];r&&m.push({kind:"element",tag:"div",attrs:{class:"footer"},children:[{kind:"raw",html:r}]});const g=`${p}-panel`;return{kind:"element",tag:Q,attrs:{class:"set-sidebar","data-above-notebook":t,"data-collapse-label":l!==O?l:void 0,"data-button-size":n,id:p},children:[{kind:"element",tag:"div",attrs:{"data-part":"trigger"},children:[rt({appearance:"text",controls:g,disclosure:!0,icon:"panel-left",iconMirrored:"rtl",label:c,labelVisibility:"hidden",size:n,tone:"neutral",type:"button"})]},{kind:"element",tag:"div",attrs:{class:"sidebar","data-set-surface":o,id:g,tabindex:"-1"},children:m},{kind:"element",tag:"div",attrs:{"data-part":"backdrop"},children:[]}]}}function bi(t){return h(Yt(t))}function Jt(){if(customElements.get(Q))return;class t extends HTMLElement{#t;#e;#i;#n;connectedCallback(){this.#v(),this.#l(),this.#g(),this.#f()}disconnectedCallback(){this.close(),this.#v()}open(){this.#b(!0)}close(){this.#b(!1)}#r(){return this.querySelector(".sidebar")}#a(){return this.querySelector('[data-part="close"] .set-button')}#c(){return this.querySelector('[data-part="trigger"] .set-button')}#s(){return this.hasAttribute("data-open")}#u(){return this.hasAttribute("data-collapsed")}#o(){const e=this.getAttribute("data-above-notebook");return e==="collapsible"||e==="overlay"?e:"persistent"}#l(){const e=this.#r();if(!e||e.querySelector('[data-part="close"]'))return;const i=e.querySelector(".header"),r=this.getAttribute("data-collapse-label")||O,a=this.getAttribute("data-button-size")??"md";i?.insertAdjacentHTML("beforeend",gi(r,a))}#d(){this.querySelector('[data-part="close"]')?.remove()}#h(){const e=this.#a();if(e){e.focus();return}this.#r()?.focus()}#k(){return this.#t?.matches??!1}#p({collapsed:e,open:i}){const r=this.#c();this.toggleAttribute("data-open",i),this.toggleAttribute("data-collapsed",e),r?.setAttribute("aria-expanded",i?"true":"false")}#g(){const e=this.#o();if(this.#k()){if(e==="overlay"){this.#l(),this.#p({collapsed:!1,open:!1}),this.#m(!1);return}if(e==="collapsible"){this.#l(),this.#p({collapsed:this.#u(),open:!0}),this.#m(!1);return}this.#d(),this.#p({collapsed:!1,open:!0}),this.#m(!1);return}this.#l(),this.#p({collapsed:!1,open:!1}),this.#m(!1)}#b(e){const i=this.#o();if(this.#k()){if(i==="persistent"){this.#p({collapsed:!1,open:!0}),this.#m(!1);return}if(i==="collapsible"){this.#p({collapsed:!e,open:!0}),this.#m(!1),e&&this.#h();return}}if(this.#s()!==e){if(e){this.#p({collapsed:!1,open:!0}),this.#m(!0),this.#h();return}this.#p({collapsed:!1,open:!1}),this.#m(!1),this.#c()?.focus()}}#m(e){const i=this.ownerDocument.documentElement;if(i){if(e){i.setAttribute("data-set-scroll-locked","");return}i.removeAttribute("data-set-scroll-locked")}}#f(){const e=this.ownerDocument.defaultView;e&&(typeof e.matchMedia=="function"&&(this.#t=e.matchMedia(ki),this.#n=()=>{this.#g()},this.#t.addEventListener("change",this.#n),this.#g()),this.#e=i=>{const r=i.target;if(r instanceof Element){if(r.closest('[data-part="trigger"] .set-button')){this.open();return}if(r.closest('[data-part="close"] .set-button')){if(this.#k()&&this.#o()==="collapsible"){this.#b(this.#u());return}this.close();return}r.closest('[data-part="backdrop"]')&&this.close()}},this.#i=i=>{i.key!=="Escape"&&i.key!=="Esc"||this.close()},this.addEventListener("click",this.#e),this.addEventListener("keydown",this.#i))}#v(){this.#e&&this.removeEventListener("click",this.#e),this.#i&&this.removeEventListener("keydown",this.#i),this.#t&&this.#n&&this.#t.removeEventListener("change",this.#n),this.#e=void 0,this.#i=void 0,this.#t=void 0,this.#n=void 0}}customElements.define(Q,t)}const vi={name:"sidebar",description:"Use `sidebar` for a side panel alongside main content.",output:{element:Q,class:"set-sidebar"},content:{kind:"slots",slots:[{prop:"header",kind:"html"},{prop:"children",kind:"html"},{prop:"footer",kind:"html"}]},props:{aboveNotebook:{default:"persistent",description:"Layout behaviour on wider screens.",type:{kind:"enum",values:["persistent","collapsible","overlay"]}},buttonSize:{default:"md",description:"Size of the trigger and collapse buttons.",type:{kind:"enum",values:["sm","md","lg"]}},children:{description:"Sidebar body content.",type:{kind:"html"}},collapseLabel:{default:O,description:"Accessible label for the collapse button.",type:{kind:"string"}},footer:{description:"Content rendered in the sidebar footer.",type:{kind:"html"}},header:{description:"Content rendered in the sidebar header.",type:{kind:"html"}},id:{description:"DOM id applied to the host. The inner panel id is derived as `${id}-panel` and wired to the trigger via `aria-controls`.",required:!0,type:{kind:"string"}},surface:{description:"Surface context. Applied to the inner panel.",type:{kind:"enum",values:["default","brand"]}},triggerLabel:{default:kt,description:"Accessible label for the open button.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-above-notebook",condition:{kind:"always"},value:{kind:"prop",prop:"aboveNotebook"}},{target:{on:"host"},attribute:"data-button-size",condition:{kind:"always"},value:{kind:"prop",prop:"buttonSize"}},{target:{on:"host"},attribute:"data-collapse-label",condition:{kind:"all",of:[{kind:"when-non-empty",prop:"collapseLabel"},{kind:"not",of:{kind:"when-equals",prop:"collapseLabel",to:O}}]},value:{kind:"prop",prop:"collapseLabel"}},{target:{on:"host"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:"div.sidebar"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}-panel"}},{target:{on:"descendant",selector:"div.sidebar"},attribute:"tabindex",condition:{kind:"always"},value:{kind:"literal",text:"-1"}},{target:{on:"descendant",selector:"div.sidebar"},attribute:"data-set-surface",condition:{kind:"when-provided",prop:"surface"},value:{kind:"prop",prop:"surface"}}]}},Y="set-video";function te({autoPlay:t,controls:n,fit:e="intrinsic",height:i,id:r,loop:a,muted:d,playsInline:o,poster:s,preload:p,src:l,width:c}){const m=b(r),g=l.trim(),y=s?.trim();if(!g)throw new Error("src must be a non-empty string.");const v={kind:"element",tag:"video",attrs:{autoplay:!!t,class:"video",controls:!!n,height:i?String(i):void 0,loop:!!a,muted:!!d,playsinline:!!o,poster:y||void 0,preload:p,src:g,width:c?String(c):void 0},children:[]};return{kind:"element",tag:Y,attrs:{class:"set-video","data-fluid":e==="fluid",id:m},children:[v]}}function fi(t){return h(te(t))}const yi="(prefers-reduced-motion: reduce)";function ee(){if(customElements.get(Y))return;class t extends HTMLElement{#t=!1;#e;#i;connectedCallback(){const e=this.querySelector("video");if(!e||(this.#t||=e.hasAttribute("autoplay"),!this.#t))return;const i=this.ownerDocument.defaultView;!i||typeof i.matchMedia!="function"||(this.#e=i.matchMedia(yi),this.#i=()=>{this.#n()},this.#e.addEventListener("change",this.#i),this.#n())}disconnectedCallback(){this.#e&&this.#i&&this.#e.removeEventListener("change",this.#i),this.#e=void 0,this.#i=void 0}#n(){const e=this.querySelector("video");!e||!this.#e||(this.#e.matches?(e.removeAttribute("autoplay"),e.pause()):(e.setAttribute("autoplay",""),e.paused&&e.play()?.catch?.(()=>{})))}}customElements.define(Y,t)}const wi={name:"video",description:"Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",output:{element:Y,class:"set-video"},content:{kind:"none"},props:{autoPlay:{default:!1,description:"Starts playback automatically. Browsers only honor this when `muted` is also set. Suspended when the user prefers reduced motion.",type:{kind:"boolean"}},controls:{default:!1,description:"Shows the browser's native playback controls.",type:{kind:"boolean"}},fit:{default:"intrinsic",description:"Layout mode. `intrinsic` renders at the video's own dimensions, `fluid` scales to the container's full inline size at the video's aspect ratio.",type:{kind:"enum",values:["intrinsic","fluid"]}},height:{description:"Intrinsic height in pixels. With `width`, reserves the correctly shaped box before the media loads; rendered height always follows the aspect ratio.",type:{kind:"number"}},id:{description:"DOM id.",type:{kind:"string"}},loop:{default:!1,description:"Restarts playback when the video ends.",type:{kind:"boolean"}},muted:{default:!1,description:"Starts playback silent. Required for `autoPlay` to take effect in most browsers.",type:{kind:"boolean"}},playsInline:{default:!1,description:"Plays inline instead of fullscreen on iOS. Required for `autoPlay` on iOS.",type:{kind:"boolean"}},poster:{description:"Image URL shown before playback begins.",type:{kind:"string"}},preload:{description:"Preload hint. Omitted by default, deferring to the browser.",type:{kind:"enum",values:["auto","metadata","none"]}},src:{description:"Video source URL.",required:!0,type:{kind:"string"}},width:{description:"Intrinsic width in pixels. Sets the rendered width, capped at the container; under `fluid`, an aspect-ratio hint only.",type:{kind:"number"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-fluid",condition:{kind:"when-equals",prop:"fit",to:"fluid"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}},{target:{on:"descendant",selector:"video"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"video"}},{target:{on:"descendant",selector:"video"},attribute:"src",condition:{kind:"always"},value:{kind:"template",pattern:"{src}"}},{target:{on:"descendant",selector:"video"},attribute:"autoplay",condition:{kind:"when-truthy",prop:"autoPlay"}},{target:{on:"descendant",selector:"video"},attribute:"controls",condition:{kind:"when-truthy",prop:"controls"}},{target:{on:"descendant",selector:"video"},attribute:"loop",condition:{kind:"when-truthy",prop:"loop"}},{target:{on:"descendant",selector:"video"},attribute:"muted",condition:{kind:"when-truthy",prop:"muted"}},{target:{on:"descendant",selector:"video"},attribute:"playsinline",condition:{kind:"when-truthy",prop:"playsInline"}},{target:{on:"descendant",selector:"video"},attribute:"poster",condition:{kind:"when-non-empty",prop:"poster"},value:{kind:"prop",prop:"poster"}},{target:{on:"descendant",selector:"video"},attribute:"preload",condition:{kind:"when-provided",prop:"preload"},value:{kind:"prop",prop:"preload"}}]}};function Si(t){return t?/[A-Za-z]/.test(t):!1}function Ei(t){return/^[a-z]/.test(t)}function H(t){const n=t.charAt(0);return Si(n)?n:void 0}function ie(t){const n=R(t);if(!n)return;const e=n.split(" "),i=H(e[0]);if(!i)return;const r=[i.toUpperCase()];if(e.length===1)return r[0];const a=e.slice(1).find(Ei);if(a){const o=H(a);return o?`${r[0]}${o}`:void 0}if(e.length===2){const o=H(e[1]);if(!o)return;r.push(o);const s=e[1].split("-").filter(Boolean);if(s.length===2){const p=H(s[1]);p&&r.push(p)}return r.slice(0,3).join("")}if(e.length===3){const o=H(e[1]),s=H(e[2]);return!o||!s?void 0:(r.push(o,s),r.slice(0,3).join(""))}const d=H(e.at(-1)||"");if(d)return r.push(d),r.slice(0,3).join("")}const xi={bot:"robot-1",organization:"city-6",person:"user-1",team:"member"},Lt=["01","02","03","04","05","06","07","08","09"];function zi(t){let n=5381;for(const e of t)n=n*33^e.charCodeAt(0);return n>>>0}function Ci(t){if(t==null)return;const n=R(t);if(n){if(n.length>3)throw new Error("initials must normalize to 3 characters or fewer.");if(!/^[A-Za-z]{1,3}$/.test(n))throw new Error("initials must contain only alphabetic characters.");return n}}function _i({alt:t,ariaHidden:n,name:e}){if(!n)return R(t)||R(e)||"Avatar"}function Ti({color:t,name:n}){if(t)return t;if(n){const e=zi(n)%Lt.length;return Lt[e]}return"neutral"}function ne({alt:t,ariaHidden:n,color:e,entity:i="person",id:r,initials:a,name:d,size:o="md",src:s}){const p=b(r),l=Ci(a),c=R(d),m=R(s),g=_i({alt:t,ariaHidden:n,name:c}),y=l||ie(c),v=!!m,z=Ti({color:e,name:c}),T={"aria-hidden":n?"true":void 0,"aria-label":!n&&!v?g:void 0,class:"set-avatar","data-color":z==="neutral"?void 0:z,"data-entity":i==="person"?void 0:i,"data-size":o,id:p,role:!n&&!v?"img":void 0};let S;return v?S={kind:"element",tag:"img",attrs:{alt:n?"":g||"",class:"img",src:m},children:[]}:y?S={kind:"element",tag:"span",attrs:{class:"initials"},children:[{kind:"text",value:y}]}:S={kind:"element",tag:"span",attrs:{class:"icon-wrapper"},children:[B({ariaHidden:!0,name:xi[i],size:"fill"})]},{kind:"element",tag:"span",attrs:T,children:[S]}}function Li(t){return h(ne(t))}const Mi={name:"avatar",description:"Use `avatar` to visually represent a person, team, or entity.",output:{element:"span",class:"set-avatar"},content:{kind:"none"},props:{alt:{description:"Accessible label for the avatar, overrides name.",type:{kind:"string"}},ariaHidden:{default:!1,description:"Hides the avatar from assistive technology.",type:{kind:"boolean"}},entity:{default:"person",description:"Type of subject the avatar represents.",type:{kind:"enum",values:["bot","organization","person","team"]}},color:{description:"Background color swatch. Derived from name when omitted.",type:{kind:"enum",values:["neutral","01","02","03","04","05","06","07","08","09"]}},id:{description:"DOM id.",type:{kind:"string"}},initials:{description:"Initials to display. 1–3 alphabetic characters. Overrides name-derived initials.",type:{kind:"string"}},name:{description:"Full name. Used for the label and to derive initials.",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["xs","sm","md","lg","xl"]}},src:{description:"Image source URL.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-entity",condition:{kind:"when-in",prop:"entity",values:["bot","organization","team"]},value:{kind:"prop",prop:"entity"}},{target:{on:"host"},attribute:"data-color",condition:{kind:"when-in",prop:"color",values:["01","02","03","04","05","06","07","08","09"]},value:{kind:"prop",prop:"color"}},{target:{on:"host"},attribute:"aria-hidden",condition:{kind:"when-truthy",prop:"ariaHidden"},value:{kind:"literal",text:"true"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function re({floating:t,id:n,label:e,size:i="md",tone:r}){const a=b(n);return{kind:"element",tag:"span",attrs:{class:"set-badge","data-floating":t,"data-size":i,"data-tone":r||void 0,id:a},children:[{kind:"text",value:e}]}}function Ai(t){return h(re(t))}const Ii={name:"badge",description:"Use `badge` to annotate content with a short label.",output:{element:"span",class:"set-badge"},content:{kind:"text",prop:"label"},props:{floating:{default:!1,description:"Positions the badge as a floating overlay.",type:{kind:"boolean"}},id:{description:"DOM id.",type:{kind:"string"}},label:{description:"Badge text.",required:!0,type:{kind:"text"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},tone:{description:"Semantic tone.",type:{kind:"enum",values:["notification","live","pending","success","warning","error"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-floating",condition:{kind:"when-truthy",prop:"floating"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-provided",prop:"tone"},value:{kind:"prop",prop:"tone"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function J({align:t,as:n,children:e,id:i,linkVisited:r=!0,measured:a,monospaced:d,responsive:o,size:s="md",tone:p="default"}){const l=b(i),c=n==="p"?"p":"span",m=c==="p",g=m?t??"start":void 0;return{kind:"element",tag:c,attrs:{class:"set-text","data-align":g&&g!=="start"?g:void 0,"data-link-visited":r?void 0:"off","data-measured":m?a??!0:void 0,"data-monospaced":d,"data-responsive":o,"data-size":s,"data-tone":p==="muted"?"muted":void 0,id:l},children:[{kind:"raw",html:e}]}}function qi(t){return h(J(t))}const Ni={name:"text",description:"Use `text` for inline or paragraph body copy.",output:{element:{kind:"switch",prop:"as",cases:{p:"p",span:"span"}},class:"set-text"},content:{kind:"html",prop:"children"},props:{as:{default:"span",description:"HTML element used for the text.",type:{kind:"enum",values:["p","span"]}},children:{description:"Text content. Supports inline markup such as `<em>`, `<strong>`, `<a>`, `<code>`, `<cite>`, etc.",required:!0,type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},linkVisited:{default:!0,description:"Styles visited links inside the text.",type:{kind:"boolean"}},responsive:{default:!1,description:"Scales text across breakpoints.",type:{kind:"boolean"}},align:{default:"start",description:"Text alignment.",ignoredWhen:"`as` is span",type:{kind:"enum",values:["start","center","end"]}},measured:{default:!0,description:"Caps line length for comfortable reading.",ignoredWhen:"`as` is span",type:{kind:"boolean"}},monospaced:{default:!1,description:"Applies monospaced word spacing throughout.",type:{kind:"boolean"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["xs","sm","md","lg"]}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","muted"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"all",of:[{kind:"when-equals",prop:"as",to:"p"},{kind:"when-in",prop:"align",values:["center","end"]}]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"data-link-visited",condition:{kind:"when-equals",prop:"linkVisited",to:!1},value:{kind:"literal",text:"off"}},{target:{on:"host"},attribute:"data-measured",condition:{kind:"all",of:[{kind:"when-equals",prop:"as",to:"p"},{kind:"when-truthy",prop:"measured"}]}},{target:{on:"host"},attribute:"data-monospaced",condition:{kind:"when-truthy",prop:"monospaced"}},{target:{on:"host"},attribute:"data-responsive",condition:{kind:"when-truthy",prop:"responsive"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-equals",prop:"tone",to:"muted"},value:{kind:"literal",text:"muted"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function ae({align:t="start",attribution:n,id:e,measured:i=!0,quote:r,responsive:a=!1,size:d="md"}){const o=b(e);return{kind:"element",tag:"figure",attrs:{class:"set-blockquote","data-align":t==="start"?void 0:t,id:o},children:[{kind:"element",tag:"blockquote",attrs:{class:"quote"},children:[J({align:t,as:"p",children:r,measured:i,responsive:a,size:d})]},{kind:"element",tag:"figcaption",attrs:{class:"attribution"},children:[J({as:"span",children:n,responsive:a,size:"sm"})]}]}}function Pi(t){return h(ae(t))}const Di={name:"blockquote",description:"Use `blockquote` to display a quote with attribution.",output:{element:"figure",class:"set-blockquote"},content:{kind:"slots",slots:[{prop:"quote",kind:"html"},{prop:"attribution",kind:"html"}]},props:{align:{default:"start",description:"Text alignment.",type:{kind:"enum",values:["start","center","end"]}},attribution:{description:"Attribution shown beneath the quote. Supports inline markup such as `<a>`, `<cite>`, `<em>`, etc.",required:!0,type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},measured:{default:!0,description:"Caps line length for comfortable reading.",type:{kind:"boolean"}},quote:{description:"Quote content. Supports inline markup such as `<em>`, `<strong>`, `<cite>`, etc.",required:!0,type:{kind:"html"}},responsive:{default:!1,description:"Scales type across breakpoints.",type:{kind:"boolean"}},size:{default:"md",description:"Size variant for the quote.",type:{kind:"enum",values:["md","lg"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"when-in",prop:"align",values:["center","end"]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function oe({background:t="default",border:n,children:e,id:i,paddingBlock:r="md",paddingInline:a="md",radius:d,responsive:o,surface:s}){const p=b(i);return{kind:"element",tag:"div",attrs:{class:"set-box","data-background":t==="default"?void 0:t,"data-border":n,"data-set-surface":s,"data-padding-block":r,"data-padding-inline":a,"data-radius":d,"data-responsive":o,id:p},children:e?[{kind:"raw",html:e}]:[]}}function Vi(t){return h(oe(t))}const Hi={name:"box",description:"Use `box` to inset content.",output:{element:"div",class:"set-box"},content:{kind:"html",prop:"children"},props:{background:{default:"default",description:"Background treatment.",type:{kind:"enum",values:["default","panel","transparent"]}},border:{default:!1,description:"Shows a subtle border around the box.",type:{kind:"boolean"}},children:{description:"Content rendered inside the box.",type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},paddingBlock:{default:"md",description:"Vertical padding.",type:{kind:"enum",values:["none","2xs","xs","sm","md","lg","xl","2xl"]}},paddingInline:{default:"md",description:"Horizontal padding.",type:{kind:"enum",values:["none","2xs","xs","sm","md","lg","xl","2xl"]}},radius:{description:"Corner radius.",type:{kind:"enum",values:["sm","md"]}},responsive:{default:!1,description:"Scales vertical padding across breakpoints.",type:{kind:"boolean"}},surface:{description:"Surface context.",type:{kind:"enum",values:["default","brand"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-background",condition:{kind:"when-in",prop:"background",values:["panel","transparent"]},value:{kind:"prop",prop:"background"}},{target:{on:"host"},attribute:"data-border",condition:{kind:"when-truthy",prop:"border"}},{target:{on:"host"},attribute:"data-padding-block",condition:{kind:"always"},value:{kind:"prop",prop:"paddingBlock"}},{target:{on:"host"},attribute:"data-padding-inline",condition:{kind:"always"},value:{kind:"prop",prop:"paddingInline"}},{target:{on:"host"},attribute:"data-radius",condition:{kind:"when-provided",prop:"radius"},value:{kind:"prop",prop:"radius"}},{target:{on:"host"},attribute:"data-responsive",condition:{kind:"when-truthy",prop:"responsive"}},{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"when-provided",prop:"surface"},value:{kind:"prop",prop:"surface"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function de({description:t,headingLevel:n,href:e,id:i,note:r,surface:a,title:d}){const o=b(i),s=n?`h${n}`:"div",p=e?[{kind:"element",tag:"a",attrs:{href:e},children:[{kind:"text",value:d}]}]:[{kind:"text",value:d}],l=r?[{kind:"raw",html:r}]:[];r&&e&&l.push({kind:"element",tag:"span",attrs:{class:"icon-wrapper"},children:[B({ariaHidden:!0,mirrored:"rtl",name:"arrow-right",size:"xs"})]});const c=[{kind:"element",tag:"span",attrs:{class:"dots"},children:[{kind:"element",tag:"span",attrs:{},children:[]}]},{kind:"element",tag:s,attrs:{class:"title"},children:p},{kind:"element",tag:"p",attrs:{class:"description"},children:[{kind:"raw",html:t}]}];return r&&c.push({kind:"element",tag:"p",attrs:{class:"note"},children:l}),{kind:"element",tag:"div",attrs:{class:"set-card","data-set-surface":a,id:o},children:c}}function Bi(t){return h(de(t))}const Oi={name:"card",description:"Use `card` to display a summary for a single topic.",output:{element:"div",class:"set-card"},content:{kind:"slots",slots:[{prop:"title",kind:"text"},{prop:"description",kind:"html"},{prop:"note",kind:"html"}]},props:{description:{description:"Supporting description shown below the `title`.",required:!0,type:{kind:"html"}},headingLevel:{description:"Semantic heading level for the title. Renders a `<div>` when omitted.",type:{kind:"enum",values:[1,2,3,4,5,6]}},href:{description:"Link destination for the `title`.",type:{kind:"string"}},id:{description:"DOM id.",type:{kind:"string"}},note:{description:"Short note shown beneath the `description`.",type:{kind:"html"}},surface:{description:"Surface context.",type:{kind:"enum",values:["default","brand"]}},title:{description:"Card title.",required:!0,type:{kind:"text"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"when-provided",prop:"surface"},value:{kind:"prop",prop:"surface"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function se({checked:t,description:n,disabled:e,id:i,invalid:r,label:a,name:d,required:o,size:s="md",value:p}){const l=b(i),c=n?.trim();if(c&&!l)throw new Error("id must be provided when description is provided.");const m=c?`${l}-description`:void 0,g=!!e,v=[{kind:"element",tag:"label",attrs:{class:"label"},children:[{kind:"element",tag:"input",attrs:{"aria-describedby":m,"aria-invalid":!g&&!!r?"true":void 0,checked:!!t,class:"checkbox",disabled:g,id:l,name:d||void 0,required:!!o,type:"checkbox",value:p||void 0},children:[]},{kind:"element",tag:"span",attrs:{},children:[{kind:"text",value:a}]}]}];return c&&v.push({kind:"element",tag:"p",attrs:{class:"description",id:m},children:[{kind:"text",value:c}]}),{kind:"element",tag:"div",attrs:{class:"set-checkbox","data-size":s},children:v}}function Ri(t){return h(se(t))}const Ui={name:"checkbox",description:"Use `checkbox` to let users toggle a single option on or off.",output:{element:"div",class:"set-checkbox"},content:{kind:"slots",slots:[{prop:"label",kind:"text"},{prop:"description",kind:"text"}]},props:{checked:{default:!1,description:"Whether the checkbox is checked.",type:{kind:"boolean"}},description:{description:"Helper text shown below the label.",type:{kind:"string"}},disabled:{default:!1,description:"Prevents interaction.",type:{kind:"boolean"}},id:{description:"DOM id.",requiredWhen:"`description` is provided",type:{kind:"string"}},invalid:{default:!1,description:"Marks the checkbox as invalid.",ignoredWhen:"`disabled` is true",type:{kind:"boolean"}},label:{description:"Label shown next to the checkbox.",required:!0,type:{kind:"text"}},name:{description:"Name submitted with the form.",type:{kind:"string"}},required:{default:!1,description:"Marks the checkbox as required.",type:{kind:"boolean"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},value:{description:"Value submitted with the form.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"descendant",selector:"input"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"checkbox"}},{target:{on:"descendant",selector:"input"},attribute:"type",condition:{kind:"always"},value:{kind:"literal",text:"checkbox"}},{target:{on:"descendant",selector:"input"},attribute:"checked",condition:{kind:"when-truthy",prop:"checked"}},{target:{on:"descendant",selector:"input"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"descendant",selector:"input"},attribute:"required",condition:{kind:"when-truthy",prop:"required"}},{target:{on:"descendant",selector:"input"},attribute:"name",condition:{kind:"when-non-empty",prop:"name"},value:{kind:"prop",prop:"name"}},{target:{on:"descendant",selector:"input"},attribute:"value",condition:{kind:"when-non-empty",prop:"value"},value:{kind:"prop",prop:"value"}},{target:{on:"descendant",selector:"input"},attribute:"aria-invalid",condition:{kind:"all",of:[{kind:"when-truthy",prop:"invalid"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}}]},value:{kind:"literal",text:"true"}},{target:{on:"descendant",selector:"input"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function le({children:t,gutter:n="default",id:e,maxInlineSize:i="default"}){const r=b(e);return{kind:"element",tag:"div",attrs:{class:"set-container","data-gutter":n==="default"?void 0:n,"data-max-inline-size":i==="default"?void 0:i,id:r},children:t?[{kind:"raw",html:t}]:[]}}function Wi(t){return h(le(t))}const Gi={name:"container",description:"Use `container` to wrap page-level content.",output:{element:"div",class:"set-container"},content:{kind:"html",prop:"children"},props:{children:{description:"Content rendered inside the container.",type:{kind:"html"}},gutter:{default:"default",description:"Horizontal gutter width.",type:{kind:"enum",values:["default","narrow","none"]}},id:{description:"DOM id.",type:{kind:"string"}},maxInlineSize:{default:"default",description:"Maximum content width. Effect is only visible in wider viewports.",type:{kind:"enum",values:["default","wide","none"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-max-inline-size",condition:{kind:"when-in",prop:"maxInlineSize",values:["wide","none"]},value:{kind:"prop",prop:"maxInlineSize"}},{target:{on:"host"},attribute:"data-gutter",condition:{kind:"when-in",prop:"gutter",values:["narrow","none"]},value:{kind:"prop",prop:"gutter"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function pe({children:t,id:n,open:e,summary:i,inlineSize:r="full"}){const a=b(n);return{kind:"element",tag:"details",attrs:{class:"set-details",open:e,"data-inline-size":r==="fit"?"fit":void 0,id:a},children:[{kind:"element",tag:"summary",attrs:{class:"summary"},children:[{kind:"element",tag:"span",attrs:{class:"marker"},children:[B({ariaHidden:!0,name:"chevron-right",size:"sm"})]},{kind:"element",tag:"span",attrs:{},children:[{kind:"text",value:i}]}]},{kind:"element",tag:"div",attrs:{class:"content"},children:t?[{kind:"raw",html:t}]:[]}]}}function $i(t){return h(pe(t))}const Fi={name:"details",description:"Use `details` to let users expand and collapse a section of content.",output:{element:"details",class:"set-details"},content:{kind:"slots",slots:[{prop:"summary",kind:"text"},{prop:"children",kind:"html"}]},props:{children:{description:"Content revealed when the details is open.",type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},inlineSize:{default:"full",description:"Whether the details fills its container or shrinks to fit.",type:{kind:"enum",values:["full","fit"]}},open:{default:!1,description:"Opens the details by default.",type:{kind:"boolean"}},summary:{description:"Summary shown in the toggle.",required:!0,type:{kind:"text"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"host"},attribute:"open",condition:{kind:"when-truthy",prop:"open"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function ce({id:t,orientation:n="horizontal",tone:e="default"}={}){const i=b(t);return{kind:"element",tag:n==="horizontal"?"hr":"span",attrs:{"aria-orientation":n==="vertical"?"vertical":void 0,class:"set-divider","data-tone":e==="subtle"||e==="brand"?e:void 0,id:i,role:n==="vertical"?"separator":void 0},children:[]}}function Zi(t={}){return h(ce(t))}const ji={name:"divider",description:"Use `divider` to separate sections with a rule.",output:{element:{kind:"switch",prop:"orientation",cases:{horizontal:"hr",vertical:"span"}},class:"set-divider"},content:{kind:"none"},props:{id:{description:"DOM id.",type:{kind:"string"}},orientation:{default:"horizontal",description:"Divider orientation.",type:{kind:"enum",values:["horizontal","vertical"]}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","subtle","brand"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"role",condition:{kind:"when-equals",prop:"orientation",to:"vertical"},value:{kind:"literal",text:"separator"}},{target:{on:"host"},attribute:"aria-orientation",condition:{kind:"when-equals",prop:"orientation",to:"vertical"},value:{kind:"literal",text:"vertical"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-in",prop:"tone",values:["subtle","brand"]},value:{kind:"prop",prop:"tone"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function xt({children:t,description:n,disabled:e,id:i,invalid:r,legend:a,inlineSize:d="full"}){const o=n?.trim(),s=i.trim();if(!s)throw new Error("id must be a non-empty string.");if(!D(s))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");const p=o?`${s}-description`:void 0,l=!!e,c=!l&&!!r,m=[{kind:"element",tag:"legend",attrs:{class:"legend"},children:[{kind:"text",value:a}]}];return o&&m.push({kind:"element",tag:"p",attrs:{class:"description",id:p},children:[{kind:"text",value:o}]}),t&&m.push({kind:"raw",html:t}),{kind:"element",tag:"fieldset",attrs:{"aria-describedby":o?p:void 0,"aria-invalid":c?"true":void 0,class:"set-fieldset","data-inline-size":d==="fit"?"fit":void 0,disabled:l,id:s},children:m}}function Ki(t){return h(xt(t))}const Xi={name:"fieldset",description:"Use `fieldset` to group related form controls under a legend.",output:{element:"fieldset",class:"set-fieldset"},content:{kind:"slots",slots:[{prop:"legend",kind:"text"},{prop:"children",kind:"html"}]},props:{children:{description:"Form controls grouped inside the fieldset.",type:{kind:"html"}},description:{description:"Description shown below the legend; also used for validation guidance.",type:{kind:"string"}},disabled:{default:!1,description:"Prevents interaction with controls in the group.",type:{kind:"boolean"}},id:{description:"`id` for the fieldset.",required:!0,type:{kind:"string"}},invalid:{default:!1,description:"Marks the group as invalid.",ignoredWhen:"`disabled` is true",type:{kind:"boolean"}},legend:{description:"Legend shown above the group.",required:!0,type:{kind:"text"}},inlineSize:{default:"full",description:"Whether the fieldset fills its container or shrinks to fit.",type:{kind:"enum",values:["full","fit"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"host"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"host"},attribute:"aria-invalid",condition:{kind:"all",of:[{kind:"when-truthy",prop:"invalid"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}}]},value:{kind:"literal",text:"true"}},{target:{on:"host"},attribute:"aria-describedby",condition:{kind:"when-non-empty",prop:"description"},value:{kind:"template",pattern:"{id}-description"}}]}};function ue({align:t="start",caption:n,children:e,id:i,inlineSize:r="full",responsive:a=!1}){const d=b(i);return{kind:"element",tag:"figure",attrs:{class:"set-figure","data-align":t==="start"?void 0:t,"data-inline-size":r==="full"?void 0:r,id:d},children:[{kind:"raw",html:e},{kind:"element",tag:"figcaption",attrs:{class:"figcaption"},children:[J({as:"span",children:n,responsive:a,size:"sm"})]}]}}function Qi(t){return h(ue(t))}const Yi={name:"figure",description:"Use `figure` to present media with a caption.",output:{element:"figure",class:"set-figure"},content:{kind:"slots",slots:[{prop:"children",kind:"html"},{prop:"caption",kind:"html"}]},props:{align:{default:"start",description:"Alignment within available space.",type:{kind:"enum",values:["start","center","end"]}},caption:{description:"Caption shown below the media. Supports inline markup such as `<em>`, `<strong>`, `<cite>`, etc.",required:!0,type:{kind:"html"}},children:{description:"Media rendered inside the figure.",required:!0,type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},inlineSize:{default:"full",description:"Whether the figure fills its container or shrinks to fit the media.",type:{kind:"enum",values:["full","fit"]}},responsive:{default:!1,description:"Scales the caption across breakpoints.",type:{kind:"boolean"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"host"},attribute:"data-align",condition:{kind:"when-in",prop:"align",values:["center","end"]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},q=t=>{if(t!==void 0)return String(t)};function he({children:t,gap:n="default",id:e}){const i=b(e);return{kind:"element",tag:"div",attrs:{class:"set-grid","data-gap":n==="default"?void 0:n,id:i},children:[{kind:"element",tag:"div",attrs:{class:"grid"},children:t?[{kind:"raw",html:t}]:[]}]}}function Ji(t){return h(he(t))}function me({align:t,children:n,colSpan:e,colSpanNarrow:i,colSpanWide:r,colStart:a,colStartNarrow:d,colStartWide:o,id:s,justify:p,rowSpan:l,rowSpanNarrow:c,rowSpanWide:m,rowStart:g,rowStartNarrow:y,rowStartWide:v}){const z=b(s);return{kind:"element",tag:"div",attrs:{class:"set-grid-item","data-align":t,"data-justify":p,"data-col-span-narrow":q(i),"data-col-start-narrow":q(d),"data-col-span":q(e),"data-col-start":q(a),"data-col-span-wide":q(r),"data-col-start-wide":q(o),"data-row-span-narrow":q(c),"data-row-start-narrow":q(y),"data-row-span":q(l),"data-row-start":q(g),"data-row-span-wide":q(m),"data-row-start-wide":q(v),id:z},children:n?[{kind:"raw",html:n}]:[]}}function tn(t){return h(me(t))}const en={name:"grid",description:"Use `grid` to lay out content in a 12-column responsive grid.",output:{element:"div",class:"set-grid"},content:{kind:"html",prop:"children"},props:{children:{description:"`grid-item` components rendered inside the grid.",type:{kind:"html"}},gap:{default:"default",description:"Space between the `grid-item` components.",type:{kind:"enum",values:["default","expanded","none"]}},id:{description:"DOM id.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-gap",condition:{kind:"when-in",prop:"gap",values:["expanded","none"]},value:{kind:"prop",prop:"gap"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}},N={kind:"number",min:1,max:12,integer:!0},nn={name:"grid-item",description:"Use `grid-item` to place content within a `grid` layout.",output:{element:"div",class:"set-grid-item"},content:{kind:"html",prop:"children"},props:{children:{description:"Content rendered inside the grid item.",type:{kind:"html"}},align:{description:"Block-axis alignment within the grid cell.",type:{kind:"enum",values:["start","center","end"]}},justify:{description:"Inline-axis alignment within the grid cell.",type:{kind:"enum",values:["start","center","end"]}},colSpan:{description:"Columns spanned at the default breakpoint.",type:N},colStart:{description:"Starting column at the default breakpoint.",type:N},id:{description:"DOM id.",type:{kind:"string"}},rowSpan:{description:"Rows spanned at the default breakpoint.",type:N},rowSpanNarrow:{description:"Rows spanned at the narrow breakpoint.",type:N},rowSpanWide:{description:"Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",type:N},rowStart:{description:"Starting row at the default breakpoint.",type:N},rowStartNarrow:{description:"Starting row at the narrow breakpoint.",type:N},rowStartWide:{description:"Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.",type:N},colSpanNarrow:{description:"Columns spanned at the narrow breakpoint.",type:N},colStartNarrow:{description:"Starting column at the narrow breakpoint.",type:N},colSpanWide:{description:"Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.",type:N},colStartWide:{description:"Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.",type:N}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"when-provided",prop:"align"},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"data-justify",condition:{kind:"when-provided",prop:"justify"},value:{kind:"prop",prop:"justify"}},{target:{on:"host"},attribute:"data-col-span",condition:{kind:"when-provided",prop:"colSpan"},value:{kind:"prop",prop:"colSpan"}},{target:{on:"host"},attribute:"data-col-start",condition:{kind:"when-provided",prop:"colStart"},value:{kind:"prop",prop:"colStart"}},{target:{on:"host"},attribute:"data-col-span-narrow",condition:{kind:"when-provided",prop:"colSpanNarrow"},value:{kind:"prop",prop:"colSpanNarrow"}},{target:{on:"host"},attribute:"data-col-start-narrow",condition:{kind:"when-provided",prop:"colStartNarrow"},value:{kind:"prop",prop:"colStartNarrow"}},{target:{on:"host"},attribute:"data-col-span-wide",condition:{kind:"when-provided",prop:"colSpanWide"},value:{kind:"prop",prop:"colSpanWide"}},{target:{on:"host"},attribute:"data-col-start-wide",condition:{kind:"when-provided",prop:"colStartWide"},value:{kind:"prop",prop:"colStartWide"}},{target:{on:"host"},attribute:"data-row-span",condition:{kind:"when-provided",prop:"rowSpan"},value:{kind:"prop",prop:"rowSpan"}},{target:{on:"host"},attribute:"data-row-start",condition:{kind:"when-provided",prop:"rowStart"},value:{kind:"prop",prop:"rowStart"}},{target:{on:"host"},attribute:"data-row-span-narrow",condition:{kind:"when-provided",prop:"rowSpanNarrow"},value:{kind:"prop",prop:"rowSpanNarrow"}},{target:{on:"host"},attribute:"data-row-start-narrow",condition:{kind:"when-provided",prop:"rowStartNarrow"},value:{kind:"prop",prop:"rowStartNarrow"}},{target:{on:"host"},attribute:"data-row-span-wide",condition:{kind:"when-provided",prop:"rowSpanWide"},value:{kind:"prop",prop:"rowSpanWide"}},{target:{on:"host"},attribute:"data-row-start-wide",condition:{kind:"when-provided",prop:"rowStartWide"},value:{kind:"prop",prop:"rowStartWide"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function ke({align:t="start",children:n,id:e,level:i,linkVisited:r=!0,opticalAlign:a,responsive:d,size:o="md"}){const s=b(e);return{kind:"element",tag:i?`h${i}`:"span",attrs:{class:"set-heading","data-align":t==="start"?void 0:t,"data-link-visited":r?void 0:"off","data-optical-align":a,"data-responsive":d,"data-size":o,id:s},children:[{kind:"raw",html:n}]}}function rn(t){return h(ke(t))}const an={name:"heading",description:"Use `heading` to render heading text with consistent type.",output:{element:{kind:"switch",prop:"level",cases:{1:"h1",2:"h2",3:"h3",4:"h4",5:"h5",6:"h6"}},class:"set-heading"},content:{kind:"html",prop:"children"},props:{align:{default:"start",description:"Text alignment.",type:{kind:"enum",values:["start","center","end"]}},children:{description:"Heading content. Supports inline `<a>` links.",required:!0,type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},level:{description:"Semantic heading level. Renders a `<span>` when omitted.",type:{kind:"enum",values:[1,2,3,4,5,6]}},linkVisited:{default:!0,description:"Styles visited links inside the heading.",type:{kind:"boolean"}},opticalAlign:{default:!1,description:"Optically aligns left sidebearing-heavy glyphs with the content edge.",type:{kind:"boolean"}},responsive:{default:!1,description:"Scales type across breakpoints.",type:{kind:"boolean"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["xs","sm","md","lg","xl","2xl","3xl","4xl","5xl"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"when-in",prop:"align",values:["center","end"]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"data-link-visited",condition:{kind:"when-equals",prop:"linkVisited",to:!1},value:{kind:"literal",text:"off"}},{target:{on:"host"},attribute:"data-optical-align",condition:{kind:"when-truthy",prop:"opticalAlign"}},{target:{on:"host"},attribute:"data-responsive",condition:{kind:"when-truthy",prop:"responsive"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function ge({align:t="center",as:n="div",children:e,gap:i="md",id:r,justify:a="start",nowrap:d}){const o=b(r);return{kind:"element",tag:n,attrs:{class:"set-inline","data-align":t==="center"?void 0:t,"data-gap":i,"data-justify":a==="start"?void 0:a,"data-nowrap":d,id:o},children:e?[{kind:"raw",html:e}]:[]}}function on(t){return h(ge(t))}const dn={name:"inline",description:"Use `inline` to lay out content in a horizontal row.",output:{element:{kind:"switch",prop:"as",cases:{div:"div",ul:"ul"}},class:"set-inline"},content:{kind:"html",prop:"children"},props:{as:{default:"div",description:"Element tag to render. `ul` children must be `<li>`.",type:{kind:"enum",values:["div","ul"]}},align:{default:"center",description:"Aligns items on the cross axis.",type:{kind:"enum",values:["start","center","end"]}},children:{description:"Items laid out in a row.",type:{kind:"html"}},gap:{default:"md",description:"Space between children.",type:{kind:"enum",values:["2xs","xs","sm","md","lg"]}},id:{description:"DOM id.",type:{kind:"string"}},justify:{default:"start",description:"Distributes items along the main axis.",type:{kind:"enum",values:["start","center","end","between"]}},nowrap:{description:"Prevents items from wrapping onto new lines.",type:{kind:"boolean"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"when-in",prop:"align",values:["start","end"]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"data-gap",condition:{kind:"always"},value:{kind:"prop",prop:"gap"}},{target:{on:"host"},attribute:"data-justify",condition:{kind:"when-in",prop:"justify",values:["center","end","between"]},value:{kind:"prop",prop:"justify"}},{target:{on:"host"},attribute:"data-nowrap",condition:{kind:"when-truthy",prop:"nowrap"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function be({autocomplete:t,description:n,disabled:e,id:i,invalid:r,label:a,name:d,pattern:o,readOnly:s,required:p,size:l="md",spellcheck:c,type:m="text",value:g,inlineSize:y="full"}){const v=i.trim(),z=n?.trim(),T=t===!1?!1:t?.trim(),S=d?.trim(),w=o?.trim(),E=g;if(!v)throw new Error("id must be a non-empty string.");if(!D(v))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");const x=z?`${v}-description`:void 0,C=m==="numeric",A=C?"text":m,P=w||(C?"^[0-9]*$":void 0),L=c===void 0&&C?!1:c,M=!!e,V=!M&&!!s,tt=[{kind:"element",tag:"label",attrs:{class:"label",for:v},children:[{kind:"text",value:a}]},{kind:"element",tag:"input",attrs:{"aria-describedby":x,"aria-invalid":!M&&!V&&!!r?"true":void 0,autocomplete:T===!1?"off":T||void 0,class:"input",disabled:M,id:v,inputmode:C?"numeric":void 0,name:S||void 0,pattern:P,readonly:V,required:!!p,spellcheck:L===void 0?void 0:String(L),type:A,value:E},children:[]}];return z&&tt.push({kind:"element",tag:"p",attrs:{class:"description",id:x},children:[{kind:"text",value:z}]}),{kind:"element",tag:"div",attrs:{class:"set-input","data-size":l,"data-inline-size":y==="fit"?"fit":void 0},children:tt}}function sn(t){return h(be(t))}const ln={name:"input",description:"Use `input` to collect a single line of text from users.",output:{element:"div",class:"set-input"},content:{kind:"slots",slots:[{prop:"label",kind:"text"},{prop:"description",kind:"text"}]},props:{autocomplete:{description:"Autocomplete hint. Pass `false` to disable autocomplete.",type:{kind:"union",variants:[{kind:"string"},{kind:"boolean"}]}},description:{description:"Helper text shown below the input; also used for validation guidance.",type:{kind:"string"}},disabled:{default:!1,description:"Prevents interaction.",type:{kind:"boolean"}},id:{description:"`id` linking the label to the input.",required:!0,type:{kind:"string"}},invalid:{default:!1,description:"Marks the input as invalid.",ignoredWhen:"`disabled` is true or `readOnly` is true",type:{kind:"boolean"}},label:{description:"Label shown above the input.",required:!0,type:{kind:"text"}},name:{description:"Name submitted with the form.",type:{kind:"string"}},pattern:{description:"Regex pattern the value must match.",type:{kind:"string"}},readOnly:{default:!1,description:"Makes the input read-only.",ignoredWhen:"`disabled` is true",type:{kind:"boolean"}},required:{default:!1,description:"Marks the input as required.",type:{kind:"boolean"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},spellcheck:{description:"Enables browser spellchecking.",type:{kind:"boolean"}},type:{default:"text",description:"Input type.",type:{kind:"enum",values:["text","email","password","tel","url","numeric"]}},value:{description:"Current value.",type:{kind:"string"}},inlineSize:{default:"full",description:"Whether the field fills its container or shrinks to fit.",type:{kind:"enum",values:["full","fit"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"descendant",selector:"label"},attribute:"for",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:"input"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"input"}},{target:{on:"descendant",selector:"input"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:"input"},attribute:"name",condition:{kind:"when-non-empty",prop:"name"},value:{kind:"prop",prop:"name"}},{target:{on:"descendant",selector:"input"},attribute:"value",condition:{kind:"when-provided",prop:"value"},value:{kind:"prop",prop:"value"}},{target:{on:"descendant",selector:"input"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"descendant",selector:"input"},attribute:"required",condition:{kind:"when-truthy",prop:"required"}},{target:{on:"descendant",selector:"input"},attribute:"readonly",condition:{kind:"all",of:[{kind:"when-truthy",prop:"readOnly"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}}]}},{target:{on:"descendant",selector:"input"},attribute:"aria-invalid",condition:{kind:"all",of:[{kind:"when-truthy",prop:"invalid"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}},{kind:"not",of:{kind:"when-truthy",prop:"readOnly"}}]},value:{kind:"literal",text:"true"}},{target:{on:"descendant",selector:"input"},attribute:"aria-describedby",condition:{kind:"when-non-empty",prop:"description"},value:{kind:"template",pattern:"{id}-description"}},{target:{on:"descendant",selector:"input"},attribute:"inputmode",condition:{kind:"when-equals",prop:"type",to:"numeric"},value:{kind:"literal",text:"numeric"}},{target:{on:"descendant",selector:"input"},attribute:"type",condition:{kind:"when-equals",prop:"type",to:"numeric"},value:{kind:"literal",text:"text"}},{target:{on:"descendant",selector:"input"},attribute:"type",condition:{kind:"when-not-in",prop:"type",values:["numeric"]},value:{kind:"prop",prop:"type"}}]}},pn="0 0 6714.6 1200",cn="0 0 600 1200",un=[{x:0,y:0},{x:300,y:0},{x:150,y:300},{x:450,y:300},{x:0,y:600},{x:300,y:600},{x:150,y:900},{x:450,y:900}],hn="M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180",mn=1163,ve=()=>({kind:"element",tag:"g",attrs:{class:"mark"},children:un.map(({x:t,y:n})=>({kind:"element",tag:"rect",attrs:{height:"300",width:"150",x:String(t),y:String(n)},children:[]}))}),kn=()=>({kind:"element",tag:"g",attrs:{class:"word",transform:`translate(${mn} 0)`},children:[{kind:"element",tag:"path",attrs:{d:hn},children:[]}]}),fe=(t,n)=>({kind:"element",tag:"svg",attrs:{"aria-hidden":"true",viewBox:t,xmlns:"http://www.w3.org/2000/svg"},children:n});function gn(){return fe(pn,[ve(),kn()])}function bn(){return fe(cn,[ve()])}function ye({animated:t,id:n,label:e,size:i="md",tone:r="default",variant:a="primary"}){const d=b(n),o=!!t&&(a==="primary"||a==="graphic"),s=[{kind:"element",tag:"span",attrs:{class:"visually-hidden"},children:[{kind:"text",value:e}]}];return o&&s.push(a==="graphic"?bn():gn()),{kind:"element",tag:"div",attrs:{class:"set-logo","data-animated":o,"data-size":i,"data-tone":r==="neutral"?"neutral":void 0,"data-variant":a==="primary"?void 0:a,id:d},children:s}}function vn(t){return h(ye(t))}const fn={name:"logo",description:"Use `logo` to display the brand mark.",output:{element:"div",class:"set-logo"},content:{kind:"text",prop:"label"},props:{animated:{default:!1,description:"Plays the logo's boot animation once on render. Animates the `primary` and `graphic` variants; others render static.",type:{kind:"boolean"}},id:{description:"DOM id.",type:{kind:"string"}},label:{description:"Accessible label.",required:!0,type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md","lg","xl","fill"]}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","neutral"]}},variant:{default:"primary",description:"Logo variant.",type:{kind:"enum",values:["primary","secondary","typographic","graphic"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-animated",condition:{kind:"all",of:[{kind:"when-truthy",prop:"animated"},{kind:"when-in",prop:"variant",values:["primary","graphic"]}]}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-equals",prop:"tone",to:"neutral"},value:{kind:"literal",text:"neutral"}},{target:{on:"host"},attribute:"data-variant",condition:{kind:"when-in",prop:"variant",values:["secondary","typographic","graphic"]},value:{kind:"prop",prop:"variant"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function we({banner:t,centerMain:n,children:e,footer:i,header:r,headerBorder:a,headerSize:d="md",id:o,stickyHeader:s}){const p=b(o),l=[];return t&&l.push({kind:"raw",html:t}),l.push({kind:"element",tag:"header",attrs:{class:"header"},children:[{kind:"raw",html:r}]}),l.push({kind:"element",tag:"main",attrs:{class:"main"},children:e?[{kind:"raw",html:e}]:[]}),l.push({kind:"element",tag:"footer",attrs:{class:"footer"},children:[{kind:"raw",html:i}]}),{kind:"element",tag:"div",attrs:{class:"set-page","data-center-main":n,"data-header-border":a,"data-header-size":d,"data-sticky-header":s,id:p},children:l}}function yn(t){return h(we(t))}const wn={name:"page",description:"Use `page` as the primary layout for header, main, and footer regions.",output:{element:"div",class:"set-page"},content:{kind:"slots",slots:[{prop:"banner",kind:"html"},{prop:"header",kind:"html"},{prop:"children",kind:"html"},{prop:"footer",kind:"html"}]},props:{banner:{description:"Banner rendered above the header.",type:{kind:"html"}},children:{description:"Main content of the page.",type:{kind:"html"}},centerMain:{default:!1,description:"Centers the main region within the page shell.",type:{kind:"boolean"}},header:{description:"Header content.",required:!0,type:{kind:"html"}},headerBorder:{description:"Bottom border on the header. `'always'` is persistent; `'scroll'` fades in only when a sticky header is stuck (browsers without `container-type: scroll-state` fall back to always-on).",type:{kind:"enum",values:["always","scroll"]}},headerSize:{default:"md",description:"Reserves a minimum block size on the header. `--set-page-header-block-size` is exposed to descendants so persistent panels can open below the header band.",type:{kind:"enum",values:["sm","md","lg"]}},id:{description:"DOM id.",type:{kind:"string"}},stickyHeader:{description:"When the header stays stuck to the top of the viewport.",type:{kind:"enum",values:["always","belowNotebook"]}},footer:{description:"Footer content.",required:!0,type:{kind:"html"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-center-main",condition:{kind:"when-truthy",prop:"centerMain"}},{target:{on:"host"},attribute:"data-header-border",condition:{kind:"when-provided",prop:"headerBorder"},value:{kind:"prop",prop:"headerBorder"}},{target:{on:"host"},attribute:"data-header-size",condition:{kind:"always"},value:{kind:"prop",prop:"headerSize"}},{target:{on:"host"},attribute:"data-sticky-header",condition:{kind:"when-provided",prop:"stickyHeader"},value:{kind:"prop",prop:"stickyHeader"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Se({children:t,id:n,padding:e="md",surface:i}){const r=b(n);return{kind:"element",tag:"div",attrs:{class:"set-panel","data-padding":e,"data-set-surface":i,id:r},children:t?[{kind:"raw",html:t}]:[]}}function Sn(t){return h(Se(t))}const En={name:"panel",description:"Use `panel` to group related content in a contained region.",output:{element:"div",class:"set-panel"},content:{kind:"html",prop:"children"},props:{children:{description:"Content rendered inside the panel.",type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},padding:{default:"md",description:"Inner spacing scale.",type:{kind:"enum",values:["xs","sm","md","lg","xl"]}},surface:{description:"Surface context.",type:{kind:"enum",values:["default","brand"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-padding",condition:{kind:"always"},value:{kind:"prop",prop:"padding"}},{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"when-provided",prop:"surface"},value:{kind:"prop",prop:"surface"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Ee({children:t,id:n,size:e="md",tone:i="default",variant:r="tile"}={}){const a=b(n);return{kind:"element",tag:"div",attrs:{class:"set-pattern","data-size":e,"data-tone":i==="default"?void 0:i,"data-variant":r,id:a},children:t?[{kind:"raw",html:t}]:[]}}function xn(t={}){return h(Ee(t))}const zn={name:"pattern",description:"Use `pattern` to render repeated visual language components behind content.",output:{element:"div",class:"set-pattern"},content:{kind:"html",prop:"children"},props:{children:{description:"Content rendered above the pattern.",type:{kind:"html"}},id:{description:"DOM id.",type:{kind:"string"}},tone:{default:"default",description:"Semantic tone.",type:{kind:"enum",values:["default","subtle","support"]}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["xs","sm","md","lg","xl","fill"]}},variant:{default:"tile",description:"Shape used for the pattern tile.",type:{kind:"enum",values:["tile","tileLight","tileDark"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-variant",condition:{kind:"always"},value:{kind:"prop",prop:"variant"}},{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-tone",condition:{kind:"when-in",prop:"tone",values:["subtle","support"]},value:{kind:"prop",prop:"tone"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Cn(t){return Ot({...t,alt:"",fit:"cover",priority:!0})}function xe({children:t,contentTheme:n,id:e,media:i,surface:r}){const a=b(e),d=n?r??"default":r,o=[{kind:"element",tag:"div",attrs:{class:"image-wrapper"},children:[{kind:"raw",html:i}]}];return t&&o.push({kind:"element",tag:"div",attrs:{class:"content"},children:[{kind:"raw",html:t}]}),{kind:"element",tag:"div",attrs:{class:"set-poster","data-set-content-theme":n,"data-set-surface":d,id:a},children:o}}function _n(t){return h(xe(t))}const Tn={name:"poster",description:"Use `poster` to layer content over background media.",output:{element:"div",class:"set-poster"},content:{kind:"slots",slots:[{prop:"media",kind:"html"},{prop:"children",kind:"html"}]},props:{children:{description:"Foreground content rendered over the media.",type:{kind:"html"}},contentTheme:{description:"Absolute theme lock for foreground content over non-themeable media.",ignoredWhen:"`media` is adaptive (it matches the surrounding scheme by itself)",type:{kind:"enum",values:["light","dark"]}},id:{description:"DOM id.",type:{kind:"string"}},media:{description:"Background media markup. Build with `renderSetPosterImage`.",required:!0,type:{kind:"html"}},surface:{description:"Surface context.",type:{kind:"enum",values:["default","brand"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-set-content-theme",condition:{kind:"when-provided",prop:"contentTheme"},value:{kind:"prop",prop:"contentTheme"}},{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"all",of:[{kind:"when-provided",prop:"contentTheme"},{kind:"not",of:{kind:"when-provided",prop:"surface"}}]},value:{kind:"literal",text:"default"}},{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"when-provided",prop:"surface"},value:{kind:"prop",prop:"surface"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function ze({align:t="start",children:n,hangingPunctuation:e,id:i,linkVisited:r=!0,measured:a=!0,monospaced:d,responsive:o}){const s=b(i);return{kind:"element",tag:"div",attrs:{class:"set-prose","data-align":t!=="start"?t:void 0,"data-hanging-punctuation":e,"data-link-visited":r?void 0:"off","data-measured":a,"data-monospaced":d,"data-responsive":o,id:s},children:[{kind:"raw",html:n}]}}function Ln(t){return h(ze(t))}const Mn={name:"prose",description:"Use `prose` to style rich-text markup.",output:{element:"div",class:"set-prose"},content:{kind:"html",prop:"children"},props:{children:{description:"Content rendered inside the prose wrapper.",required:!0,type:{kind:"html"}},align:{default:"start",description:"Text alignment.",type:{kind:"enum",values:["start","center","end"]}},hangingPunctuation:{description:"Position list markers and leading quote marks in the margin, with text aligned.",type:{kind:"enum",values:["always","notebook"]}},id:{description:"DOM id.",type:{kind:"string"}},linkVisited:{default:!0,description:"Styles visited links inside the prose.",type:{kind:"boolean"}},measured:{default:!0,description:"Caps line length for comfortable reading.",type:{kind:"boolean"}},monospaced:{default:!1,description:"Applies monospaced word spacing throughout.",type:{kind:"boolean"}},responsive:{default:!1,description:"Scales body text across breakpoints.",type:{kind:"boolean"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"when-in",prop:"align",values:["center","end"]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"data-hanging-punctuation",condition:{kind:"when-provided",prop:"hangingPunctuation"},value:{kind:"prop",prop:"hangingPunctuation"}},{target:{on:"host"},attribute:"data-link-visited",condition:{kind:"when-equals",prop:"linkVisited",to:!1},value:{kind:"literal",text:"off"}},{target:{on:"host"},attribute:"data-measured",condition:{kind:"when-truthy",prop:"measured"}},{target:{on:"host"},attribute:"data-monospaced",condition:{kind:"when-truthy",prop:"monospaced"}},{target:{on:"host"},attribute:"data-responsive",condition:{kind:"when-truthy",prop:"responsive"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Ce({description:t,disabled:n,id:e,invalid:i,radios:r,legend:a,name:d,orientation:o="vertical",required:s,size:p="md",value:l}){const c=e.trim(),m=d.trim(),g=l?.trim();if(!c)throw new Error("id must be a non-empty string.");if(!D(c))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");if(!m)throw new Error("name must be a non-empty string.");if(r.length<2)throw new Error("radios must include at least 2 options.");const y=r.map((w,E)=>{const x=w.value.trim(),C=w.label.trim(),A=w.description?.trim();if(!x)throw new Error(`radios[${E}].value must be non-empty.`);if(!C)throw new Error(`radios[${E}].label must be non-empty.`);return{description:A,disabled:!!w.disabled,label:C,value:x}});if(new Set(y.map(w=>w.value)).size!==y.length)throw new Error("radios values must be unique.");const z=!!n,T=y.map(w=>{const E=!!w.disabled,x=w.description?`${c}-${w.value}-description`:void 0,C=[{kind:"element",tag:"label",attrs:{class:"label"},children:[{kind:"element",tag:"input",attrs:{"aria-describedby":x,checked:g===w.value,class:"radio",disabled:E,name:m,required:!!s&&!z&&!E,type:"radio",value:w.value},children:[]},{kind:"element",tag:"span",attrs:{},children:[{kind:"text",value:w.label}]}]}];return w.description&&C.push({kind:"element",tag:"p",attrs:{class:"radio-description",id:x},children:[{kind:"text",value:w.description}]}),{kind:"element",tag:"div",attrs:{class:"radio-field"},children:C}});return xt({children:h({kind:"element",tag:"div",attrs:{class:"set-radios","data-orientation":o,"data-size":p},children:T}),description:t,disabled:z,id:c,invalid:i,legend:a})}function An(t){return h(Ce(t))}const In={name:"radios",description:"Use `radios` to let users select one option from a short list.",output:{element:"fieldset",class:"set-fieldset"},content:{kind:"structured",prop:"radios"},props:{description:{description:"Helper text shown below the legend.",type:{kind:"string"}},disabled:{default:!1,description:"Disables every option in the group.",type:{kind:"boolean"}},id:{description:"Unique id used to associate the group with its descriptions.",required:!0,type:{kind:"string"}},invalid:{default:!1,description:"Marks the group as invalid.",ignoredWhen:"`disabled` is true",type:{kind:"boolean"}},radios:{description:"Options shown in the group.",required:!0,type:{kind:"array",itemShape:{description:{description:"Optional per-item helper text.",type:{kind:"string"}},disabled:{default:!1,description:"Optional per-item disabled override.",type:{kind:"boolean"}},label:{description:"Radio option label.",required:!0,type:{kind:"text"}},value:{description:"Submitted value and selection key.",required:!0,type:{kind:"string"}}}}},legend:{description:"Group label.",required:!0,type:{kind:"text"}},name:{description:"Form field name shared by all options.",required:!0,type:{kind:"string"}},orientation:{default:"vertical",description:"Layout direction.",type:{kind:"enum",values:["vertical","horizontal"]}},required:{default:!1,description:"Requires a selection before submission.",type:{kind:"boolean"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},value:{description:"Currently selected value.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"host"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"host"},attribute:"aria-invalid",condition:{kind:"all",of:[{kind:"when-truthy",prop:"invalid"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}}]},value:{kind:"literal",text:"true"}},{target:{on:"host"},attribute:"aria-describedby",condition:{kind:"when-non-empty",prop:"description"},value:{kind:"template",pattern:"{id}-description"}},{target:{on:"descendant",selector:"div.set-radios"},attribute:"data-orientation",condition:{kind:"always"},value:{kind:"prop",prop:"orientation"}},{target:{on:"descendant",selector:"div.set-radios"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"descendant",selector:"input"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"radio"}},{target:{on:"descendant",selector:"input"},attribute:"type",condition:{kind:"always"},value:{kind:"literal",text:"radio"}},{target:{on:"descendant",selector:"input"},attribute:"name",condition:{kind:"always"},value:{kind:"prop",prop:"name"}}]}};function _e({appOverscrollBehavior:t,appRoot:n,brand:e="mnsp",children:i,dir:r,id:a,lang:d,theme:o}){const s=b(a);return{kind:"element",tag:"div",attrs:{class:"set","data-app-root":n,"data-app-overscroll-behavior":t==="none"?"none":void 0,"data-set-brand":e,"data-set-theme":o,id:s,lang:d===""?void 0:d,dir:r},children:i?[{kind:"raw",html:i}]:[]}}function qn(t){return h(_e(t))}const Nn={name:"root",description:"Mandatory top-level `root` wrapper for the Set system.",output:{element:"div",class:"set"},content:{kind:"html",prop:"children"},props:{appOverscrollBehavior:{description:"Disables overscroll bounce for app-shell integrations.",type:{kind:"enum",values:["none"]}},appRoot:{default:!1,description:"Marks this wrapper as the app root.",type:{kind:"boolean"}},brand:{default:"mnsp",description:"Brand identity applied to the wrapper.",type:{kind:"enum",values:["mnsp","wrfr"]}},children:{description:"Content rendered inside the root.",required:!0,type:{kind:"html"}},dir:{description:"Text direction.",type:{kind:"enum",values:["ltr","rtl"]}},id:{description:"DOM id.",type:{kind:"string"}},lang:{description:"BCP47 language tag (e.g. `en-GB`).",type:{kind:"string"}},theme:{description:"Colour theme.",type:{kind:"enum",values:["light","dark"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-app-overscroll-behavior",condition:{kind:"when-equals",prop:"appOverscrollBehavior",to:"none"},value:{kind:"literal",text:"none"}},{target:{on:"host"},attribute:"data-app-root",condition:{kind:"when-truthy",prop:"appRoot"}},{target:{on:"host"},attribute:"data-set-brand",condition:{kind:"always"},value:{kind:"prop",prop:"brand"}},{target:{on:"host"},attribute:"data-set-theme",condition:{kind:"when-provided",prop:"theme"},value:{kind:"prop",prop:"theme"}},{target:{on:"host"},attribute:"dir",condition:{kind:"when-provided",prop:"dir"},value:{kind:"prop",prop:"dir"}},{target:{on:"host"},attribute:"lang",condition:{kind:"when-non-empty",prop:"lang"},value:{kind:"prop",prop:"lang"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Te({align:t="stretch",as:n="div",children:e,gap:i="md",id:r,responsive:a}){const d=b(r);return{kind:"element",tag:n,attrs:{class:"set-stack","data-align":t==="stretch"?void 0:t,"data-gap":i,"data-responsive":a,id:d},children:e?[{kind:"raw",html:e}]:[]}}function Pn(t){return h(Te(t))}const Dn={name:"stack",description:"Use `stack` to lay out content in a vertical column.",output:{element:{kind:"switch",prop:"as",cases:{div:"div",ul:"ul"}},class:"set-stack"},content:{kind:"html",prop:"children"},props:{align:{default:"stretch",description:"Aligns items on the cross axis.",type:{kind:"enum",values:["stretch","start","center","end"]}},as:{default:"div",description:"Element tag to render. `ul` children must be `<li>`.",type:{kind:"enum",values:["div","ul"]}},children:{description:"Items laid out in a column.",type:{kind:"html"}},gap:{default:"md",description:"Space between children.",type:{kind:"enum",values:["none","xs","sm","md","lg","xl"]}},id:{description:"DOM id.",type:{kind:"string"}},responsive:{default:!1,description:"Scales spacing across breakpoints.",type:{kind:"boolean"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-align",condition:{kind:"when-in",prop:"align",values:["start","center","end"]},value:{kind:"prop",prop:"align"}},{target:{on:"host"},attribute:"data-gap",condition:{kind:"always"},value:{kind:"prop",prop:"gap"}},{target:{on:"host"},attribute:"data-responsive",condition:{kind:"when-truthy",prop:"responsive"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Le({children:t,contentTheme:n,id:e,variant:i="default"}){const r=b(e);return{kind:"element",tag:"div",attrs:{class:"set-surface","data-set-content-theme":n,"data-set-surface":i,id:r},children:[{kind:"raw",html:t}]}}function Vn(t){return h(Le(t))}const Hn={name:"surface",description:"Use `surface` to set a colour context for nested content.",output:{element:"div",class:"set-surface"},content:{kind:"html",prop:"children"},props:{children:{description:"Content rendered inside the surface.",required:!0,type:{kind:"html"}},contentTheme:{description:"Absolute theme lock for content rendered inside the surface.",type:{kind:"enum",values:["light","dark"]}},id:{description:"DOM id.",type:{kind:"string"}},variant:{default:"default",description:"Surface context.",type:{kind:"enum",values:["default","brand"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-set-content-theme",condition:{kind:"when-provided",prop:"contentTheme"},value:{kind:"prop",prop:"contentTheme"}},{target:{on:"host"},attribute:"data-set-surface",condition:{kind:"always"},value:{kind:"prop",prop:"variant"}},{target:{on:"host"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Me({checked:t,description:n,disabled:e,id:i,label:r,name:a,size:d="md",value:o}){const s=b(i),p=n?.trim();if(p&&!s)throw new Error("id must be provided when description is provided.");const l=p?`${s}-description`:void 0,c=[{kind:"element",tag:"label",attrs:{class:"label"},children:[{kind:"element",tag:"input",attrs:{"aria-describedby":l,checked:!!t,class:"switch",disabled:!!e,id:s,name:a||void 0,role:"switch",type:"checkbox",value:o||void 0},children:[]},{kind:"element",tag:"span",attrs:{},children:[{kind:"text",value:r}]}]}];return p&&c.push({kind:"element",tag:"p",attrs:{class:"description",id:l},children:[{kind:"text",value:p}]}),{kind:"element",tag:"div",attrs:{class:"set-switch","data-size":d},children:c}}function Bn(t){return h(Me(t))}const On={name:"switch",description:"Use `switch` to let users instantly toggle a setting on or off.",output:{element:"div",class:"set-switch"},content:{kind:"slots",slots:[{prop:"label",kind:"text"},{prop:"description",kind:"text"}]},props:{checked:{default:!1,description:"Whether the switch is on.",type:{kind:"boolean"}},description:{description:"Helper text shown below the label.",type:{kind:"string"}},disabled:{default:!1,description:"Disables the switch.",type:{kind:"boolean"}},id:{description:"DOM id.",requiredWhen:"`description` is provided",type:{kind:"string"}},label:{description:"Label text.",required:!0,type:{kind:"text"}},name:{description:"Form field name.",type:{kind:"string"}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},value:{description:"Submitted value when checked.",type:{kind:"string"}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"descendant",selector:"input"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"switch"}},{target:{on:"descendant",selector:"input"},attribute:"type",condition:{kind:"always"},value:{kind:"literal",text:"checkbox"}},{target:{on:"descendant",selector:"input"},attribute:"role",condition:{kind:"always"},value:{kind:"literal",text:"switch"}},{target:{on:"descendant",selector:"input"},attribute:"checked",condition:{kind:"when-truthy",prop:"checked"}},{target:{on:"descendant",selector:"input"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"descendant",selector:"input"},attribute:"name",condition:{kind:"when-non-empty",prop:"name"},value:{kind:"prop",prop:"name"}},{target:{on:"descendant",selector:"input"},attribute:"value",condition:{kind:"when-non-empty",prop:"value"},value:{kind:"prop",prop:"value"}},{target:{on:"descendant",selector:"input"},attribute:"id",condition:{kind:"when-non-empty",prop:"id"},value:{kind:"prop",prop:"id"}}]}};function Ae({autocomplete:t,description:n,disabled:e,id:i,invalid:r,label:a,name:d,readOnly:o,required:s,resize:p="vertical",rows:l=2,size:c="md",spellcheck:m,value:g,inlineSize:y="full"}){const v=i.trim(),z=n?.trim(),T=t===!1?!1:t?.trim(),S=d?.trim(),w=g;if(!v)throw new Error("id must be a non-empty string.");if(!D(v))throw new Error("id must start with a letter and contain only letters, numbers, '_', '-', or ':'.");if(!Number.isInteger(l)||l<2)throw new Error("rows must be an integer greater than or equal to 2.");const E=z?`${v}-description`:void 0,x=!!e,C=!x&&!!o,P=[{kind:"element",tag:"label",attrs:{class:"label",for:v},children:[{kind:"text",value:a}]},{kind:"element",tag:"textarea",attrs:{"aria-describedby":E,"aria-invalid":!x&&!C&&!!r?"true":void 0,autocomplete:T===!1?"off":T||void 0,class:"textarea",disabled:x,id:v,name:S||void 0,readonly:C,required:!!s,rows:String(l),spellcheck:m===void 0?void 0:String(m)},children:[{kind:"text",value:w||""}]}];return z&&P.push({kind:"element",tag:"p",attrs:{class:"description",id:E},children:[{kind:"text",value:z}]}),{kind:"element",tag:"div",attrs:{class:"set-textarea","data-resize":p==="none"?"none":void 0,"data-size":c,"data-inline-size":y==="fit"?"fit":void 0},children:P}}function Rn(t){return h(Ae(t))}const Un={name:"textarea",description:"Use `textarea` to collect multiple lines of text from users.",output:{element:"div",class:"set-textarea"},content:{kind:"slots",slots:[{prop:"label",kind:"text"},{prop:"value",kind:"text"},{prop:"description",kind:"text"}]},props:{autocomplete:{description:"Browser autocomplete hint. Pass `false` to disable.",type:{kind:"union",variants:[{kind:"string"},{kind:"boolean"}]}},description:{description:"Helper text shown below the textarea; also used for validation guidance.",type:{kind:"string"}},disabled:{default:!1,description:"Disables the textarea.",type:{kind:"boolean"}},id:{description:"`id` used to associate the textarea with its label.",required:!0,type:{kind:"string"}},invalid:{default:!1,description:"Marks the textarea as invalid.",ignoredWhen:"`disabled` is true or `readOnly` is true",type:{kind:"boolean"}},label:{description:"Label text.",required:!0,type:{kind:"text"}},name:{description:"Form field name.",type:{kind:"string"}},readOnly:{default:!1,description:"Prevents editing while keeping the value visible.",ignoredWhen:"`disabled` is true",type:{kind:"boolean"}},required:{default:!1,description:"Requires a value before submission.",type:{kind:"boolean"}},resize:{default:"vertical",description:"How the user can resize the textarea.",type:{kind:"enum",values:["vertical","none"]}},rows:{default:2,description:"Number of visible rows.",type:{kind:"number",min:2,max:10,integer:!0}},size:{default:"md",description:"Size variant.",type:{kind:"enum",values:["sm","md"]}},spellcheck:{description:"Whether the browser checks spelling.",type:{kind:"boolean"}},value:{description:"Current value.",type:{kind:"string"}},inlineSize:{default:"full",description:"How the textarea fills its container.",type:{kind:"enum",values:["full","fit"]}}},events:{},rules:{attributes:[{target:{on:"host"},attribute:"data-size",condition:{kind:"always"},value:{kind:"prop",prop:"size"}},{target:{on:"host"},attribute:"data-inline-size",condition:{kind:"when-equals",prop:"inlineSize",to:"fit"},value:{kind:"literal",text:"fit"}},{target:{on:"host"},attribute:"data-resize",condition:{kind:"when-equals",prop:"resize",to:"none"},value:{kind:"literal",text:"none"}},{target:{on:"descendant",selector:"label"},attribute:"for",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:"textarea"},attribute:"class",condition:{kind:"always"},value:{kind:"literal",text:"textarea"}},{target:{on:"descendant",selector:"textarea"},attribute:"id",condition:{kind:"always"},value:{kind:"template",pattern:"{id}"}},{target:{on:"descendant",selector:"textarea"},attribute:"rows",condition:{kind:"always"},value:{kind:"prop",prop:"rows"}},{target:{on:"descendant",selector:"textarea"},attribute:"name",condition:{kind:"when-non-empty",prop:"name"},value:{kind:"prop",prop:"name"}},{target:{on:"descendant",selector:"textarea"},attribute:"disabled",condition:{kind:"when-truthy",prop:"disabled"}},{target:{on:"descendant",selector:"textarea"},attribute:"required",condition:{kind:"when-truthy",prop:"required"}},{target:{on:"descendant",selector:"textarea"},attribute:"readonly",condition:{kind:"all",of:[{kind:"when-truthy",prop:"readOnly"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}}]}},{target:{on:"descendant",selector:"textarea"},attribute:"aria-invalid",condition:{kind:"all",of:[{kind:"when-truthy",prop:"invalid"},{kind:"not",of:{kind:"when-truthy",prop:"disabled"}},{kind:"not",of:{kind:"when-truthy",prop:"readOnly"}}]},value:{kind:"literal",text:"true"}},{target:{on:"descendant",selector:"textarea"},attribute:"aria-describedby",condition:{kind:"when-non-empty",prop:"description"},value:{kind:"template",pattern:"{id}-description"}},{target:{on:"descendant",selector:"textarea"},attribute:"spellcheck",condition:{kind:"when-provided",prop:"spellcheck"},value:{kind:"prop",prop:"spellcheck"}}]}};function Wn(){Dt(),Ht(),Rt(),Wt(),$t(),Kt(),Qt(),Jt(),ee()}exports.SET_ALERT_EVENT_BEFORE_DISMISS=bt;exports.SET_ALERT_EVENT_DISMISS=vt;exports.SET_ALERT_SPEC=Xe;exports.SET_ALERT_TAG_NAME=W;exports.SET_AVATAR_SPEC=Mi;exports.SET_BADGE_SPEC=Ii;exports.SET_BANNER_EVENT_BEFORE_DISMISS=yt;exports.SET_BANNER_EVENT_DISMISS=wt;exports.SET_BANNER_SPEC=ii;exports.SET_BANNER_TAG_NAME=$;exports.SET_BLOCKQUOTE_SPEC=Di;exports.SET_BOX_SPEC=Hi;exports.SET_BUTTON_SPEC=$e;exports.SET_CARD_SPEC=Oi;exports.SET_CHECKBOX_SPEC=Ui;exports.SET_CONTAINER_SPEC=Gi;exports.SET_DETAILS_SPEC=Fi;exports.SET_DIVIDER_SPEC=ji;exports.SET_EXPANDER_SPEC=pi;exports.SET_FIELDSET_SPEC=Xi;exports.SET_FIGURE_SPEC=Yi;exports.SET_GRID_ITEM_SPEC=nn;exports.SET_GRID_SPEC=en;exports.SET_HEADING_SPEC=an;exports.SET_ICON_NAMES=Re;exports.SET_ICON_SPEC=Ue;exports.SET_IMAGE_SPEC=ni;exports.SET_IMAGE_TAG_NAME=F;exports.SET_INLINE_SPEC=dn;exports.SET_INPUT_SPEC=ln;exports.SET_LIGHTSWITCH_EVENT_CHANGE=St;exports.SET_LIGHTSWITCH_SPEC=di;exports.SET_LIGHTSWITCH_STORAGE_KEY=it;exports.SET_LIGHTSWITCH_TAG_NAME=Z;exports.SET_LINK_SPEC=Je;exports.SET_LOGO_SPEC=fn;exports.SET_MENU_EVENT_CHOOSE=Et;exports.SET_MENU_SPEC=li;exports.SET_MENU_TAG_NAME=j;exports.SET_NAV_SPEC=ui;exports.SET_NAV_TAG_NAME=K;exports.SET_PAGE_SPEC=wn;exports.SET_PANEL_SPEC=En;exports.SET_PATTERN_SPEC=zn;exports.SET_POSTER_SPEC=Tn;exports.SET_PROSE_SPEC=Mn;exports.SET_RADIOS_SPEC=In;exports.SET_RANGE_SPEC=mi;exports.SET_RANGE_TAG_NAME=X;exports.SET_ROOT_SPEC=Nn;exports.SET_SIDEBAR_SPEC=vi;exports.SET_SIDEBAR_TAG_NAME=Q;exports.SET_SPINNER_SPEC=We;exports.SET_STACK_SPEC=Dn;exports.SET_SURFACE_SPEC=Hn;exports.SET_SWITCH_SPEC=On;exports.SET_TEXTAREA_SPEC=Un;exports.SET_TEXT_SPEC=Ni;exports.SET_VIDEO_SPEC=wi;exports.SET_VIDEO_TAG_NAME=Y;exports.applySetButtonActivity=Nt;exports.buildSetAlert=Pt;exports.buildSetAvatar=ne;exports.buildSetBadge=re;exports.buildSetBanner=Vt;exports.buildSetBlockquote=ae;exports.buildSetBox=oe;exports.buildSetButton=rt;exports.buildSetCard=de;exports.buildSetCheckbox=se;exports.buildSetContainer=le;exports.buildSetDetails=pe;exports.buildSetDivider=ce;exports.buildSetExpander=Ft;exports.buildSetFieldset=xt;exports.buildSetFigure=ue;exports.buildSetGrid=he;exports.buildSetGridItem=me;exports.buildSetHeading=ke;exports.buildSetIcon=B;exports.buildSetImage=Bt;exports.buildSetInline=ge;exports.buildSetInput=be;exports.buildSetLightswitch=Ut;exports.buildSetLink=ft;exports.buildSetLogo=ye;exports.buildSetMenu=Gt;exports.buildSetNav=jt;exports.buildSetPage=we;exports.buildSetPanel=Se;exports.buildSetPattern=Ee;exports.buildSetPoster=xe;exports.buildSetProse=ze;exports.buildSetRadios=Ce;exports.buildSetRange=Xt;exports.buildSetRoot=_e;exports.buildSetSidebar=Yt;exports.buildSetSpinner=It;exports.buildSetStack=Te;exports.buildSetSurface=Le;exports.buildSetSwitch=Me;exports.buildSetText=J;exports.buildSetTextarea=Ae;exports.buildSetVideo=te;exports.defineSetAlert=Dt;exports.defineSetBanner=Ht;exports.defineSetComponents=Wn;exports.defineSetImage=Rt;exports.defineSetLightswitch=Wt;exports.defineSetMenu=$t;exports.defineSetNav=Kt;exports.defineSetRange=Qt;exports.defineSetSidebar=Jt;exports.defineSetVideo=ee;exports.escapeHtml=gt;exports.getSetInitials=ie;exports.renderSetAlert=Ke;exports.renderSetAvatar=Li;exports.renderSetBadge=Ai;exports.renderSetBanner=ei;exports.renderSetBlockquote=Pi;exports.renderSetBox=Vi;exports.renderSetButton=at;exports.renderSetCard=Bi;exports.renderSetCheckbox=Ri;exports.renderSetContainer=Wi;exports.renderSetDetails=$i;exports.renderSetDivider=Zi;exports.renderSetExpander=Zt;exports.renderSetFieldset=Ki;exports.renderSetFigure=Qi;exports.renderSetGrid=Ji;exports.renderSetGridItem=tn;exports.renderSetHeading=rn;exports.renderSetIcon=At;exports.renderSetImage=Ot;exports.renderSetInline=on;exports.renderSetInput=sn;exports.renderSetLightswitch=oi;exports.renderSetLink=Ye;exports.renderSetLogo=vn;exports.renderSetMenu=si;exports.renderSetNav=ci;exports.renderSetPage=yn;exports.renderSetPanel=Sn;exports.renderSetPattern=xn;exports.renderSetPoster=_n;exports.renderSetPosterImage=Cn;exports.renderSetProse=Ln;exports.renderSetRadios=An;exports.renderSetRange=hi;exports.renderSetRoot=qn;exports.renderSetSidebar=bi;exports.renderSetSpinner=ct;exports.renderSetStack=Pn;exports.renderSetSurface=Vn;exports.renderSetSwitch=Bn;exports.renderSetText=qi;exports.renderSetTextarea=Rn;exports.renderSetVideo=fi;exports.serializeSetNode=h;
|
|
2
|
-
//# sourceMappingURL=index.cjs.map
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=new Set([`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`link`,`meta`,`source`,`track`,`wbr`]);function t(e){return e.replaceAll(`&`,`&`).replaceAll(`<`,`<`).replaceAll(`>`,`>`).replaceAll(`"`,`"`).replaceAll(`'`,`'`)}function n(e){return Object.entries(e).flatMap(([e,n])=>n===!1||n==null?[]:n===!0?[e]:[`${e}="${t(String(n))}"`]).join(` `)}function r(i){if(i.kind===`text`)return t(i.value);if(i.kind===`raw`)return i.html;let a=n(i.attrs),o=a?`<${i.tag} ${a}>`:`<${i.tag}>`;return e.has(i.tag)?o:`${o}${i.children.map(r).join(``)}</${i.tag}>`}function i(e){return/^[A-Za-z][\w:-]*$/.test(e)}function a(e){if(e===void 0)return;let t=e.trim();if(t){if(!i(t))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);return t}}function o(e){if(e!=null)return e.trim().replace(/\s+/g,` `)||void 0}var s=`adjustment.arrow-down.arrow-left.arrow-left-right-1.arrow-right.arrow-up.arrow-up-down-1.check.check-circle.chevron-down.chevron-right.circle.city-6.close.copy.download.enter.error-circle.error-triangle.horizontal.image.info-circle.jump.layers.link.member.moon.panel-left.pantone.play.rectangle.refresh.robot-1.search.setting-1.sticky-note.sunny.swap.user-1.view-list`.split(`.`),c={adjustment:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M21 5L10 5M10 5C10 6.10457 9.10457 7 8 7C6.89543 7 6 6.10457 6 5M10 5C10 3.89543 9.10457 3 8 3C6.89543 3 6 3.89543 6 5M6 5L3 5M21 19H10M10 19C10 20.1046 9.10457 21 8 21C6.89543 21 6 20.1046 6 19M10 19C10 17.8954 9.10457 17 8 17C6.89543 17 6 17.8954 6 19M3 12H14M14 12C14 13.1046 14.8954 14 16 14C17.1046 14 18 13.1046 18 12M14 12C14 10.8954 14.8954 10 16 10C17.1046 10 18 10.8954 18 12M6 19H3M18 12H21`,"stroke-linecap":`square`}}]}],"arrow-down":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M17.5 13.6L12 19.1L6.5 13.6M12 17.85V4.85`,"stroke-linecap":`square`}}]}],"arrow-left":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M11 6.5L5.5 12L11 17.5M6.75 12H19.75`,"stroke-linecap":`square`}}]}],"arrow-left-right-1":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M15.5 4L19 7.5L15.5 11M17.75 7.5H5.5M8.5 20L5 16.5L8.5 13M6.25 16.5H18.5`,"stroke-linecap":`square`}}]}],"arrow-right":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M13 17.5L18.5 12L13 6.5M17.25 12L4.25 12`,"stroke-linecap":`square`}}]}],"arrow-up":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M17.5 10.5L12 5L6.5 10.5M12 6.25V19.25`,"stroke-linecap":`square`}}]}],"arrow-up-down-1":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M7.5 6.25V18.5M13 15.5L16.5 19L20 15.5M16.5 17.75V5.50001M11 8.5L7.5 5L4 8.5`,"stroke-linecap":`square`}}]}],check:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M19.5708 7.37842L10.3785 16.5708L5.42871 11.6211`,"stroke-linecap":`square`}}]}],"check-circle":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M16.5 9L10.5 15L7.5 12`,"stroke-linecap":`square`}}]}],"chevron-down":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M17.5 9.5L12 15L6.5 9.5`,"stroke-linecap":`square`}}]}],"chevron-right":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M9.5 17.5L15 12L9.5 6.5`,"stroke-linecap":`square`}}]}],circle:[{tag:`g`,attrs:{},children:[{tag:`circle`,attrs:{cx:`12`,cy:`12`,r:`10`,"stroke-linecap":`square`}}]}],"city-6":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M12 21V16M7 21H2V9H7V21ZM22 7V21H17V7H22Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M17 3H7V21H17V3Z`,"stroke-linecap":`square`}}]}],close:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M16.9503 7.05029L12.0005 12M12.0005 12L7.05078 16.9498M12.0005 12L16.9503 16.9498M12.0005 12L7.05078 7.05029`,"stroke-linecap":`square`}}]}],copy:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M10 10H21V21H10V10Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M14 6.5V3L3 3L3 14H6.5`,"stroke-linecap":`square`}}]}],download:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M16.5 10.5L12 15L7.5 10.5M12 13.75V4`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M20.5 15V20H3.5V15`,"stroke-linecap":`square`}}]}],enter:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M5.75 16H16C17.6569 16 19 14.6569 19 13L19 5M8 12.5L4.5 16L8 19.5`,"stroke-linecap":`square`}}]}],"error-circle":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M12 7.5V13M12 16.5H12.0039V16.5039H12V16.5Z`,"stroke-linecap":`square`}}]}],"error-triangle":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M12.0003 3L22.2194 20.7H1.78125L12.0003 3Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M12 10.5V14M12 17.5H12.0039V17.5039H12V17.5Z`,"stroke-linecap":`square`}}]}],horizontal:[{tag:`g`,attrs:{},children:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M3 11H21V21H3V11Z`}},{tag:`path`,attrs:{d:`M3 3H21V7H3V3Z`}}]}]}],image:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M3 16V3H21V21H20M3 16V21H20M3 16L9 10L20 21`}},{tag:`circle`,attrs:{cx:`15.75`,cy:`8.25`,r:`2`}}]}],"info-circle":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M12 16.5L12 11M12 7.5L11.9961 7.5L11.9961 7.49609L12 7.49609L12 7.5Z`,"stroke-linecap":`square`}}]}],jump:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M9 4L4 4L4 20L20 20L20 15`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M19.25 4.75L12 12M14 4H20L20 10`,"stroke-linecap":`square`}}]}],layers:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M4.5 6.125L12 3L19.5 6.125L12 9.25L4.5 6.125Z`}},{tag:`path`,attrs:{d:`M3 11.5005L12 15.3771L21 11.5005M21 17.5005L12 21.3771L3 17.5005`}}]}],link:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M11.6762 6.99023L13.9998 4.6666C15.4726 3.19382 17.8604 3.19382 19.3332 4.6666C20.806 6.13938 20.806 8.52723 19.3332 10L17.0096 12.3236M6.98974 11.6766L4.66611 14.0003C3.19333 15.4731 3.19333 17.8609 4.66611 19.3337C6.13889 20.8065 8.52675 20.8065 9.99953 19.3337L12.3232 17.0101M13.9985 9.99989L9.99847 14`,"stroke-linecap":`square`}}]}],member:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M16 20V19C16 16.7909 14.2091 15 12 15H5C2.79086 15 1 16.7909 1 19V20M12.5 7C12.5 9.20914 10.7091 11 8.5 11C6.29086 11 4.5 9.20914 4.5 7C4.5 4.79086 6.29086 3 8.5 3C10.7091 3 12.5 4.79086 12.5 7Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M15.5 11C17.7091 11 19.5 9.20914 19.5 7C19.5 4.79086 17.7091 3 15.5 3M23 20V19C23 16.7909 21.2091 15 19 15`,"stroke-linecap":`square`}}]}],moon:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M20.5387 14.8522C20.0408 14.9492 19.5263 15 19 15C14.5817 15 11 11.4183 11 7C11 5.54296 11.3194 4.17663 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C15.9737 21 19.3459 18.4248 20.5387 14.8522Z`}}]}],"panel-left":[{tag:`path`,attrs:{d:`M3 3H21V21H3V3Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M9 3V21`,"stroke-linecap":`square`}}],pantone:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M3.35389 10.3333L20.8245 10.3333L19.0009 5L3.35389 10.3333ZM3.35389 10.3333L17.1433 5.63318L14.1465 1.43164L2.99942 10.3359M3.35389 10.3333L2.99942 10.3359M2.99942 10.3359H2.5`}},{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M6.28516 15.1641H6.28906V15.168H6.28516V15.1641Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M22 10.333V19.9997L2 19.9997L2 10.333L22 10.333Z`,"stroke-linecap":`square`}}]}]}],play:[{tag:`path`,attrs:{fill:`currentColor`,d:`M18.25 11.9998L8.5 17.6289L8.5 6.37061L18.25 11.9998Z`}}],rectangle:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M3 3H21V21H3z`,"stroke-linecap":`square`}}]}],refresh:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M21.448 13C20.9483 17.7767 16.909 21.5 12 21.5C8.18227 21.5 4.89052 19.248 3.38065 16M2.5 20.5V15.5H5.5M2.55176 11C3.05145 6.22334 7.09079 2.5 11.9998 2.5C15.8175 2.5 19.1092 4.75197 20.6191 8M21.4998 3.5V8.5H18.4998`,"stroke-linecap":`square`}}]}],"robot-1":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M19.5 21V19.5C19.5 17.2909 17.7091 15.5 15.5 15.5H8.5C6.29086 15.5 4.5 17.2909 4.5 19.5V21M12 4V2M10 12H14C16.2091 12 18 10.2091 18 8C18 5.79086 16.2091 4 14 4H10C7.79086 4 6 5.79086 6 8C6 10.2091 7.79086 12 10 12ZM10.25 8C10.25 8.13807 10.1381 8.25 10 8.25C9.86193 8.25 9.75 8.13807 9.75 8C9.75 7.86193 9.86193 7.75 10 7.75C10.1381 7.75 10.25 7.86193 10.25 8ZM14 8.25C13.8619 8.25 13.75 8.13807 13.75 8C13.75 7.86193 13.8619 7.75 14 7.75C14.1381 7.75 14.25 7.86193 14.25 8C14.25 8.13807 14.1381 8.25 14 8.25Z`,"stroke-linecap":`square`}}]}],search:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M15.8027 15.8037L21.106 21.107`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M15.8033 15.8033C12.8744 18.7322 8.12563 18.7322 5.1967 15.8033C2.26777 12.8744 2.26777 8.12563 5.1967 5.1967C8.12563 2.26777 12.8744 2.26777 15.8033 5.1967C18.7322 8.12563 18.7322 12.8744 15.8033 15.8033Z`,"stroke-linecap":`square`}}]}],"setting-1":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M9.40811 4.95996L10.0001 2H14.0001L14.5921 4.95996C15.4027 5.25851 16.1475 5.69306 16.7989 6.23595L19.6604 5.26796L21.6604 8.73206L19.3922 10.7254C19.4632 11.1396 19.5001 11.5655 19.5001 12C19.5001 12.4345 19.4632 12.8604 19.3922 13.2747L21.6604 15.268L19.6604 18.7321L16.7989 17.7641C16.1475 18.3069 15.4027 18.7415 14.5921 19.04L14.0001 22H10.0001L9.40811 19.04C8.5975 18.7415 7.85268 18.3069 7.20131 17.7641L4.33984 18.7321L2.33984 15.268L4.60798 13.2747C4.53705 12.8604 4.5001 12.4345 4.5001 12C4.5001 11.5655 4.53705 11.1396 4.60797 10.7254L2.33984 8.73206L4.33984 5.26796L7.20129 6.23595C7.85266 5.69306 8.59749 5.25851 9.40811 4.95996Z`,"fill-rule":`evenodd`,"stroke-linecap":`square`,"clip-rule":`evenodd`}},{tag:`path`,attrs:{d:`M16 12C16 14.2091 14.2091 16 12 16C9.79086 16 8 14.2091 8 12C8 9.79086 9.79086 8 12 8C14.2091 8 16 9.79086 16 12Z`,"stroke-linecap":`square`}}]}],"sticky-note":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M20 14H14V20M3 3H21V14L14 21H3V3Z`,"stroke-linecap":`square`}},{tag:`path`,attrs:{d:`M7 9H17M7 13H10`,"stroke-linecap":`square`}}]}],sunny:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z`}},{tag:`path`,attrs:{d:`M12 21V22M12 2V3M3 12H2M22 12H21M5.63603 18.3635L4.92892 19.0706M19.0711 4.92848L18.364 5.63559M5.63601 5.63563L4.9289 4.92852M19.071 19.0707L18.3639 18.3636`,"stroke-linecap":`square`}}]}],swap:[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M21 14.5H4L9 19.5M3 9.5L20 9.5L15 4.5`,"stroke-linecap":`square`}}]}],"user-1":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M19.5 20V19C19.5 16.7909 17.7091 15 15.5 15H8.5C6.29086 15 4.5 16.7909 4.5 19V20M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z`,"stroke-linecap":`square`}}]}],"view-list":[{tag:`g`,attrs:{},children:[{tag:`path`,attrs:{d:`M3 5H21M3 12H21M3 19H21`,"stroke-linecap":`square`}}]}]},l=[...s];function u(e){return e.map(e=>({kind:`element`,tag:e.tag,attrs:e.attrs,children:e.children?u(e.children):[]}))}function d({ariaHidden:e=!0,id:t,mirrored:n,name:r,size:i=`md`,title:o}){let s=c[r];if(!s)throw Error(`Unknown icon name: ${r}`);let l=a(t),d=o?.trim();if(!e&&!d)throw Error(`title must be non-empty when ariaHidden is false.`);if(!e&&!l)throw Error(`id must be provided when ariaHidden is false.`);let f=e?void 0:`${l}-title`,p=[];return e||p.push({kind:`element`,tag:`title`,attrs:{id:f},children:[{kind:`text`,value:d}]}),p.push(...u(s)),{kind:`element`,tag:`svg`,attrs:{"aria-hidden":e?`true`:void 0,"aria-labelledby":f,class:`set-icon`,"data-mirrored":n,"data-size":i,fill:`none`,height:`24`,id:l,role:e?void 0:`img`,stroke:`currentColor`,"stroke-width":`1.75`,viewBox:`0 0 24 24`,xmlns:`http://www.w3.org/2000/svg`},children:p}}function f(e){return r(d(e))}var p={name:`icon`,description:"Use `icon` to render a Set icon.",output:{element:`svg`,class:`set-icon`},content:{kind:`none`},props:{ariaHidden:{default:!0,description:"Hides the icon from assistive technology. Decorative by default; set to false for a labelled icon (then `title` and `id` are required).",type:{kind:`boolean`}},id:{description:`DOM id.`,requiredWhen:"`ariaHidden` is false",type:{kind:`string`}},mirrored:{description:`Mirrors the icon horizontally.`,type:{kind:`enum`,values:[`always`,`rtl`]}},name:{description:`Set icon name.`,required:!0,type:{kind:`iconName`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`2xs`,`xs`,`sm`,`md`,`lg`,`fill`]}},title:{description:`Accessible title announced by assistive technology.`,requiredWhen:"`ariaHidden` is false",type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`aria-hidden`,condition:{kind:`when-truthy`,prop:`ariaHidden`},value:{kind:`literal`,text:`true`}},{target:{on:`host`},attribute:`data-mirrored`,condition:{kind:`when-provided`,prop:`mirrored`},value:{kind:`prop`,prop:`mirrored`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`fill`,condition:{kind:`always`},value:{kind:`literal`,text:`none`}},{target:{on:`host`},attribute:`height`,condition:{kind:`always`},value:{kind:`literal`,text:`24`}},{target:{on:`host`},attribute:`role`,condition:{kind:`not`,of:{kind:`when-truthy`,prop:`ariaHidden`}},value:{kind:`literal`,text:`img`}},{target:{on:`host`},attribute:`stroke`,condition:{kind:`always`},value:{kind:`literal`,text:`currentColor`}},{target:{on:`host`},attribute:`stroke-width`,condition:{kind:`always`},value:{kind:`literal`,text:`1.75`}},{target:{on:`host`},attribute:`viewBox`,condition:{kind:`always`},value:{kind:`literal`,text:`0 0 24 24`}},{target:{on:`host`},attribute:`xmlns`,condition:{kind:`always`},value:{kind:`literal`,text:`http://www.w3.org/2000/svg`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function m({id:e,label:t,size:n=`md`,tone:r=`default`}={}){let i=a(e),o=[{kind:`element`,tag:`svg`,attrs:{"aria-hidden":`true`,xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 600 1200`,fill:`currentColor`},children:[[60,60],[60,360],[60,660],[60,960],[360,960],[360,660],[360,360],[360,60]].map(([e,t])=>({kind:`element`,tag:`rect`,attrs:{class:`cell`,x:String(e),y:String(t),width:`180`,height:`180`},children:[]}))}];return t&&o.push({kind:`element`,tag:`span`,attrs:{class:`visually-hidden`},children:[{kind:`text`,value:t}]}),{kind:`element`,tag:`span`,attrs:{class:`set-spinner`,"data-size":n,"data-tone":r===`brand`?`brand`:void 0,id:i,role:t?`status`:void 0},children:o}}function h(e={}){return r(m(e))}var g={name:`spinner`,description:"Use `spinner` to indicate loading or in-progress state.",output:{element:`span`,class:`set-spinner`},content:{kind:`text`,prop:`label`},props:{id:{description:`DOM id.`,type:{kind:`string`}},label:{description:`Accessible status label announced to assistive tech.`,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`2xs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`fill`]}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`brand`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-equals`,prop:`tone`,to:`brand`},value:{kind:`literal`,text:`brand`}},{target:{on:`host`},attribute:`role`,condition:{kind:`when-non-empty`,prop:`label`},value:{kind:`literal`,text:`status`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},_={sm:`xs`,md:`sm`,lg:`md`};function v(e){return{"aria-disabled":e===`busy`?`true`:void 0,"data-activity":e||void 0}}function y(e){let{activity:t,appearance:n=`outline`,controls:r,disabled:i,disclosure:a,form:o,haspopup:s,id:c,icon:l,iconMirrored:u,iconPlacement:d=`start`,label:p,labelVisibility:m=`visible`,name:g,size:y=`md`,tone:b=`default`,type:x,value:S}=e,C=l||void 0,w=!!C;if(m!==`visible`&&!w)throw Error(`labelVisibility requires icon when label is not visible.`);let T=w&&C?{kind:`element`,tag:`span`,attrs:{class:`icon-wrapper`},children:[{kind:`raw`,html:f({ariaHidden:!0,mirrored:u,name:C,size:`fill`})},...t?[{kind:`raw`,html:h({size:`fill`})}]:[]]}:null,E={kind:`element`,tag:`span`,attrs:{class:`label`},children:[{kind:`text`,value:p}]},D=t?{kind:`element`,tag:`span`,attrs:{class:`status`},children:[{kind:`text`,value:`, busy`}]}:null,O=t&&!w?{kind:`element`,tag:`span`,attrs:{class:`spinner-overlay`},children:[{kind:`raw`,html:h({size:_[y]})}]}:null,k=T?d===`end`?[E,T]:[T,E]:O?[O,E]:[E],A=D?[...k,D]:k,j=v(t);return{kind:`element`,tag:`button`,attrs:{"aria-controls":a&&r||void 0,"aria-disabled":j[`aria-disabled`],"aria-expanded":a?`false`:void 0,"aria-haspopup":s||void 0,class:`set-button`,"data-activity":j[`data-activity`],"data-appearance":n,"data-label-visibility":m===`visible`?void 0:m,"data-size":y,"data-tone":b===`neutral`?`neutral`:void 0,disabled:!!i,form:o||void 0,id:c||void 0,name:g||void 0,type:x||`button`,value:S||void 0},children:A}}function b(e){return r(y(e))}function x(e,t){let n=v(t??void 0);for(let[t,r]of Object.entries(n))r==null?e.removeAttribute(t):e.setAttribute(t,r)}var S={name:`button`,description:"Use `button` to let users trigger actions.",output:{element:`button`,class:`set-button`},content:{kind:`text`,prop:`label`},props:{activity:{description:'Opts into the activity indicator and sets its state. `idle` primes it — the spinner and a hidden ", busy" status are rendered but not shown; `busy` reveals the spinner and appends ", busy" to the accessible name. The button stays visually at rest (`aria-disabled` is emitted but not styled as disabled), so guarding activation and any live-region announcement are the consumer\'s responsibility.',type:{kind:`enum`,values:[`idle`,`busy`]}},appearance:{default:`outline`,description:`Visual appearance.`,type:{kind:`enum`,values:[`outline`,`solid`,`text`]}},controls:{description:"`id` of the element this button controls.",ignoredWhen:"`disclosure` is false",type:{kind:`string`}},disabled:{default:!1,description:`Prevents interaction.`,type:{kind:`boolean`}},disclosure:{default:!1,description:`Marks the button as a disclosure toggle for another element.`,type:{kind:`boolean`}},form:{description:"`id` of the form this button belongs to.",type:{kind:`string`}},haspopup:{description:`Signals that activating the button opens a popup of this type.`,type:{kind:`enum`,values:[`menu`]}},icon:{description:`Icon shown alongside the label.`,requiredWhen:"`labelVisibility` is hidden or hiddenBelowTablet",type:{kind:`iconName`}},iconMirrored:{description:`Mirrors the icon horizontally.`,ignoredWhen:"`icon` is omitted",type:{kind:`enum`,values:[`always`,`rtl`]}},iconPlacement:{default:`start`,description:`Where the icon sits relative to the label.`,ignoredWhen:"`icon` is omitted",type:{kind:`enum`,values:[`start`,`end`]}},id:{description:"`id` for the button.",type:{kind:`string`}},label:{description:`Accessible label.`,required:!0,type:{kind:`text`}},labelVisibility:{default:`visible`,description:`How the label is shown. Hidden values require an icon.`,type:{kind:`enum`,values:[`visible`,`hidden`,`hiddenBelowTablet`]}},name:{description:`Name submitted with the form.`,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`,`lg`]}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`neutral`]}},type:{default:`button`,description:`Native button type.`,type:{kind:`enum`,values:[`button`,`submit`]}},value:{description:`Value submitted with the form.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}},{target:{on:`host`},attribute:`data-appearance`,condition:{kind:`always`},value:{kind:`prop`,prop:`appearance`}},{target:{on:`host`},attribute:`data-label-visibility`,condition:{kind:`when-in`,prop:`labelVisibility`,values:[`hidden`,`hiddenBelowTablet`]},value:{kind:`prop`,prop:`labelVisibility`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-equals`,prop:`tone`,to:`neutral`},value:{kind:`literal`,text:`neutral`}},{target:{on:`host`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`host`},attribute:`aria-disabled`,condition:{kind:`when-equals`,prop:`activity`,to:`busy`},value:{kind:`literal`,text:`true`}},{target:{on:`host`},attribute:`data-activity`,condition:{kind:`when-provided`,prop:`activity`},value:{kind:`prop`,prop:`activity`}},{target:{on:`host`},attribute:`aria-expanded`,condition:{kind:`when-truthy`,prop:`disclosure`},value:{kind:`literal`,text:`false`}},{target:{on:`host`},attribute:`aria-controls`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`disclosure`},{kind:`when-non-empty`,prop:`controls`}]},value:{kind:`prop`,prop:`controls`}},{target:{on:`host`},attribute:`aria-haspopup`,condition:{kind:`when-provided`,prop:`haspopup`},value:{kind:`prop`,prop:`haspopup`}},{target:{on:`host`},attribute:`form`,condition:{kind:`when-non-empty`,prop:`form`},value:{kind:`prop`,prop:`form`}},{target:{on:`host`},attribute:`name`,condition:{kind:`when-non-empty`,prop:`name`},value:{kind:`prop`,prop:`name`}},{target:{on:`host`},attribute:`type`,condition:{kind:`always`},value:{kind:`prop`,prop:`type`}},{target:{on:`host`},attribute:`value`,condition:{kind:`when-non-empty`,prop:`value`},value:{kind:`prop`,prop:`value`}}]}},C=`set-alert`,w=`set-alert-before-dismiss`,T=`set-alert-dismiss`,E=`Dismiss alert`;function D(e,t){let n=t.createElement(`div`);return n.setAttribute(`data-part`,`close`),n.innerHTML=b({appearance:`text`,icon:`close`,label:e,labelVisibility:`hidden`,size:`sm`,tone:`neutral`}),n}function O(e){switch(e){case`success`:return`check-circle`;case`warning`:return`error-triangle`;case`error`:return`error-circle`;case`info`:return`info-circle`;default:return`sticky-note`}}function k(e){return e===`warning`||e===`error`?`alert`:`status`}function A({dismissible:e,dismissibleLabel:t=E,id:n,inlineSize:r=`full`,message:i,size:o=`md`,tone:s,title:c}){let l=a(n),u=t.trim()===``?E:t,f=[];return c&&f.push({kind:`element`,tag:`p`,attrs:{class:`title`},children:[{kind:`text`,value:c}]}),f.push({kind:`element`,tag:`p`,attrs:{class:`message`},children:[{kind:`text`,value:i}]}),{kind:`element`,tag:C,attrs:{class:`set-alert`,"data-dismissible":e,"data-dismissible-label":e?u:void 0,"data-inline-size":r===`fit`?`fit`:void 0,"data-size":o,"data-tone":s||void 0,id:l,role:k(s)},children:[{kind:`element`,tag:`div`,attrs:{class:`icon-wrapper`},children:[d({ariaHidden:!0,name:O(s),size:o})]},{kind:`element`,tag:`div`,attrs:{class:`content`},children:f}]}}function j(e){return r(A(e))}function M(){if(customElements.get(`set-alert`))return;class e extends HTMLElement{#e=e=>{let t=e.target;if(!(t instanceof Element)||!t.closest(`[data-part="close"]`))return;let n=new CustomEvent(w,{bubbles:!0,cancelable:!0});this.dispatchEvent(n)&&(this.dispatchEvent(new CustomEvent(T,{bubbles:!0})),this.remove())};connectedCallback(){this.removeEventListener(`click`,this.#e),this.hasAttribute(`data-dismissible`)&&(this.#t(),this.addEventListener(`click`,this.#e))}disconnectedCallback(){this.removeEventListener(`click`,this.#e)}#t(){this.querySelector(`[data-part="close"]`)||this.append(D(this.getAttribute(`data-dismissible-label`)??E,this.ownerDocument))}}customElements.define(C,e)}var N={name:`alert`,description:"Use `alert` to surface short, important messages.",output:{element:C,class:`set-alert`},content:{kind:`slots`,slots:[{prop:`title`,kind:`text`},{prop:`message`,kind:`text`}]},props:{dismissible:{default:!1,description:`Shows a dismiss control that removes the alert.`,type:{kind:`boolean`}},dismissibleLabel:{default:E,description:`Accessible label for the dismiss control.`,ignoredWhen:"`dismissible` is false",type:{kind:`string`}},id:{description:`DOM id.`,type:{kind:`string`}},inlineSize:{default:`full`,description:`Whether the alert fills its container or shrinks to fit.`,type:{kind:`enum`,values:[`full`,`fit`]}},message:{description:`Body text of the alert.`,required:!0,type:{kind:`text`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},title:{description:`Bold text above the message.`,type:{kind:`text`}},tone:{description:`Semantic tone.`,type:{kind:`enum`,values:[`info`,`success`,`warning`,`error`]}}},events:{[w]:{bubbles:!0,cancelable:!0,description:"Fired before the alert is removed by a dismiss action. Call `preventDefault()` to keep the alert mounted."},[T]:{bubbles:!0,description:`Fired after the alert has been removed by an allowed dismiss action.`}},rules:{attributes:[{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-provided`,prop:`tone`},value:{kind:`prop`,prop:`tone`}},{target:{on:`host`},attribute:`role`,condition:{kind:`when-in`,prop:`tone`,values:[`warning`,`error`]},value:{kind:`literal`,text:`alert`}},{target:{on:`host`},attribute:`role`,condition:{kind:`not`,of:{kind:`when-in`,prop:`tone`,values:[`warning`,`error`]}},value:{kind:`literal`,text:`status`}},{target:{on:`host`},attribute:`data-dismissible`,condition:{kind:`when-truthy`,prop:`dismissible`}},{target:{on:`host`},attribute:`data-dismissible-label`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`dismissible`},{kind:`when-non-empty`,prop:`dismissibleLabel`}]},value:{kind:`prop`,prop:`dismissibleLabel`}},{target:{on:`host`},attribute:`data-dismissible-label`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`dismissible`},{kind:`not`,of:{kind:`when-non-empty`,prop:`dismissibleLabel`}}]},value:{kind:`literal`,text:E}},{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function P(e){if(e)return e===!0||e}function F(e){let{appearance:t=`text`,current:n,download:r,href:i,id:o,icon:s,iconPlacement:c=`start`,label:l,labelVisibility:u=`visible`,rel:d,size:f=`md`,target:p,tone:m=`default`,underline:h}=e,g=a(o),_=s?.trim()||void 0;if(u!==`visible`&&!_)throw Error(`labelVisibility requires icon when label is not visible.`);let v=P(r),y=_?{kind:`element`,tag:`span`,attrs:{class:`icon-wrapper`},children:[{kind:`raw`,html:_}]}:null,b={kind:`element`,tag:`span`,attrs:{class:`label`},children:[{kind:`text`,value:l}]};return{kind:`element`,tag:`a`,attrs:{"aria-current":n,class:`set-link`,"data-appearance":t===`text`?void 0:t,"data-label-visibility":u===`visible`?void 0:u,"data-size":f,"data-tone":m===`neutral`?`neutral`:void 0,"data-underline":h&&t===`text`?!0:void 0,download:v,href:i,id:g,rel:v?void 0:d||void 0,target:v?void 0:p||void 0},children:y?c===`end`?[b,y]:[y,b]:[b]}}function I(e){return r(F(e))}var ee={name:`link`,description:"Use `link` to navigate to another page or resource.",output:{element:`a`,class:`set-link`},content:{kind:`slots`,slots:[{prop:`label`,kind:`text`},{prop:`icon`,kind:`html`}]},props:{appearance:{default:`text`,description:"Visual appearance. `text` is a standard link; `outline` and `solid` give button-styled treatments. ",type:{kind:`enum`,values:[`outline`,`solid`,`text`]}},current:{description:"Marks the link as the current item in its set; emits `aria-current` with this value.",type:{kind:`enum`,values:[`page`,`true`]}},download:{description:"Saves the target instead of navigating. Pass a filename or `true`.",type:{kind:`union`,variants:[{kind:`boolean`},{kind:`string`}]}},href:{description:`Link destination.`,required:!0,type:{kind:`string`}},id:{description:`DOM id.`,type:{kind:`string`}},icon:{description:`Icon markup shown alongside the label. Set icon component, or SVG markup from https://simpleicons.org/ for third-party logos.`,requiredWhen:"`labelVisibility` is hidden or hiddenBelowTablet",type:{kind:`html`}},iconPlacement:{default:`start`,description:`Where the icon sits relative to the label.`,ignoredWhen:"`icon` is omitted",type:{kind:`enum`,values:[`start`,`end`]}},label:{description:`Accessible label.`,required:!0,type:{kind:`text`}},labelVisibility:{default:`visible`,description:`How the label is shown. Hidden values require an icon.`,type:{kind:`enum`,values:[`visible`,`hidden`,`hiddenBelowTablet`]}},rel:{description:"Explicit `rel` attribute.",ignoredWhen:"`download` is set",type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`,`lg`]}},target:{description:`Where to open the link.`,ignoredWhen:"`download` is set",type:{kind:`enum`,values:[`_blank`,`_parent`,`_self`,`_top`]}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`neutral`]}},underline:{default:!1,description:`Underlines the link.`,ignoredWhen:"`appearance` is not `text`",type:{kind:`boolean`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`href`,condition:{kind:`always`},value:{kind:`prop`,prop:`href`}},{target:{on:`host`},attribute:`aria-current`,condition:{kind:`when-provided`,prop:`current`},value:{kind:`prop`,prop:`current`}},{target:{on:`host`},attribute:`download`,condition:{kind:`when-truthy`,prop:`download`},value:{kind:`prop`,prop:`download`}},{target:{on:`host`},attribute:`rel`,condition:{kind:`all`,of:[{kind:`when-non-empty`,prop:`rel`},{kind:`not`,of:{kind:`when-truthy`,prop:`download`}}]},value:{kind:`prop`,prop:`rel`}},{target:{on:`host`},attribute:`target`,condition:{kind:`all`,of:[{kind:`when-provided`,prop:`target`},{kind:`not`,of:{kind:`when-truthy`,prop:`download`}}]},value:{kind:`prop`,prop:`target`}},{target:{on:`host`},attribute:`data-appearance`,condition:{kind:`when-in`,prop:`appearance`,values:[`outline`,`solid`]},value:{kind:`prop`,prop:`appearance`}},{target:{on:`host`},attribute:`data-label-visibility`,condition:{kind:`when-in`,prop:`labelVisibility`,values:[`hidden`,`hiddenBelowTablet`]},value:{kind:`prop`,prop:`labelVisibility`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-equals`,prop:`tone`,to:`neutral`},value:{kind:`literal`,text:`neutral`}},{target:{on:`host`},attribute:`data-underline`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`underline`},{kind:`when-equals`,prop:`appearance`,to:`text`}]}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},L=`set-banner`,R=`set-banner-before-dismiss`,z=`set-banner-dismiss`,B=`Dismiss banner`;function te(e,t){let n=t.createElement(`div`);return n.setAttribute(`data-part`,`close`),n.innerHTML=b({appearance:`text`,icon:`close`,label:e,labelVisibility:`hidden`,size:`sm`,tone:`neutral`}),n}function ne({actionHref:e,actionLabel:t,dismissible:n=!0,dismissibleLabel:r=B,id:i,message:o,tone:s}){if(!!e!=!!t)throw Error(`actionHref and actionLabel must be provided together.`);let c=a(i),l=r.trim()===``?B:r,u=[{kind:`text`,value:o}];return e&&t&&(u.push({kind:`text`,value:` `}),u.push(F({href:e,label:t,underline:!0}))),{kind:`element`,tag:L,attrs:{class:`set-banner`,"data-set-content-theme":`dark`,"data-set-surface":`default`,"data-dismissible":n,"data-dismissible-label":n?l:void 0,"data-tone":s||void 0,id:c},children:[{kind:`element`,tag:`p`,attrs:{class:`message`},children:u}]}}function re(e){return r(ne(e))}function ie(){if(customElements.get(`set-banner`))return;class e extends HTMLElement{#e=e=>{let t=e.target;if(!(t instanceof Element)||!t.closest(`[data-part="close"]`))return;let n=new CustomEvent(R,{bubbles:!0,cancelable:!0});this.dispatchEvent(n)&&(this.dispatchEvent(new CustomEvent(z,{bubbles:!0})),this.remove())};connectedCallback(){this.removeEventListener(`click`,this.#e),this.hasAttribute(`data-dismissible`)&&(this.#t(),this.addEventListener(`click`,this.#e))}disconnectedCallback(){this.removeEventListener(`click`,this.#e)}#t(){this.querySelector(`[data-part="close"]`)||this.append(te(this.getAttribute(`data-dismissible-label`)??B,this.ownerDocument))}}customElements.define(L,e)}var ae={name:`banner`,description:"Use `banner` to display a prominent site-wide message.",output:{element:L,class:`set-banner`},content:{kind:`text`,prop:`message`},props:{actionHref:{description:"URL for an inline link action rendered after the `message`.",requiredWhen:"`actionLabel` is provided",type:{kind:`string`}},actionLabel:{description:"Text label for an inline link action rendered after the `message`.",requiredWhen:"`actionHref` is provided",type:{kind:`text`}},dismissible:{default:!0,description:`Shows a dismiss control that removes the banner.`,type:{kind:`boolean`}},dismissibleLabel:{default:B,description:`Accessible label for the dismiss control.`,ignoredWhen:"`dismissible` is false",type:{kind:`string`}},id:{description:`DOM id.`,type:{kind:`string`}},message:{description:`Body text of the banner.`,required:!0,type:{kind:`text`}},tone:{description:`Semantic tone.`,type:{kind:`enum`,values:[`info`,`warning`,`error`]}}},events:{[R]:{bubbles:!0,cancelable:!0,description:"Fired before the banner is removed by a dismiss action. Call `preventDefault()` to keep the banner mounted."},[z]:{bubbles:!0,description:`Fired after the banner has been removed by an allowed dismiss action.`}},rules:{attributes:[{target:{on:`host`},attribute:`data-set-content-theme`,condition:{kind:`always`},value:{kind:`literal`,text:`dark`}},{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`always`},value:{kind:`literal`,text:`default`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-provided`,prop:`tone`},value:{kind:`prop`,prop:`tone`}},{target:{on:`host`},attribute:`data-dismissible`,condition:{kind:`when-truthy`,prop:`dismissible`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},V=`set-image`;function oe({adaptive:e,alt:t=``,aspectRatio:n,fit:r=`intrinsic`,gravity:i=`C`,height:o,id:s,lazy:c,leadSrc:l,priority:u,radius:d,shadow:f,sizes:p,sources:m,src:h,srcSet:g,stillSrc:_,width:v}){let y=r===`cover`,b=a(s),x=h.trim(),S=g?.trim(),C=l?.trim(),w=_?.trim(),T=p?.trim(),E=m?.map((e,t)=>{let n=e.srcSet.trim(),r=e.media?.trim(),i=e.type?.trim(),a=e.sizes?.trim(),o=e.leadSrc?.trim(),s=e.stillSrc?.trim();if(!n)throw Error(`sources[${t}].srcSet must be non-empty.`);return{height:e.height,leadSrc:o||void 0,media:r||void 0,sizes:a||void 0,srcSet:n,stillSrc:s||void 0,type:i||void 0,width:e.width}})||[];if(!x)throw Error(`src must be a non-empty string.`);if(e&&[x,S,...E.map(e=>e.srcSet)].some(e=>e?.includes(`#`)))throw Error(`adaptive sources must not contain URL fragments.`);let D=!!w,O=!!(D&&e),k=!!(D&&C),A=!!C||E.some(e=>e.leadSrc);if(!D&&A)throw Error(`leadSrc requires a stillSrc.`);if(!D&&E.some(e=>e.stillSrc))throw Error(`sources stillSrc requires a top-level stillSrc.`);if(D){let t=[x,S,C,...E.flatMap(e=>[e.srcSet,e.leadSrc])].filter(e=>!!e),n=t.filter(e=>e.includes(`{scheme}`));if(e&&n.length!==t.length)throw Error(`adaptive animated sources must contain a {scheme} placeholder.`);if(!e&&n.length>0)throw Error(`the {scheme} placeholder requires adaptive to enable light/dark.`);if([w,...E.map(e=>e.stillSrc)].filter(e=>!!e).some(e=>e.includes(`#`)))throw Error(`stillSrc must not contain URL fragments.`)}let j=(e,t)=>e.split(/,\s+/).map(e=>{let[n,...r]=e.trim().split(/\s+/);if(!n||r.length>1)throw Error(`adaptive srcSet candidates must be a URL plus at most one descriptor, separated by a comma and whitespace.`);return[`${n}#${t}`,...r].join(` `)}).join(`, `),M=e=>{let n={kind:`element`,tag:`img`,attrs:{alt:t,class:`img`,"data-scheme":e&&E.length===0?e:void 0,fetchpriority:u?`high`:void 0,height:y?void 0:o?String(o):void 0,loading:c&&!u?`lazy`:void 0,sizes:E.length>0?void 0:T||void 0,src:e?`${x}#${e}`:x,srcset:S&&e?j(S,e):S||void 0,width:y?void 0:v?String(v):void 0},children:[]};if(E.length===0)return n;let r=E.map(t=>({kind:`element`,tag:`source`,attrs:{height:t.height?String(t.height):void 0,media:t.media,sizes:t.sizes,srcset:e?j(t.srcSet,e):t.srcSet,type:t.type,width:t.width?String(t.width):void 0},children:[]}));return{kind:`element`,tag:`picture`,attrs:{"data-scheme":e},children:[...r,n]}},N=`(prefers-reduced-motion: reduce)`,P=(e,t)=>t?e.replaceAll(`{scheme}`,t):e,F=(e,t)=>t?`${e}#${t}`:e,I=e=>{let n=E.filter(e=>e.stillSrc).map(t=>({kind:`element`,tag:`source`,attrs:{height:t.height?String(t.height):void 0,media:t.media?`${N} and ${t.media}`:N,srcset:F(t.stillSrc,e),width:t.width?String(t.width):void 0},children:[]}));n.push({kind:`element`,tag:`source`,attrs:{media:N,srcset:F(w,e)},children:[]});let r=E.map(t=>({kind:`element`,tag:`source`,attrs:{height:t.height?String(t.height):void 0,media:t.media,sizes:t.sizes,srcset:P(t.srcSet,e),type:t.type,width:t.width?String(t.width):void 0},children:[]})),i={kind:`element`,tag:`img`,attrs:{alt:t,class:`img`,fetchpriority:u?`high`:void 0,height:y?void 0:o?String(o):void 0,loading:c&&!u?`lazy`:void 0,sizes:E.length>0?void 0:T||void 0,src:P(x,e),srcset:S?P(S,e):void 0,width:y?void 0:v?String(v):void 0},children:[]};return{kind:`element`,tag:`picture`,attrs:{"data-scheme":e},children:[...n,...r,i]}},ee=e=>{let t=`(prefers-reduced-motion: no-preference)`,n=E.map(n=>{if(n.leadSrc)return{kind:`element`,tag:`source`,attrs:{height:n.height?String(n.height):void 0,media:n.media?`${t} and ${n.media}`:t,sizes:n.sizes,srcset:P(n.leadSrc,e),type:n.type,width:n.width?String(n.width):void 0},children:[]}}).filter(e=>!!e);n.push({kind:`element`,tag:`source`,attrs:{media:t,sizes:E.length>0?void 0:T||void 0,srcset:P(C,e)},children:[]});let r={kind:`element`,tag:`img`,attrs:{alt:``,class:`img`,height:y?void 0:o?String(o):void 0,src:F(w,e),width:y?void 0:v?String(v):void 0},children:[]};return{kind:`element`,tag:`picture`,attrs:{"data-scheme":e,"data-layer":`lead`},children:[...n,r]}},L=e=>k?[I(e),ee(e)]:[I(e)],R=D?O?[...L(`light`),...L(`dark`)]:L():e?[M(`light`),M(`dark`)]:[M()],z=[];return o&&z.push(`--set-image-block-size: ${o/16}rem`),v&&z.push(`--set-image-inline-size: ${v/16}rem`),{kind:`element`,tag:V,attrs:{class:`set-image`,"data-adaptive":!!e,"data-animated":!!D,"data-sequenced":k,"data-aspect-ratio":y&&!o?n:void 0,"data-fluid":r===`fluid`,"data-gravity":y&&i!==`C`?i:void 0,"data-shadow":!!f,"data-object-fit":y?`cover`:void 0,"data-radius":!!d,id:b,style:z.length>0?z.join(`; `):void 0},children:R}}function se(e){return r(oe(e))}function ce(){if(customElements.get(`set-image`))return;class e extends HTMLElement{connectedCallback(){let e=this.querySelectorAll(`[data-layer="lead"]`);if(e.length!==0&&!this.ownerDocument.defaultView?.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches)for(let t of e)this.#e(t)}#e(e){let t=e.querySelector(`img`);if(!t)return;let n=()=>{e.setAttribute(`data-sequencing`,``)};t.complete&&t.naturalWidth>0?n():(t.addEventListener(`load`,n,{once:!0}),t.addEventListener(`error`,n,{once:!0}))}}customElements.define(V,e)}var le={name:`image`,description:"Use `image` to render a responsive image with intrinsic, fluid, or cover fit, and optional art-directed `sources`.",output:{element:V,class:`set-image`},content:{kind:`none`},props:{adaptive:{default:!1,description:"Shows the image's light or dark variant to match the surrounding color scheme. Use with adaptive assets exported from Screen, which carry both variants in one file; the component selects one by adding `#light`/`#dark` to the URL. With an animated image (opted in by `stillSrc`), it pairs light/dark webp instead, via a `{scheme}` placeholder in the URLs.",type:{kind:`boolean`}},alt:{default:``,description:`Alternative text. Leave empty for decorative images.`,type:{kind:`string`}},gravity:{default:`C`,description:`Focal point used when cropping.`,ignoredWhen:'`fit` is not `"cover"`',type:{kind:`enum`,values:[`N`,`NE`,`E`,`SE`,`S`,`SW`,`W`,`NW`,`C`]}},radius:{default:!1,description:`Applies the default corner radius.`,type:{kind:`boolean`}},aspectRatio:{description:`Aspect ratio applied to the wrapper.`,ignoredWhen:'`fit` is not `"cover"`, or `height` is set',type:{kind:`enum`,values:[`1:1`,`4:5`,`3:2`,`16:9`,`21:9`]}},fit:{default:`intrinsic`,description:"Layout mode. `intrinsic` renders at the image's own dimensions, `fluid` scales to the container's full inline size at the active source's aspect ratio, `cover` renders a cropped fill (`object-fit: cover`) sized by the wrapper. For `fluid`, provide candidates sized for large viewports via `srcSet`/`sources` so upscaled rendering stays sharp.",type:{kind:`enum`,values:[`intrinsic`,`fluid`,`cover`]}},shadow:{default:!1,description:`Applies a drop shadow to the image.`,type:{kind:`boolean`}},height:{description:"Height in pixels. Under `intrinsic` and `fluid`, an aspect-ratio hint — with `width`, reserves the correctly shaped box before load; rendered height follows the aspect ratio. Under `cover`, the wrapper's block size, overriding `aspectRatio`.",type:{kind:`number`}},id:{description:`DOM id.`,type:{kind:`string`}},lazy:{default:!1,description:`Defers loading until the image is near the viewport.`,type:{kind:`boolean`}},priority:{default:!1,description:`Marks the image as high priority for fetch.`,type:{kind:`boolean`}},sizes:{description:"`sizes` attribute used with `srcSet`.",ignoredWhen:"`sources` are provided",type:{kind:`string`}},sources:{description:"Responsive sources rendered inside a `<picture>`.",type:{kind:`array`,itemShape:{height:{description:`Intrinsic height in pixels.`,type:{kind:`number`}},media:{description:"`media` condition evaluated for the source.",type:{kind:`string`}},sizes:{description:"`sizes` attribute for the source.",type:{kind:`string`}},srcSet:{description:`Candidate sources for this media entry.`,required:!0,type:{kind:`string`}},leadSrc:{description:`Intro overlay for this source in an animated sequence.`,type:{kind:`string`}},stillSrc:{description:`Reduced-motion still for this source's animated asset. For a light/dark still, use an adaptive SVG.`,type:{kind:`string`}},type:{description:`MIME type for the source resources.`,type:{kind:`string`}},width:{description:`Intrinsic width in pixels.`,type:{kind:`number`}}}}},srcSet:{description:`Candidate sources for the fallback image.`,type:{kind:`string`}},leadSrc:{description:"An intro overlay that sequences an animated image (requires `stillSrc`): `leadSrc` plays once, then the component reveals `src` after a fixed hold. Follows the same `{scheme}` rules as animated sources (see `stillSrc`).",type:{kind:`string`}},stillSrc:{description:"Reduced-motion still; providing it marks the image as animated (e.g. an animated `webp` in `src`). The still is shown when the user prefers reduced motion. Any image works; for a light/dark still use an adaptive SVG exported from Screen, which the component selects with `#light`/`#dark` when combined with `adaptive`. With `adaptive`, the animated `src`/`srcSet`/`sources` URLs carry no Cloudinary version and a `{scheme}` placeholder — matching Screen's animated exports — which the component substitutes across a light/dark pair; without it, a single unthemed animated asset renders. Add a `leadSrc` to sequence: it plays once as an overlay, then reveals `src` after a fixed hold.",type:{kind:`string`}},src:{description:`Image source URL.`,required:!0,type:{kind:`string`}},width:{description:"Width in pixels. Under `intrinsic`, the rendered width, capped at the container; under `fluid`, an aspect-ratio hint; under `cover`, the wrapper's inline size (`aspectRatio` still derives the block size while `height` is unset).",type:{kind:`number`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-adaptive`,condition:{kind:`when-truthy`,prop:`adaptive`}},{target:{on:`host`},attribute:`data-animated`,condition:{kind:`when-non-empty`,prop:`stillSrc`}},{target:{on:`host`},attribute:`data-sequenced`,condition:{kind:`when-non-empty`,prop:`leadSrc`}},{target:{on:`host`},attribute:`data-object-fit`,condition:{kind:`when-equals`,prop:`fit`,to:`cover`},value:{kind:`literal`,text:`cover`}},{target:{on:`host`},attribute:`data-shadow`,condition:{kind:`when-truthy`,prop:`shadow`}},{target:{on:`host`},attribute:`data-radius`,condition:{kind:`when-truthy`,prop:`radius`}},{target:{on:`host`},attribute:`data-fluid`,condition:{kind:`when-equals`,prop:`fit`,to:`fluid`}},{target:{on:`descendant`,selector:`img`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`img`}},{target:{on:`descendant`,selector:`img`},attribute:`alt`,condition:{kind:`always`},value:{kind:`prop`,prop:`alt`}},{target:{on:`descendant`,selector:`img`},attribute:`src`,condition:{kind:`always`},value:{kind:`template`,pattern:`{src}`}},{target:{on:`descendant`,selector:`img`},attribute:`srcset`,condition:{kind:`when-non-empty`,prop:`srcSet`},value:{kind:`prop`,prop:`srcSet`}},{target:{on:`descendant`,selector:`img`},attribute:`fetchpriority`,condition:{kind:`when-truthy`,prop:`priority`},value:{kind:`literal`,text:`high`}},{target:{on:`descendant`,selector:`img`},attribute:`loading`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`lazy`},{kind:`not`,of:{kind:`when-truthy`,prop:`priority`}}]},value:{kind:`literal`,text:`lazy`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},H=`set-lightswitch`,ue=`set-lightswitch-change`,U=`set-theme`,de=`Switch to dark theme`,fe=`Switch to light theme`;function pe(e){return e===`dark`?`light`:`dark`}function me(e){return e===`dark`?`moon`:`sunny`}function he(e,t){return{kind:`element`,tag:`span`,attrs:{class:`option`,"data-option":e},children:[{kind:`element`,tag:`span`,attrs:{class:`icon-wrapper`},children:[d({ariaHidden:!0,name:me(e),size:`fill`})]},{kind:`element`,tag:`span`,attrs:{class:`label`},children:[{kind:`text`,value:t}]}]}}function ge({appearance:e=`text`,id:t,labelDark:n=de,labelLight:r=fe,size:i=`md`}){let o=a(t),s=n.trim()===``?de:n,c=r.trim()===``?fe:r;return{kind:`element`,tag:H,attrs:{class:`set-lightswitch`,id:o},children:[{kind:`element`,tag:`button`,attrs:{class:`toggle`,"data-appearance":e,"data-size":i,type:`button`},children:[he(`dark`,s),he(`light`,c)]}]}}function _e(e){return r(ge(e))}function ve(){if(customElements.get(`set-lightswitch`))return;class e extends HTMLElement{#e=e=>{let t=e.target;if(!(t instanceof Element)||!t.closest(`button`))return;let n=pe(this.#c());n===this.#a()?this.#i():this.#r(n),this.#l(),this.dispatchEvent(new CustomEvent(ue,{bubbles:!0,detail:{stored:!!this.#n(),theme:n}}))};connectedCallback(){this.removeEventListener(`click`,this.#e),this.addEventListener(`click`,this.#e),this.#n()&&this.#l()}disconnectedCallback(){this.removeEventListener(`click`,this.#e)}#t(){try{return this.ownerDocument.defaultView?.localStorage}catch{return}}#n(){try{let e=this.#t()?.getItem(U);return e===`light`||e===`dark`?e:void 0}catch{return}}#r(e){try{this.#t()?.setItem(U,e)}catch{}}#i(){try{this.#t()?.removeItem(U)}catch{}}#a(){let e=this.ownerDocument.defaultView;return!e||typeof e.matchMedia!=`function`?`light`:e.matchMedia(`(prefers-color-scheme: dark)`).matches?`dark`:`light`}#o(){return this.closest(`.set`)}#s(){let e=this.#o()?.getAttribute(`data-set-theme`);return e===`light`||e===`dark`?e:void 0}#c(){return this.#n()??this.#s()??this.#a()}#l(){let e=this.#o();if(!e)return;let t=this.#n();t?e.setAttribute(`data-set-theme`,t):e.removeAttribute(`data-set-theme`)}}customElements.define(H,e)}var ye={name:`lightswitch`,description:"Use `lightswitch` to let users toggle between light and dark themes.",output:{element:H,class:`set-lightswitch`},content:{kind:`none`},props:{appearance:{default:`text`,description:`Visual appearance of the toggle button.`,type:{kind:`enum`,values:[`outline`,`solid`,`text`]}},id:{description:`DOM id.`,type:{kind:`string`}},labelDark:{default:de,description:`Accessible label of the switch-to-dark action.`,type:{kind:`string`}},labelLight:{default:fe,description:`Accessible label of the switch-to-light action.`,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`,`lg`]}}},events:{[ue]:{bubbles:!0,description:"Fired after activation applies a theme. `detail.theme` is the theme switched to; `detail.stored` is false when the change cleared the override to follow the system preference again."}},rules:{attributes:[{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}},{target:{on:`descendant`,selector:`button`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`toggle`}},{target:{on:`descendant`,selector:`button`},attribute:`data-appearance`,condition:{kind:`always`},value:{kind:`prop`,prop:`appearance`}},{target:{on:`descendant`,selector:`button`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`descendant`,selector:`button`},attribute:`type`,condition:{kind:`always`},value:{kind:`literal`,text:`button`}}]}},W=`set-menu`,be=`set-menu-choose`;function xe({align:e=`start`,id:t,items:n,size:r=`md`,triggerActivity:a,triggerIcon:o,triggerIconMirrored:s,triggerIconPlacement:c,triggerLabel:l,triggerLabelVisibility:u}){let d=t.trim();if(!d)throw Error(`id must be a non-empty string.`);if(!i(d))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);if(!Array.isArray(n))throw Error(`items must be an array.`);let f=`${d}-button`,p=`${d}-popup`,m=n.map(e=>({kind:`element`,tag:`button`,attrs:{"aria-disabled":e.disabled?`true`:void 0,"data-item-id":e.id||void 0,role:`menuitem`,tabindex:`-1`,type:`button`},children:[{kind:`text`,value:e.label}]}));return{kind:`element`,tag:W,attrs:{class:`set-menu`,"data-align":e===`start`?void 0:e,"data-size":r,id:d},children:[{kind:`element`,tag:`div`,attrs:{"data-part":`trigger`},children:[y({activity:a,appearance:`outline`,controls:p,disclosure:!0,haspopup:`menu`,icon:o,iconMirrored:s,iconPlacement:c,id:f,label:l,labelVisibility:u,size:r,tone:`neutral`,type:`button`})]},{kind:`element`,tag:`div`,attrs:{"aria-labelledby":f,class:`popup`,hidden:!0,id:p,role:`menu`},children:m}]}}function Se(e){return r(xe(e))}function Ce(){if(customElements.get(`set-menu`))return;class e extends HTMLElement{#e;#t;#n;#r;get triggerActivity(){return this.#i()?.getAttribute(`data-activity`)}set triggerActivity(e){let t=this.#i();t&&x(t,e)}connectedCallback(){this.#m(),this.#d(!1),this.#p()}disconnectedCallback(){this.#m()}#i(){return this.querySelector(`[data-part="trigger"] .set-button`)}#a(){return this.querySelector(`[role="menu"]`)}#o(){return Array.from(this.querySelectorAll(`[role="menuitem"]`))}#s(e){return e.getAttribute(`aria-disabled`)===`true`}#c(){return this.hasAttribute(`data-open`)}#l(e){let t=this.#o();t.length!==0&&t[(e%t.length+t.length)%t.length]?.focus()}#u(e=0){let t=this.#a(),n=this.#i();t&&n&&(t.hidden=!1,this.setAttribute(`data-open`,``),n.setAttribute(`aria-expanded`,`true`),this.#l(e))}#d(e=!1){let t=this.#a(),n=this.#i();t&&n&&(t.hidden=!0,this.removeAttribute(`data-open`),n.setAttribute(`aria-expanded`,`false`),e&&n.focus())}#f(e){let t=Array.from(this.querySelectorAll(`[role="menuitem"]`)).indexOf(e);this.dispatchEvent(new CustomEvent(be,{bubbles:!0,detail:{id:e.getAttribute(`data-item-id`)||void 0,index:t,label:e.textContent||``}}))}#p(){this.#e=e=>{let t=e.target;if(!(t instanceof Element))return;if(t.closest(`[data-part="trigger"] .set-button`)){if(this.#c()){this.#d();return}this.#u(0);return}let n=t.closest(`[role="menuitem"]`);n&&this.contains(n)&&(this.#s(n)||(this.#f(n),this.#d(!0)))},this.#t=e=>{let t=e.target;t instanceof Node&&this.#c()&&!this.contains(t)&&this.#d()},this.#r=e=>{let t=this.#i(),n=this.#a();if(!t||!n)return;if((e.key===`Escape`||e.key===`Esc`)&&this.#c()){e.preventDefault(),this.#d(!0);return}let r=this.ownerDocument.activeElement,i=this.#o(),a=i.indexOf(r);r===t?((e.key===`Enter`||e.key===` `)&&(e.preventDefault(),this.#u(0)),e.key===`ArrowDown`&&(e.preventDefault(),this.#u(0)),e.key===`ArrowUp`&&(e.preventDefault(),this.#u(i.length-1))):n.contains(r)&&(r instanceof HTMLButtonElement&&(e.key===`Enter`||e.key===` `)?(e.preventDefault(),this.#s(r)||(this.#f(r),this.#d(!0))):(e.key===`ArrowDown`&&(e.preventDefault(),this.#l(a+1)),e.key===`ArrowUp`&&(e.preventDefault(),this.#l(a-1)),e.key===`Home`&&(e.preventDefault(),this.#l(0)),e.key===`End`&&(e.preventDefault(),this.#l(i.length-1)),e.key===`Tab`&&this.#d(!1)))},this.#n=e=>{let t=e.relatedTarget;t instanceof Node&&this.contains(t)||this.#d()},this.addEventListener(`click`,this.#e),this.addEventListener(`keydown`,this.#r),this.addEventListener(`focusout`,this.#n),this.ownerDocument.addEventListener(`click`,this.#t)}#m(){this.#e&&this.removeEventListener(`click`,this.#e),this.#t&&this.ownerDocument.removeEventListener(`click`,this.#t),this.#r&&this.removeEventListener(`keydown`,this.#r),this.#n&&this.removeEventListener(`focusout`,this.#n),this.#e=void 0,this.#t=void 0,this.#n=void 0,this.#r=void 0}}customElements.define(W,e)}var we={name:`menu`,description:"Use `menu` to show a list of actions from a trigger button.",output:{element:W,class:`set-menu`},content:{kind:`structured`,prop:`items`},props:{align:{default:`start`,description:`Popup alignment relative to the trigger.`,type:{kind:`enum`,values:[`start`,`end`]}},id:{description:"DOM id applied to the host. Trigger and popup ids are derived as `${id}-button` and `${id}-popup`.",required:!0,type:{kind:`string`}},items:{description:`Action items listed inside the popup.`,required:!0,type:{kind:`array`,itemShape:{disabled:{default:!1,description:`Disables selection for this item.`,type:{kind:`boolean`}},id:{description:`Optional authored identifier surfaced in the choose event payload.`,type:{kind:`string`}},label:{description:`Visible item label text.`,required:!0,type:{kind:`text`}}}}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},triggerActivity:{description:`Activity-indicator state for the trigger button.`,type:{kind:`enum`,values:[`idle`,`busy`]}},triggerIcon:{description:`Icon name for the trigger button.`,type:{kind:`iconName`}},triggerIconMirrored:{description:`Icon mirroring mode for the trigger button icon.`,type:{kind:`enum`,values:[`always`,`rtl`]}},triggerIconPlacement:{default:`start`,description:`Icon placement within the trigger button.`,type:{kind:`enum`,values:[`start`,`end`]}},triggerLabel:{description:`Accessible and visible trigger label text.`,required:!0,type:{kind:`text`}},triggerLabelVisibility:{default:`visible`,description:`Trigger label visibility treatment.`,type:{kind:`enum`,values:[`visible`,`hidden`,`hiddenBelowTablet`]}}},events:{[be]:{bubbles:!0,description:`Fired when a menu item is activated.`,detail:`{ id?: string; index: number; label: string }`}},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-equals`,prop:`align`,to:`end`},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`div[data-part="trigger"] button`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}-button`}},{target:{on:`descendant`,selector:`div.popup`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}-popup`}},{target:{on:`descendant`,selector:`div.popup`},attribute:`aria-labelledby`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}-button`}},{target:{on:`descendant`,selector:`div.popup`},attribute:`role`,condition:{kind:`always`},value:{kind:`literal`,text:`menu`}},{target:{on:`descendant`,selector:`div.popup`},attribute:`hidden`,condition:{kind:`always`}}]}},Te=`Menu`;function Ee({controlsId:e,expanded:t,id:n,label:r=Te,size:i=`md`}={}){let o=a(n),s=r.trim()===``?Te:r;return{kind:`element`,tag:`button`,attrs:{"aria-controls":e||void 0,"aria-expanded":t?`true`:`false`,class:`set-expander`,"data-size":i,id:o,type:`button`},children:[{kind:`element`,tag:`span`,attrs:{class:`expander-box`},children:[{kind:`element`,tag:`span`,attrs:{class:`expander-inner`},children:[]},{kind:`element`,tag:`span`,attrs:{class:`visually-hidden`},children:[{kind:`text`,value:s}]}]}]}}function De(e={}){return r(Ee(e))}var Oe={name:`expander`,description:"Use `expander` as a toggle for disclosure regions such as menus.",output:{element:`button`,class:`set-expander`},content:{kind:`text`,prop:`label`},props:{controlsId:{description:"`id` of the element this toggle controls.",type:{kind:`string`}},expanded:{default:!1,description:`Whether the controlled region is expanded.`,type:{kind:`boolean`}},id:{description:`DOM id.`,type:{kind:`string`}},label:{default:Te,description:`Accessible label.`,type:{kind:`text`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`,`lg`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`type`,condition:{kind:`always`},value:{kind:`literal`,text:`button`}},{target:{on:`host`},attribute:`aria-expanded`,condition:{kind:`always`},value:{kind:`template`,pattern:`{expanded}`}},{target:{on:`host`},attribute:`aria-controls`,condition:{kind:`when-non-empty`,prop:`controlsId`},value:{kind:`prop`,prop:`controlsId`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},G=`set-nav`,ke=`data-set-scroll-locked`;function Ae({collapsible:e,contentId:t,expanderLabel:n,expanderPosition:r=`start`,id:o,items:s,label:c,size:l=`md`}){let u=a(o),d=n?.trim()||void 0,f=t?.trim();if(e&&!f)throw Error(`contentId must be a non-empty string when collapsible is set.`);if(f&&!i(f))throw Error(`contentId must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);let p=s.map(e=>({kind:`element`,tag:`li`,attrs:{},children:[{kind:`element`,tag:`a`,attrs:{"aria-current":e.current,class:`item`,href:e.href},children:[{kind:`text`,value:e.label}]}]}));return{kind:`element`,tag:G,attrs:{class:`set-nav`,"data-collapsible":e,"data-expander-label":e&&d?d:void 0,"data-expander-position":e?r:void 0,"data-size":l,id:u},children:[{kind:`element`,tag:`nav`,attrs:{"aria-label":c||void 0,class:`nav`},children:[{kind:`element`,tag:`div`,attrs:{class:`content`,id:f},children:[{kind:`element`,tag:`ul`,attrs:{class:`list`},children:p}]}]}]}}function je(e){return r(Ae(e))}function Me(){if(customElements.get(`set-nav`))return;class e extends HTMLElement{#e;#t;#n;#r;connectedCallback(){this.#d(),this.#f(),this.#o(),this.#c(),this.#l()}disconnectedCallback(){this.#s(!1),this.#d(),this.#f()}#i(){return this.hasAttribute(`data-collapsible`)?this.querySelector(`.nav`):null}#a(){return this.querySelector(`[data-part="expander"] .set-expander`)}#o(){let e=this.#i();if(!e||e.querySelector(`[data-part="expander"]`))return;let t=e.querySelector(`.content`);t&&e.insertAdjacentHTML(`afterbegin`,`<div data-part="expander">${De({controlsId:t.id||void 0,label:this.getAttribute(`data-expander-label`)||void 0,size:this.getAttribute(`data-size`)===`sm`?`md`:`lg`})}</div>`)}#s(e){let t=this.#a();t&&t.getAttribute(`aria-expanded`)===`true`!==e&&(t.setAttribute(`aria-expanded`,e?`true`:`false`),this.#u(e))}#c(){this.#e=e=>{let t=e.target;if(!(t instanceof Element)||!t.closest(`[data-part="expander"] .set-expander`))return;let n=this.#a();n&&this.#s(n.getAttribute(`aria-expanded`)!==`true`)},this.addEventListener(`click`,this.#e)}#l(){let e=this.#i(),t=this.ownerDocument.defaultView;if(!e||!t||(this.#n=e=>{(e.key===`Escape`||e.key===`Esc`)&&this.#s(!1)},t.addEventListener(`keydown`,this.#n),this.getAttribute(`data-collapsible`)!==`belowTablet`)||typeof t.matchMedia!=`function`)return;let n=t.matchMedia(`(min-width: 48em)`);this.#t=n,this.#r=e=>{e.matches&&this.#s(!1)},n.addEventListener(`change`,this.#r)}#u(e){let t=this.ownerDocument.documentElement;t&&(e?t.setAttribute(ke,``):t.removeAttribute(ke))}#d(){this.#e&&=(this.removeEventListener(`click`,this.#e),void 0)}#f(){let e=this.ownerDocument.defaultView;this.#n&&e&&e.removeEventListener(`keydown`,this.#n),this.#t&&this.#r&&this.#t.removeEventListener(`change`,this.#r),this.#n=void 0,this.#r=void 0,this.#t=void 0}}customElements.define(G,e)}var Ne={name:`nav`,description:"Use `nav` to render a primary navigation list.",output:{element:G,class:`set-nav`},content:{kind:`structured`,prop:`items`},props:{items:{description:`Nav links shown in the list.`,required:!0,type:{kind:`array`,itemShape:{current:{description:"Marks the item as current; emits `aria-current` with this value.",type:{kind:`enum`,values:[`page`,`true`]}},href:{description:`Link destination.`,required:!0,type:{kind:`string`}},label:{description:`Link label.`,required:!0,type:{kind:`text`}}}}},label:{description:`Accessible label for the nav landmark.`,type:{kind:`string`}},expanderLabel:{description:`Accessible label for the collapsible expander button.`,type:{kind:`string`}},expanderPosition:{default:`start`,description:`Where the expander sits within the composition.`,type:{kind:`enum`,values:[`start`,`end`]}},id:{description:`DOM id.`,type:{kind:`string`}},collapsible:{description:`When to collapse the nav behind an expander.`,type:{kind:`enum`,values:[`always`,`belowTablet`]}},contentId:{description:"`id` for the collapsible content region.",requiredWhen:"`collapsible` is provided",type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-collapsible`,condition:{kind:`when-provided`,prop:`collapsible`},value:{kind:`prop`,prop:`collapsible`}},{target:{on:`host`},attribute:`data-expander-position`,condition:{kind:`when-provided`,prop:`collapsible`},value:{kind:`prop`,prop:`expanderPosition`}},{target:{on:`host`},attribute:`data-expander-label`,condition:{kind:`all`,of:[{kind:`when-provided`,prop:`collapsible`},{kind:`when-non-empty`,prop:`expanderLabel`}]},value:{kind:`prop`,prop:`expanderLabel`}},{target:{on:`descendant`,selector:`nav`},attribute:`aria-label`,condition:{kind:`when-non-empty`,prop:`label`},value:{kind:`prop`,prop:`label`}},{target:{on:`descendant`,selector:`div.content`},attribute:`id`,condition:{kind:`when-provided`,prop:`contentId`},value:{kind:`prop`,prop:`contentId`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},K=`set-range`;function Pe({description:e,disabled:t,id:n,inlineSize:r=`full`,label:a,max:o,min:s,name:c,size:l=`md`,step:u,value:d}){let f=n.trim(),p=e?.trim(),m=c?.trim();if(!f)throw Error(`id must be a non-empty string.`);if(!i(f))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);let h=p?`${f}-description`:void 0,g=[{kind:`element`,tag:`div`,attrs:{class:`label-wrapper`},children:[{kind:`element`,tag:`label`,attrs:{class:`label`,for:f},children:[{kind:`text`,value:a}]},{kind:`element`,tag:`output`,attrs:{class:`output`,for:f},children:d==null?[]:[{kind:`text`,value:String(d)}]}]},{kind:`element`,tag:`input`,attrs:{"aria-describedby":h,class:`range`,disabled:!!t,id:f,max:o==null?void 0:String(o),min:s==null?void 0:String(s),name:m||void 0,step:u==null?void 0:String(u),type:`range`,value:d==null?void 0:String(d)},children:[]}];return p&&g.push({kind:`element`,tag:`p`,attrs:{class:`description`,id:h},children:[{kind:`text`,value:p}]}),{kind:`element`,tag:K,attrs:{class:`set-range`,"data-inline-size":r===`fit`?`fit`:void 0,"data-size":l},children:g}}function Fe(e){return r(Pe(e))}function Ie(){if(customElements.get(`set-range`))return;class e extends HTMLElement{#e;#t=e=>{let t=e.target;t instanceof HTMLInputElement&&t.matches(`.range`)&&this.#n()};connectedCallback(){this.removeEventListener(`input`,this.#t),this.#i(),this.#n(),this.addEventListener(`input`,this.#t)}disconnectedCallback(){this.removeEventListener(`input`,this.#t),this.#a()}#n(){let e=this.querySelector(`.range`),t=this.querySelector(`.output`);e&&t&&this.#r(t,e.value)}#r(e,t){let n=e.firstChild;n?.nodeType===Node.TEXT_NODE&&e.childNodes.length===1?n.nodeValue!==t&&(n.nodeValue=t):e.textContent!==t&&(e.textContent=t)}#i(){let e=this.querySelector(`.range`);if(!e||e===this.#e)return;this.#a();let t=Object.getOwnPropertyDescriptor(HTMLInputElement.prototype,`value`);if(!t?.get||!t.set)return;let n=t.get,r=t.set,i=()=>this.#n();Object.defineProperty(e,"value",{configurable:!0,enumerable:t.enumerable,get(){return n.call(this)},set(e){r.call(this,e),i()}}),this.#e=e}#a(){this.#e&&=(delete this.#e.value,void 0)}}customElements.define(K,e)}var Le={name:`range`,description:"Use `range` to let users pick a numeric value along a scale.",output:{element:K,class:`set-range`},content:{kind:`text`,prop:`label`},props:{description:{description:`Helper text shown below the range.`,type:{kind:`string`}},disabled:{default:!1,description:`Disables the range.`,type:{kind:`boolean`}},id:{description:"`id` used to associate the input with its label.",required:!0,type:{kind:`string`}},inlineSize:{default:`full`,description:`How the range fills its container.`,type:{kind:`enum`,values:[`full`,`fit`]}},label:{description:`Label text.`,required:!0,type:{kind:`text`}},max:{description:`Maximum value.`,type:{kind:`number`}},min:{description:`Minimum value.`,type:{kind:`number`}},name:{description:`Form field name.`,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},step:{description:`Granularity of value changes.`,type:{kind:`number`}},value:{description:`Current value.`,type:{kind:`number`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`descendant`,selector:`input`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`range`}},{target:{on:`descendant`,selector:`input`},attribute:`type`,condition:{kind:`always`},value:{kind:`literal`,text:`range`}},{target:{on:`descendant`,selector:`input`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`input`},attribute:`aria-describedby`,condition:{kind:`when-non-empty`,prop:`description`},value:{kind:`template`,pattern:`{id}-description`}},{target:{on:`descendant`,selector:`input`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`descendant`,selector:`input`},attribute:`min`,condition:{kind:`when-provided`,prop:`min`},value:{kind:`template`,pattern:`{min}`}},{target:{on:`descendant`,selector:`input`},attribute:`max`,condition:{kind:`when-provided`,prop:`max`},value:{kind:`template`,pattern:`{max}`}},{target:{on:`descendant`,selector:`input`},attribute:`step`,condition:{kind:`when-provided`,prop:`step`},value:{kind:`template`,pattern:`{step}`}},{target:{on:`descendant`,selector:`input`},attribute:`value`,condition:{kind:`when-provided`,prop:`value`},value:{kind:`template`,pattern:`{value}`}},{target:{on:`descendant`,selector:`input`},attribute:`name`,condition:{kind:`when-non-empty`,prop:`name`},value:{kind:`template`,pattern:`{name}`}}]}},q=`set-sidebar`,Re=`(min-width: 68em)`,J=`Collapse sidebar`,ze=`Open sidebar`;function Be(e,t){return`<div data-part="close">${b({appearance:`text`,icon:`panel-left`,iconMirrored:`rtl`,label:e,labelVisibility:`hidden`,size:t,tone:`neutral`,type:`button`})}</div>`}function Ve({aboveNotebook:e=`persistent`,buttonSize:t=`md`,children:n,collapseLabel:r=J,footer:a,header:o,id:s,surface:c,triggerLabel:l=ze}){let u=s.trim(),d=r.trim()||J,f=l.trim()||ze;if(!u)throw Error(`id must be a non-empty string.`);if(!i(u))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);let p=[{kind:`element`,tag:`div`,attrs:{class:`header`},children:o?[{kind:`raw`,html:o}]:[]},{kind:`element`,tag:`div`,attrs:{class:`content`},children:n?[{kind:`raw`,html:n}]:[]}];a&&p.push({kind:`element`,tag:`div`,attrs:{class:`footer`},children:[{kind:`raw`,html:a}]});let m=`${u}-panel`;return{kind:`element`,tag:q,attrs:{class:`set-sidebar`,"data-above-notebook":e,"data-collapse-label":d===J?void 0:d,"data-button-size":t,id:u},children:[{kind:`element`,tag:`div`,attrs:{"data-part":`trigger`},children:[y({appearance:`text`,controls:m,disclosure:!0,icon:`panel-left`,iconMirrored:`rtl`,label:f,labelVisibility:`hidden`,size:t,tone:`neutral`,type:`button`})]},{kind:`element`,tag:`div`,attrs:{class:`sidebar`,"data-set-surface":c,id:m,tabindex:`-1`},children:p},{kind:`element`,tag:`div`,attrs:{"data-part":`backdrop`},children:[]}]}}function He(e){return r(Ve(e))}function Ue(){if(customElements.get(`set-sidebar`))return;class e extends HTMLElement{#e;#t;#n;#r;connectedCallback(){this.#y(),this.#u(),this.#h(),this.#v()}disconnectedCallback(){this.close(),this.#y()}open(){this.#g(!0)}close(){this.#g(!1)}#i(){return this.querySelector(`.sidebar`)}#a(){return this.querySelector(`[data-part="close"] .set-button`)}#o(){return this.querySelector(`[data-part="trigger"] .set-button`)}#s(){return this.hasAttribute(`data-open`)}#c(){return this.hasAttribute(`data-collapsed`)}#l(){let e=this.getAttribute(`data-above-notebook`);return e===`collapsible`||e===`overlay`?e:`persistent`}#u(){let e=this.#i();if(!e||e.querySelector(`[data-part="close"]`))return;let t=e.querySelector(`.header`),n=this.getAttribute(`data-collapse-label`)||J,r=this.getAttribute(`data-button-size`)??`md`;t?.insertAdjacentHTML(`beforeend`,Be(n,r))}#d(){this.querySelector(`[data-part="close"]`)?.remove()}#f(){let e=this.#a();e?e.focus():this.#i()?.focus()}#p(){return this.#e?.matches??!1}#m({collapsed:e,open:t}){let n=this.#o();this.toggleAttribute(`data-open`,t),this.toggleAttribute(`data-collapsed`,e),n?.setAttribute(`aria-expanded`,t?`true`:`false`)}#h(){let e=this.#l();if(this.#p()){if(e===`overlay`){this.#u(),this.#m({collapsed:!1,open:!1}),this.#_(!1);return}if(e===`collapsible`){this.#u(),this.#m({collapsed:this.#c(),open:!0}),this.#_(!1);return}this.#d(),this.#m({collapsed:!1,open:!0}),this.#_(!1)}else this.#u(),this.#m({collapsed:!1,open:!1}),this.#_(!1)}#g(e){let t=this.#l();if(this.#p()){if(t===`persistent`){this.#m({collapsed:!1,open:!0}),this.#_(!1);return}if(t===`collapsible`){this.#m({collapsed:!e,open:!0}),this.#_(!1),e&&this.#f();return}}this.#s()!==e&&(e?(this.#m({collapsed:!1,open:!0}),this.#_(!0),this.#f()):(this.#m({collapsed:!1,open:!1}),this.#_(!1),this.#o()?.focus()))}#_(e){let t=this.ownerDocument.documentElement;t&&(e?t.setAttribute(`data-set-scroll-locked`,``):t.removeAttribute(`data-set-scroll-locked`))}#v(){let e=this.ownerDocument.defaultView;e&&(typeof e.matchMedia==`function`&&(this.#e=e.matchMedia(Re),this.#r=()=>{this.#h()},this.#e.addEventListener(`change`,this.#r),this.#h()),this.#t=e=>{let t=e.target;if(t instanceof Element){if(t.closest(`[data-part="trigger"] .set-button`))this.open();else if(t.closest(`[data-part="close"] .set-button`)){if(this.#p()&&this.#l()===`collapsible`){this.#g(this.#c());return}this.close()}else t.closest(`[data-part="backdrop"]`)&&this.close()}},this.#n=e=>{(e.key===`Escape`||e.key===`Esc`)&&this.close()},this.addEventListener(`click`,this.#t),this.addEventListener(`keydown`,this.#n))}#y(){this.#t&&this.removeEventListener(`click`,this.#t),this.#n&&this.removeEventListener(`keydown`,this.#n),this.#e&&this.#r&&this.#e.removeEventListener(`change`,this.#r),this.#t=void 0,this.#n=void 0,this.#e=void 0,this.#r=void 0}}customElements.define(q,e)}var We={name:`sidebar`,description:"Use `sidebar` for a side panel alongside main content.",output:{element:q,class:`set-sidebar`},content:{kind:`slots`,slots:[{prop:`header`,kind:`html`},{prop:`children`,kind:`html`},{prop:`footer`,kind:`html`}]},props:{aboveNotebook:{default:`persistent`,description:`Layout behaviour on wider screens.`,type:{kind:`enum`,values:[`persistent`,`collapsible`,`overlay`]}},buttonSize:{default:`md`,description:`Size of the trigger and collapse buttons.`,type:{kind:`enum`,values:[`sm`,`md`,`lg`]}},children:{description:`Sidebar body content.`,type:{kind:`html`}},collapseLabel:{default:J,description:`Accessible label for the collapse button.`,type:{kind:`string`}},footer:{description:`Content rendered in the sidebar footer.`,type:{kind:`html`}},header:{description:`Content rendered in the sidebar header.`,type:{kind:`html`}},id:{description:"DOM id applied to the host. The inner panel id is derived as `${id}-panel` and wired to the trigger via `aria-controls`.",required:!0,type:{kind:`string`}},surface:{description:`Surface context. Applied to the inner panel.`,type:{kind:`enum`,values:[`default`,`brand`]}},triggerLabel:{default:ze,description:`Accessible label for the open button.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-above-notebook`,condition:{kind:`always`},value:{kind:`prop`,prop:`aboveNotebook`}},{target:{on:`host`},attribute:`data-button-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`buttonSize`}},{target:{on:`host`},attribute:`data-collapse-label`,condition:{kind:`all`,of:[{kind:`when-non-empty`,prop:`collapseLabel`},{kind:`not`,of:{kind:`when-equals`,prop:`collapseLabel`,to:J}}]},value:{kind:`prop`,prop:`collapseLabel`}},{target:{on:`host`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`div.sidebar`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}-panel`}},{target:{on:`descendant`,selector:`div.sidebar`},attribute:`tabindex`,condition:{kind:`always`},value:{kind:`literal`,text:`-1`}},{target:{on:`descendant`,selector:`div.sidebar`},attribute:`data-set-surface`,condition:{kind:`when-provided`,prop:`surface`},value:{kind:`prop`,prop:`surface`}}]}},Y=`set-video`;function Ge({autoPlay:e,controls:t,fit:n=`intrinsic`,height:r,id:i,loop:o,muted:s,playsInline:c,poster:l,preload:u,src:d,width:f}){let p=a(i),m=d.trim(),h=l?.trim();if(!m)throw Error(`src must be a non-empty string.`);return{kind:`element`,tag:Y,attrs:{class:`set-video`,"data-fluid":n===`fluid`,id:p},children:[{kind:`element`,tag:`video`,attrs:{autoplay:!!e,class:`video`,controls:!!t,height:r?String(r):void 0,loop:!!o,muted:!!s,playsinline:!!c,poster:h||void 0,preload:u,src:m,width:f?String(f):void 0},children:[]}]}}function Ke(e){return r(Ge(e))}var qe=`(prefers-reduced-motion: reduce)`;function Je(){if(customElements.get(`set-video`))return;class e extends HTMLElement{#e=!1;#t;#n;connectedCallback(){let e=this.querySelector(`video`);if(!e||(this.#e||=e.hasAttribute(`autoplay`),!this.#e))return;let t=this.ownerDocument.defaultView;t&&typeof t.matchMedia==`function`&&(this.#t=t.matchMedia(qe),this.#n=()=>{this.#r()},this.#t.addEventListener(`change`,this.#n),this.#r())}disconnectedCallback(){this.#t&&this.#n&&this.#t.removeEventListener(`change`,this.#n),this.#t=void 0,this.#n=void 0}#r(){let e=this.querySelector(`video`);e&&this.#t&&(this.#t.matches?(e.removeAttribute(`autoplay`),e.pause()):(e.setAttribute(`autoplay`,``),e.paused&&e.play()?.catch?.(()=>{})))}}customElements.define(Y,e)}var Ye={name:`video`,description:"Use `video` to render a video with intrinsic or fluid fit and native playback behavior.",output:{element:Y,class:`set-video`},content:{kind:`none`},props:{autoPlay:{default:!1,description:"Starts playback automatically. Browsers only honor this when `muted` is also set. Suspended when the user prefers reduced motion.",type:{kind:`boolean`}},controls:{default:!1,description:`Shows the browser's native playback controls.`,type:{kind:`boolean`}},fit:{default:`intrinsic`,description:"Layout mode. `intrinsic` renders at the video's own dimensions, `fluid` scales to the container's full inline size at the video's aspect ratio.",type:{kind:`enum`,values:[`intrinsic`,`fluid`]}},height:{description:"Intrinsic height in pixels. With `width`, reserves the correctly shaped box before the media loads; rendered height always follows the aspect ratio.",type:{kind:`number`}},id:{description:`DOM id.`,type:{kind:`string`}},loop:{default:!1,description:`Restarts playback when the video ends.`,type:{kind:`boolean`}},muted:{default:!1,description:"Starts playback silent. Required for `autoPlay` to take effect in most browsers.",type:{kind:`boolean`}},playsInline:{default:!1,description:"Plays inline instead of fullscreen on iOS. Required for `autoPlay` on iOS.",type:{kind:`boolean`}},poster:{description:`Image URL shown before playback begins.`,type:{kind:`string`}},preload:{description:`Preload hint. Omitted by default, deferring to the browser.`,type:{kind:`enum`,values:[`auto`,`metadata`,`none`]}},src:{description:`Video source URL.`,required:!0,type:{kind:`string`}},width:{description:"Intrinsic width in pixels. Sets the rendered width, capped at the container; under `fluid`, an aspect-ratio hint only.",type:{kind:`number`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-fluid`,condition:{kind:`when-equals`,prop:`fit`,to:`fluid`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}},{target:{on:`descendant`,selector:`video`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`video`}},{target:{on:`descendant`,selector:`video`},attribute:`src`,condition:{kind:`always`},value:{kind:`template`,pattern:`{src}`}},{target:{on:`descendant`,selector:`video`},attribute:`autoplay`,condition:{kind:`when-truthy`,prop:`autoPlay`}},{target:{on:`descendant`,selector:`video`},attribute:`controls`,condition:{kind:`when-truthy`,prop:`controls`}},{target:{on:`descendant`,selector:`video`},attribute:`loop`,condition:{kind:`when-truthy`,prop:`loop`}},{target:{on:`descendant`,selector:`video`},attribute:`muted`,condition:{kind:`when-truthy`,prop:`muted`}},{target:{on:`descendant`,selector:`video`},attribute:`playsinline`,condition:{kind:`when-truthy`,prop:`playsInline`}},{target:{on:`descendant`,selector:`video`},attribute:`poster`,condition:{kind:`when-non-empty`,prop:`poster`},value:{kind:`prop`,prop:`poster`}},{target:{on:`descendant`,selector:`video`},attribute:`preload`,condition:{kind:`when-provided`,prop:`preload`},value:{kind:`prop`,prop:`preload`}}]}};function Xe(e){return e?/[A-Za-z]/.test(e):!1}function Ze(e){return/^[a-z]/.test(e)}function X(e){let t=e.charAt(0);return Xe(t)?t:void 0}function Qe(e){let t=o(e);if(!t)return;let n=t.split(` `),r=X(n[0]);if(!r)return;let i=[r.toUpperCase()];if(n.length===1)return i[0];let a=n.slice(1).find(Ze);if(a){let e=X(a);return e?`${i[0]}${e}`:void 0}if(n.length===2){let e=X(n[1]);if(!e)return;i.push(e);let t=n[1].split(`-`).filter(Boolean);if(t.length===2){let e=X(t[1]);e&&i.push(e)}return i.slice(0,3).join(``)}if(n.length===3){let e=X(n[1]),t=X(n[2]);return!e||!t?void 0:(i.push(e,t),i.slice(0,3).join(``))}let s=X(n.at(-1)||``);if(s)return i.push(s),i.slice(0,3).join(``)}var $e={bot:`robot-1`,organization:`city-6`,person:`user-1`,team:`member`},et=[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`];function tt(e){let t=5381;for(let n of e)t=t*33^n.charCodeAt(0);return t>>>0}function nt(e){if(e==null)return;let t=o(e);if(t){if(t.length>3)throw Error(`initials must normalize to 3 characters or fewer.`);if(!/^[A-Za-z]{1,3}$/.test(t))throw Error(`initials must contain only alphabetic characters.`);return t}}function rt({alt:e,ariaHidden:t,name:n}){if(!t)return o(e)||o(n)||`Avatar`}function it({color:e,name:t}){return e||(t?et[tt(t)%et.length]:`neutral`)}function at({alt:e,ariaHidden:t,color:n,entity:r=`person`,id:i,initials:s,name:c,size:l=`md`,src:u}){let f=a(i),p=nt(s),m=o(c),h=o(u),g=rt({alt:e,ariaHidden:t,name:m}),_=p||Qe(m),v=!!h,y=it({color:n,name:m}),b={"aria-hidden":t?`true`:void 0,"aria-label":!t&&!v?g:void 0,class:`set-avatar`,"data-color":y===`neutral`?void 0:y,"data-entity":r===`person`?void 0:r,"data-size":l,id:f,role:!t&&!v?`img`:void 0},x;return x=v?{kind:`element`,tag:`img`,attrs:{alt:t?``:g||``,class:`img`,src:h},children:[]}:_?{kind:`element`,tag:`span`,attrs:{class:`initials`},children:[{kind:`text`,value:_}]}:{kind:`element`,tag:`span`,attrs:{class:`icon-wrapper`},children:[d({ariaHidden:!0,name:$e[r],size:`fill`})]},{kind:`element`,tag:`span`,attrs:b,children:[x]}}function ot(e){return r(at(e))}var st={name:`avatar`,description:"Use `avatar` to visually represent a person, team, or entity.",output:{element:`span`,class:`set-avatar`},content:{kind:`none`},props:{alt:{description:`Accessible label for the avatar, overrides name.`,type:{kind:`string`}},ariaHidden:{default:!1,description:`Hides the avatar from assistive technology.`,type:{kind:`boolean`}},entity:{default:`person`,description:`Type of subject the avatar represents.`,type:{kind:`enum`,values:[`bot`,`organization`,`person`,`team`]}},color:{description:`Background color swatch. Derived from name when omitted.`,type:{kind:`enum`,values:[`neutral`,`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`]}},id:{description:`DOM id.`,type:{kind:`string`}},initials:{description:`Initials to display. 1–3 alphabetic characters. Overrides name-derived initials.`,type:{kind:`string`}},name:{description:`Full name. Used for the label and to derive initials.`,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`xs`,`sm`,`md`,`lg`,`xl`]}},src:{description:`Image source URL.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-entity`,condition:{kind:`when-in`,prop:`entity`,values:[`bot`,`organization`,`team`]},value:{kind:`prop`,prop:`entity`}},{target:{on:`host`},attribute:`data-color`,condition:{kind:`when-in`,prop:`color`,values:[`01`,`02`,`03`,`04`,`05`,`06`,`07`,`08`,`09`]},value:{kind:`prop`,prop:`color`}},{target:{on:`host`},attribute:`aria-hidden`,condition:{kind:`when-truthy`,prop:`ariaHidden`},value:{kind:`literal`,text:`true`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function ct({floating:e,id:t,label:n,size:r=`md`,tone:i}){let o=a(t);return{kind:`element`,tag:`span`,attrs:{class:`set-badge`,"data-floating":e,"data-size":r,"data-tone":i||void 0,id:o},children:[{kind:`text`,value:n}]}}function lt(e){return r(ct(e))}var ut={name:`badge`,description:"Use `badge` to annotate content with a short label.",output:{element:`span`,class:`set-badge`},content:{kind:`text`,prop:`label`},props:{floating:{default:!1,description:`Positions the badge as a floating overlay.`,type:{kind:`boolean`}},id:{description:`DOM id.`,type:{kind:`string`}},label:{description:`Badge text.`,required:!0,type:{kind:`text`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},tone:{description:`Semantic tone.`,type:{kind:`enum`,values:[`notification`,`live`,`pending`,`success`,`warning`,`error`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-floating`,condition:{kind:`when-truthy`,prop:`floating`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-provided`,prop:`tone`},value:{kind:`prop`,prop:`tone`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Z({align:e,as:t,children:n,id:r,linkVisited:i=!0,measured:o,monospaced:s,responsive:c,size:l=`md`,tone:u=`default`}){let d=a(r),f=t===`p`?`p`:`span`,p=f===`p`,m=p?e??`start`:void 0;return{kind:`element`,tag:f,attrs:{class:`set-text`,"data-align":m&&m!==`start`?m:void 0,"data-link-visited":i?void 0:`off`,"data-measured":p?o??!0:void 0,"data-monospaced":s,"data-responsive":c,"data-size":l,"data-tone":u===`muted`?`muted`:void 0,id:d},children:[{kind:`raw`,html:n}]}}function dt(e){return r(Z(e))}var ft={name:`text`,description:"Use `text` for inline or paragraph body copy.",output:{element:{kind:`switch`,prop:`as`,cases:{p:`p`,span:`span`}},class:`set-text`},content:{kind:`html`,prop:`children`},props:{as:{default:`span`,description:`HTML element used for the text.`,type:{kind:`enum`,values:[`p`,`span`]}},children:{description:"Text content. Supports inline markup such as `<em>`, `<strong>`, `<a>`, `<code>`, `<cite>`, etc.",required:!0,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},linkVisited:{default:!0,description:`Styles visited links inside the text.`,type:{kind:`boolean`}},responsive:{default:!1,description:`Scales text across breakpoints.`,type:{kind:`boolean`}},align:{default:`start`,description:`Text alignment.`,ignoredWhen:"`as` is span",type:{kind:`enum`,values:[`start`,`center`,`end`]}},measured:{default:!0,description:`Caps line length for comfortable reading.`,ignoredWhen:"`as` is span",type:{kind:`boolean`}},monospaced:{default:!1,description:`Applies monospaced word spacing throughout.`,type:{kind:`boolean`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`xs`,`sm`,`md`,`lg`]}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`muted`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`all`,of:[{kind:`when-equals`,prop:`as`,to:`p`},{kind:`when-in`,prop:`align`,values:[`center`,`end`]}]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`data-link-visited`,condition:{kind:`when-equals`,prop:`linkVisited`,to:!1},value:{kind:`literal`,text:`off`}},{target:{on:`host`},attribute:`data-measured`,condition:{kind:`all`,of:[{kind:`when-equals`,prop:`as`,to:`p`},{kind:`when-truthy`,prop:`measured`}]}},{target:{on:`host`},attribute:`data-monospaced`,condition:{kind:`when-truthy`,prop:`monospaced`}},{target:{on:`host`},attribute:`data-responsive`,condition:{kind:`when-truthy`,prop:`responsive`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-equals`,prop:`tone`,to:`muted`},value:{kind:`literal`,text:`muted`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function pt({align:e=`start`,attribution:t,id:n,measured:r=!0,quote:i,responsive:o=!1,size:s=`md`}){let c=a(n);return{kind:`element`,tag:`figure`,attrs:{class:`set-blockquote`,"data-align":e===`start`?void 0:e,id:c},children:[{kind:`element`,tag:`blockquote`,attrs:{class:`quote`},children:[Z({align:e,as:`p`,children:i,measured:r,responsive:o,size:s})]},{kind:`element`,tag:`figcaption`,attrs:{class:`attribution`},children:[Z({as:`span`,children:t,responsive:o,size:`sm`})]}]}}function mt(e){return r(pt(e))}var ht={name:`blockquote`,description:"Use `blockquote` to display a quote with attribution.",output:{element:`figure`,class:`set-blockquote`},content:{kind:`slots`,slots:[{prop:`quote`,kind:`html`},{prop:`attribution`,kind:`html`}]},props:{align:{default:`start`,description:`Text alignment.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},attribution:{description:"Attribution shown beneath the quote. Supports inline markup such as `<a>`, `<cite>`, `<em>`, etc.",required:!0,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},measured:{default:!0,description:`Caps line length for comfortable reading.`,type:{kind:`boolean`}},quote:{description:"Quote content. Supports inline markup such as `<em>`, `<strong>`, `<cite>`, etc.",required:!0,type:{kind:`html`}},responsive:{default:!1,description:`Scales type across breakpoints.`,type:{kind:`boolean`}},size:{default:`md`,description:`Size variant for the quote.`,type:{kind:`enum`,values:[`md`,`lg`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-in`,prop:`align`,values:[`center`,`end`]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function gt({background:e=`default`,border:t,children:n,id:r,paddingBlock:i=`md`,paddingInline:o=`md`,radius:s,responsive:c,surface:l}){let u=a(r);return{kind:`element`,tag:`div`,attrs:{class:`set-box`,"data-background":e==="default"?void 0:e,"data-border":t,"data-set-surface":l,"data-padding-block":i,"data-padding-inline":o,"data-radius":s,"data-responsive":c,id:u},children:n?[{kind:`raw`,html:n}]:[]}}function _t(e){return r(gt(e))}var vt={name:`box`,description:"Use `box` to inset content.",output:{element:`div`,class:`set-box`},content:{kind:`html`,prop:`children`},props:{background:{default:`default`,description:`Background treatment.`,type:{kind:`enum`,values:[`default`,`panel`,`transparent`]}},border:{default:!1,description:`Shows a subtle border around the box.`,type:{kind:`boolean`}},children:{description:`Content rendered inside the box.`,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},paddingBlock:{default:`md`,description:`Vertical padding.`,type:{kind:`enum`,values:[`none`,`2xs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`]}},paddingInline:{default:`md`,description:`Horizontal padding.`,type:{kind:`enum`,values:[`none`,`2xs`,`xs`,`sm`,`md`,`lg`,`xl`,`2xl`]}},radius:{description:`Corner radius.`,type:{kind:`enum`,values:[`sm`,`md`]}},responsive:{default:!1,description:`Scales vertical padding across breakpoints.`,type:{kind:`boolean`}},surface:{description:`Surface context.`,type:{kind:`enum`,values:[`default`,`brand`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-background`,condition:{kind:`when-in`,prop:`background`,values:[`panel`,`transparent`]},value:{kind:`prop`,prop:`background`}},{target:{on:`host`},attribute:`data-border`,condition:{kind:`when-truthy`,prop:`border`}},{target:{on:`host`},attribute:`data-padding-block`,condition:{kind:`always`},value:{kind:`prop`,prop:`paddingBlock`}},{target:{on:`host`},attribute:`data-padding-inline`,condition:{kind:`always`},value:{kind:`prop`,prop:`paddingInline`}},{target:{on:`host`},attribute:`data-radius`,condition:{kind:`when-provided`,prop:`radius`},value:{kind:`prop`,prop:`radius`}},{target:{on:`host`},attribute:`data-responsive`,condition:{kind:`when-truthy`,prop:`responsive`}},{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`when-provided`,prop:`surface`},value:{kind:`prop`,prop:`surface`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function yt({description:e,headingLevel:t,href:n,id:r,note:i,surface:o,title:s}){let c=a(r),l=t?`h${t}`:`div`,u=n?[{kind:`element`,tag:`a`,attrs:{href:n},children:[{kind:`text`,value:s}]}]:[{kind:`text`,value:s}],f=i?[{kind:`raw`,html:i}]:[];i&&n&&f.push({kind:`element`,tag:`span`,attrs:{class:`icon-wrapper`},children:[d({ariaHidden:!0,mirrored:`rtl`,name:`arrow-right`,size:`xs`})]});let p=[{kind:`element`,tag:`span`,attrs:{class:`dots`},children:[{kind:`element`,tag:`span`,attrs:{},children:[]}]},{kind:`element`,tag:l,attrs:{class:`title`},children:u},{kind:`element`,tag:`p`,attrs:{class:`description`},children:[{kind:`raw`,html:e}]}];return i&&p.push({kind:`element`,tag:`p`,attrs:{class:`note`},children:f}),{kind:`element`,tag:`div`,attrs:{class:`set-card`,"data-set-surface":o,id:c},children:p}}function bt(e){return r(yt(e))}var xt={name:`card`,description:"Use `card` to display a summary for a single topic.",output:{element:`div`,class:`set-card`},content:{kind:`slots`,slots:[{prop:`title`,kind:`text`},{prop:`description`,kind:`html`},{prop:`note`,kind:`html`}]},props:{description:{description:"Supporting description shown below the `title`.",required:!0,type:{kind:`html`}},headingLevel:{description:"Semantic heading level for the title. Renders a `<div>` when omitted.",type:{kind:`enum`,values:[1,2,3,4,5,6]}},href:{description:"Link destination for the `title`.",type:{kind:`string`}},id:{description:`DOM id.`,type:{kind:`string`}},note:{description:"Short note shown beneath the `description`.",type:{kind:`html`}},surface:{description:`Surface context.`,type:{kind:`enum`,values:[`default`,`brand`]}},title:{description:`Card title.`,required:!0,type:{kind:`text`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`when-provided`,prop:`surface`},value:{kind:`prop`,prop:`surface`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function St({checked:e,description:t,disabled:n,id:r,invalid:i,label:o,name:s,required:c,size:l=`md`,value:u}){let d=a(r),f=t?.trim();if(f&&!d)throw Error(`id must be provided when description is provided.`);let p=f?`${d}-description`:void 0,m=!!n,h=[{kind:`element`,tag:`label`,attrs:{class:`label`},children:[{kind:`element`,tag:`input`,attrs:{"aria-describedby":p,"aria-invalid":!m&&i?`true`:void 0,checked:!!e,class:`checkbox`,disabled:m,id:d,name:s||void 0,required:!!c,type:`checkbox`,value:u||void 0},children:[]},{kind:`element`,tag:`span`,attrs:{},children:[{kind:`text`,value:o}]}]}];return f&&h.push({kind:`element`,tag:`p`,attrs:{class:`description`,id:p},children:[{kind:`text`,value:f}]}),{kind:`element`,tag:`div`,attrs:{class:`set-checkbox`,"data-size":l},children:h}}function Ct(e){return r(St(e))}var wt={name:`checkbox`,description:"Use `checkbox` to let users toggle a single option on or off.",output:{element:`div`,class:`set-checkbox`},content:{kind:`slots`,slots:[{prop:`label`,kind:`text`},{prop:`description`,kind:`text`}]},props:{checked:{default:!1,description:`Whether the checkbox is checked.`,type:{kind:`boolean`}},description:{description:`Helper text shown below the label.`,type:{kind:`string`}},disabled:{default:!1,description:`Prevents interaction.`,type:{kind:`boolean`}},id:{description:`DOM id.`,requiredWhen:"`description` is provided",type:{kind:`string`}},invalid:{default:!1,description:`Marks the checkbox as invalid.`,ignoredWhen:"`disabled` is true",type:{kind:`boolean`}},label:{description:`Label shown next to the checkbox.`,required:!0,type:{kind:`text`}},name:{description:`Name submitted with the form.`,type:{kind:`string`}},required:{default:!1,description:`Marks the checkbox as required.`,type:{kind:`boolean`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},value:{description:`Value submitted with the form.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`descendant`,selector:`input`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`checkbox`}},{target:{on:`descendant`,selector:`input`},attribute:`type`,condition:{kind:`always`},value:{kind:`literal`,text:`checkbox`}},{target:{on:`descendant`,selector:`input`},attribute:`checked`,condition:{kind:`when-truthy`,prop:`checked`}},{target:{on:`descendant`,selector:`input`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`descendant`,selector:`input`},attribute:`required`,condition:{kind:`when-truthy`,prop:`required`}},{target:{on:`descendant`,selector:`input`},attribute:`name`,condition:{kind:`when-non-empty`,prop:`name`},value:{kind:`prop`,prop:`name`}},{target:{on:`descendant`,selector:`input`},attribute:`value`,condition:{kind:`when-non-empty`,prop:`value`},value:{kind:`prop`,prop:`value`}},{target:{on:`descendant`,selector:`input`},attribute:`aria-invalid`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`invalid`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}}]},value:{kind:`literal`,text:`true`}},{target:{on:`descendant`,selector:`input`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Tt({children:e,gutter:t=`default`,id:n,maxInlineSize:r=`default`}){let i=a(n);return{kind:`element`,tag:`div`,attrs:{class:`set-container`,"data-gutter":t==="default"?void 0:t,"data-max-inline-size":r==="default"?void 0:r,id:i},children:e?[{kind:`raw`,html:e}]:[]}}function Et(e){return r(Tt(e))}var Dt={name:`container`,description:"Use `container` to wrap page-level content.",output:{element:`div`,class:`set-container`},content:{kind:`html`,prop:`children`},props:{children:{description:`Content rendered inside the container.`,type:{kind:`html`}},gutter:{default:`default`,description:`Horizontal gutter width.`,type:{kind:`enum`,values:[`default`,`narrow`,`none`]}},id:{description:`DOM id.`,type:{kind:`string`}},maxInlineSize:{default:`default`,description:`Maximum content width. Effect is only visible in wider viewports.`,type:{kind:`enum`,values:[`default`,`wide`,`none`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-max-inline-size`,condition:{kind:`when-in`,prop:`maxInlineSize`,values:[`wide`,`none`]},value:{kind:`prop`,prop:`maxInlineSize`}},{target:{on:`host`},attribute:`data-gutter`,condition:{kind:`when-in`,prop:`gutter`,values:[`narrow`,`none`]},value:{kind:`prop`,prop:`gutter`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Ot({children:e,id:t,open:n,summary:r,inlineSize:i=`full`}){let o=a(t);return{kind:`element`,tag:`details`,attrs:{class:`set-details`,open:n,"data-inline-size":i===`fit`?`fit`:void 0,id:o},children:[{kind:`element`,tag:`summary`,attrs:{class:`summary`},children:[{kind:`element`,tag:`span`,attrs:{class:`marker`},children:[d({ariaHidden:!0,name:`chevron-right`,size:`sm`})]},{kind:`element`,tag:`span`,attrs:{},children:[{kind:`text`,value:r}]}]},{kind:`element`,tag:`div`,attrs:{class:`content`},children:e?[{kind:`raw`,html:e}]:[]}]}}function kt(e){return r(Ot(e))}var At={name:`details`,description:"Use `details` to let users expand and collapse a section of content.",output:{element:`details`,class:`set-details`},content:{kind:`slots`,slots:[{prop:`summary`,kind:`text`},{prop:`children`,kind:`html`}]},props:{children:{description:`Content revealed when the details is open.`,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},inlineSize:{default:`full`,description:`Whether the details fills its container or shrinks to fit.`,type:{kind:`enum`,values:[`full`,`fit`]}},open:{default:!1,description:`Opens the details by default.`,type:{kind:`boolean`}},summary:{description:`Summary shown in the toggle.`,required:!0,type:{kind:`text`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`host`},attribute:`open`,condition:{kind:`when-truthy`,prop:`open`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function jt({id:e,orientation:t=`horizontal`,tone:n=`default`}={}){let r=a(e);return{kind:`element`,tag:t===`horizontal`?`hr`:`span`,attrs:{"aria-orientation":t===`vertical`?`vertical`:void 0,class:`set-divider`,"data-tone":n===`subtle`||n===`brand`?n:void 0,id:r,role:t===`vertical`?`separator`:void 0},children:[]}}function Mt(e={}){return r(jt(e))}var Nt={name:`divider`,description:"Use `divider` to separate sections with a rule.",output:{element:{kind:`switch`,prop:`orientation`,cases:{horizontal:`hr`,vertical:`span`}},class:`set-divider`},content:{kind:`none`},props:{id:{description:`DOM id.`,type:{kind:`string`}},orientation:{default:`horizontal`,description:`Divider orientation.`,type:{kind:`enum`,values:[`horizontal`,`vertical`]}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`subtle`,`brand`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`role`,condition:{kind:`when-equals`,prop:`orientation`,to:`vertical`},value:{kind:`literal`,text:`separator`}},{target:{on:`host`},attribute:`aria-orientation`,condition:{kind:`when-equals`,prop:`orientation`,to:`vertical`},value:{kind:`literal`,text:`vertical`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-in`,prop:`tone`,values:[`subtle`,`brand`]},value:{kind:`prop`,prop:`tone`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Pt({children:e,description:t,disabled:n,id:r,invalid:a,legend:o,inlineSize:s=`full`}){let c=t?.trim(),l=r.trim();if(!l)throw Error(`id must be a non-empty string.`);if(!i(l))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);let u=c?`${l}-description`:void 0,d=!!n,f=!d&&!!a,p=[{kind:`element`,tag:`legend`,attrs:{class:`legend`},children:[{kind:`text`,value:o}]}];return c&&p.push({kind:`element`,tag:`p`,attrs:{class:`description`,id:u},children:[{kind:`text`,value:c}]}),e&&p.push({kind:`raw`,html:e}),{kind:`element`,tag:`fieldset`,attrs:{"aria-describedby":c?u:void 0,"aria-invalid":f?`true`:void 0,class:`set-fieldset`,"data-inline-size":s===`fit`?`fit`:void 0,disabled:d,id:l},children:p}}function Ft(e){return r(Pt(e))}var It={name:`fieldset`,description:"Use `fieldset` to group related form controls under a legend.",output:{element:`fieldset`,class:`set-fieldset`},content:{kind:`slots`,slots:[{prop:`legend`,kind:`text`},{prop:`children`,kind:`html`}]},props:{children:{description:`Form controls grouped inside the fieldset.`,type:{kind:`html`}},description:{description:`Description shown below the legend; also used for validation guidance.`,type:{kind:`string`}},disabled:{default:!1,description:`Prevents interaction with controls in the group.`,type:{kind:`boolean`}},id:{description:"`id` for the fieldset.",required:!0,type:{kind:`string`}},invalid:{default:!1,description:`Marks the group as invalid.`,ignoredWhen:"`disabled` is true",type:{kind:`boolean`}},legend:{description:`Legend shown above the group.`,required:!0,type:{kind:`text`}},inlineSize:{default:`full`,description:`Whether the fieldset fills its container or shrinks to fit.`,type:{kind:`enum`,values:[`full`,`fit`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`host`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`host`},attribute:`aria-invalid`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`invalid`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}}]},value:{kind:`literal`,text:`true`}},{target:{on:`host`},attribute:`aria-describedby`,condition:{kind:`when-non-empty`,prop:`description`},value:{kind:`template`,pattern:`{id}-description`}}]}};function Lt({align:e=`start`,caption:t,children:n,id:r,inlineSize:i=`full`,responsive:o=!1}){let s=a(r);return{kind:`element`,tag:`figure`,attrs:{class:`set-figure`,"data-align":e===`start`?void 0:e,"data-inline-size":i===`full`?void 0:i,id:s},children:[{kind:`raw`,html:n},{kind:`element`,tag:`figcaption`,attrs:{class:`figcaption`},children:[Z({as:`span`,children:t,responsive:o,size:`sm`})]}]}}function Rt(e){return r(Lt(e))}var zt={name:`figure`,description:"Use `figure` to present media with a caption.",output:{element:`figure`,class:`set-figure`},content:{kind:`slots`,slots:[{prop:`children`,kind:`html`},{prop:`caption`,kind:`html`}]},props:{align:{default:`start`,description:`Alignment within available space.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},caption:{description:"Caption shown below the media. Supports inline markup such as `<em>`, `<strong>`, `<cite>`, etc.",required:!0,type:{kind:`html`}},children:{description:`Media rendered inside the figure.`,required:!0,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},inlineSize:{default:`full`,description:`Whether the figure fills its container or shrinks to fit the media.`,type:{kind:`enum`,values:[`full`,`fit`]}},responsive:{default:!1,description:`Scales the caption across breakpoints.`,type:{kind:`boolean`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-in`,prop:`align`,values:[`center`,`end`]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},Q=e=>{if(e!==void 0)return String(e)};function Bt({children:e,gap:t=`default`,id:n}){let r=a(n);return{kind:`element`,tag:`div`,attrs:{class:`set-grid`,"data-gap":t==="default"?void 0:t,id:r},children:[{kind:`element`,tag:`div`,attrs:{class:`grid`},children:e?[{kind:`raw`,html:e}]:[]}]}}function Vt(e){return r(Bt(e))}function Ht({align:e,children:t,colSpan:n,colSpanNarrow:r,colSpanWide:i,colStart:o,colStartNarrow:s,colStartWide:c,id:l,justify:u,rowSpan:d,rowSpanNarrow:f,rowSpanWide:p,rowStart:m,rowStartNarrow:h,rowStartWide:g}){let _=a(l);return{kind:`element`,tag:`div`,attrs:{class:`set-grid-item`,"data-align":e,"data-justify":u,"data-col-span-narrow":Q(r),"data-col-start-narrow":Q(s),"data-col-span":Q(n),"data-col-start":Q(o),"data-col-span-wide":Q(i),"data-col-start-wide":Q(c),"data-row-span-narrow":Q(f),"data-row-start-narrow":Q(h),"data-row-span":Q(d),"data-row-start":Q(m),"data-row-span-wide":Q(p),"data-row-start-wide":Q(g),id:_},children:t?[{kind:`raw`,html:t}]:[]}}function Ut(e){return r(Ht(e))}var Wt={name:`grid`,description:"Use `grid` to lay out content in a 12-column responsive grid.",output:{element:`div`,class:`set-grid`},content:{kind:`html`,prop:`children`},props:{children:{description:"`grid-item` components rendered inside the grid.",type:{kind:`html`}},gap:{default:`default`,description:"Space between the `grid-item` components.",type:{kind:`enum`,values:[`default`,`expanded`,`none`]}},id:{description:`DOM id.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-gap`,condition:{kind:`when-in`,prop:`gap`,values:[`expanded`,`none`]},value:{kind:`prop`,prop:`gap`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}},$={kind:`number`,min:1,max:12,integer:!0},Gt={name:`grid-item`,description:"Use `grid-item` to place content within a `grid` layout.",output:{element:`div`,class:`set-grid-item`},content:{kind:`html`,prop:`children`},props:{children:{description:`Content rendered inside the grid item.`,type:{kind:`html`}},align:{description:`Block-axis alignment within the grid cell.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},justify:{description:`Inline-axis alignment within the grid cell.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},colSpan:{description:`Columns spanned at the default breakpoint.`,type:$},colStart:{description:`Starting column at the default breakpoint.`,type:$},id:{description:`DOM id.`,type:{kind:`string`}},rowSpan:{description:`Rows spanned at the default breakpoint.`,type:$},rowSpanNarrow:{description:`Rows spanned at the narrow breakpoint.`,type:$},rowSpanWide:{description:`Rows spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.`,type:$},rowStart:{description:`Starting row at the default breakpoint.`,type:$},rowStartNarrow:{description:`Starting row at the narrow breakpoint.`,type:$},rowStartWide:{description:`Starting row at the wide breakpoint. Effect is only visible above the wide breakpoint.`,type:$},colSpanNarrow:{description:`Columns spanned at the narrow breakpoint.`,type:$},colStartNarrow:{description:`Starting column at the narrow breakpoint.`,type:$},colSpanWide:{description:`Columns spanned at the wide breakpoint. Effect is only visible above the wide breakpoint.`,type:$},colStartWide:{description:`Starting column at the wide breakpoint. Effect is only visible above the wide breakpoint.`,type:$}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-provided`,prop:`align`},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`data-justify`,condition:{kind:`when-provided`,prop:`justify`},value:{kind:`prop`,prop:`justify`}},{target:{on:`host`},attribute:`data-col-span`,condition:{kind:`when-provided`,prop:`colSpan`},value:{kind:`prop`,prop:`colSpan`}},{target:{on:`host`},attribute:`data-col-start`,condition:{kind:`when-provided`,prop:`colStart`},value:{kind:`prop`,prop:`colStart`}},{target:{on:`host`},attribute:`data-col-span-narrow`,condition:{kind:`when-provided`,prop:`colSpanNarrow`},value:{kind:`prop`,prop:`colSpanNarrow`}},{target:{on:`host`},attribute:`data-col-start-narrow`,condition:{kind:`when-provided`,prop:`colStartNarrow`},value:{kind:`prop`,prop:`colStartNarrow`}},{target:{on:`host`},attribute:`data-col-span-wide`,condition:{kind:`when-provided`,prop:`colSpanWide`},value:{kind:`prop`,prop:`colSpanWide`}},{target:{on:`host`},attribute:`data-col-start-wide`,condition:{kind:`when-provided`,prop:`colStartWide`},value:{kind:`prop`,prop:`colStartWide`}},{target:{on:`host`},attribute:`data-row-span`,condition:{kind:`when-provided`,prop:`rowSpan`},value:{kind:`prop`,prop:`rowSpan`}},{target:{on:`host`},attribute:`data-row-start`,condition:{kind:`when-provided`,prop:`rowStart`},value:{kind:`prop`,prop:`rowStart`}},{target:{on:`host`},attribute:`data-row-span-narrow`,condition:{kind:`when-provided`,prop:`rowSpanNarrow`},value:{kind:`prop`,prop:`rowSpanNarrow`}},{target:{on:`host`},attribute:`data-row-start-narrow`,condition:{kind:`when-provided`,prop:`rowStartNarrow`},value:{kind:`prop`,prop:`rowStartNarrow`}},{target:{on:`host`},attribute:`data-row-span-wide`,condition:{kind:`when-provided`,prop:`rowSpanWide`},value:{kind:`prop`,prop:`rowSpanWide`}},{target:{on:`host`},attribute:`data-row-start-wide`,condition:{kind:`when-provided`,prop:`rowStartWide`},value:{kind:`prop`,prop:`rowStartWide`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Kt({align:e=`start`,children:t,id:n,level:r,linkVisited:i=!0,opticalAlign:o,responsive:s,size:c=`md`}){let l=a(n);return{kind:`element`,tag:r?`h${r}`:`span`,attrs:{class:`set-heading`,"data-align":e===`start`?void 0:e,"data-link-visited":i?void 0:`off`,"data-optical-align":o,"data-responsive":s,"data-size":c,id:l},children:[{kind:`raw`,html:t}]}}function qt(e){return r(Kt(e))}var Jt={name:`heading`,description:"Use `heading` to render heading text with consistent type.",output:{element:{kind:`switch`,prop:`level`,cases:{1:`h1`,2:`h2`,3:`h3`,4:`h4`,5:`h5`,6:`h6`}},class:`set-heading`},content:{kind:`html`,prop:`children`},props:{align:{default:`start`,description:`Text alignment.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},children:{description:"Heading content. Supports inline `<a>` links.",required:!0,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},level:{description:"Semantic heading level. Renders a `<span>` when omitted.",type:{kind:`enum`,values:[1,2,3,4,5,6]}},linkVisited:{default:!0,description:`Styles visited links inside the heading.`,type:{kind:`boolean`}},opticalAlign:{default:!1,description:`Optically aligns left sidebearing-heavy glyphs with the content edge.`,type:{kind:`boolean`}},responsive:{default:!1,description:`Scales type across breakpoints.`,type:{kind:`boolean`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`xs`,`sm`,`md`,`lg`,`xl`,`2xl`,`3xl`,`4xl`,`5xl`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-in`,prop:`align`,values:[`center`,`end`]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`data-link-visited`,condition:{kind:`when-equals`,prop:`linkVisited`,to:!1},value:{kind:`literal`,text:`off`}},{target:{on:`host`},attribute:`data-optical-align`,condition:{kind:`when-truthy`,prop:`opticalAlign`}},{target:{on:`host`},attribute:`data-responsive`,condition:{kind:`when-truthy`,prop:`responsive`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Yt({align:e=`center`,as:t=`div`,children:n,gap:r=`md`,id:i,justify:o=`start`,nowrap:s}){let c=a(i);return{kind:`element`,tag:t,attrs:{class:`set-inline`,"data-align":e===`center`?void 0:e,"data-gap":r,"data-justify":o===`start`?void 0:o,"data-nowrap":s,id:c},children:n?[{kind:`raw`,html:n}]:[]}}function Xt(e){return r(Yt(e))}var Zt={name:`inline`,description:"Use `inline` to lay out content in a horizontal row.",output:{element:{kind:`switch`,prop:`as`,cases:{div:`div`,ul:`ul`}},class:`set-inline`},content:{kind:`html`,prop:`children`},props:{as:{default:`div`,description:"Element tag to render. `ul` children must be `<li>`.",type:{kind:`enum`,values:[`div`,`ul`]}},align:{default:`center`,description:`Aligns items on the cross axis.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},children:{description:`Items laid out in a row.`,type:{kind:`html`}},gap:{default:`md`,description:`Space between children.`,type:{kind:`enum`,values:[`2xs`,`xs`,`sm`,`md`,`lg`]}},id:{description:`DOM id.`,type:{kind:`string`}},justify:{default:`start`,description:`Distributes items along the main axis.`,type:{kind:`enum`,values:[`start`,`center`,`end`,`between`]}},nowrap:{description:`Prevents items from wrapping onto new lines.`,type:{kind:`boolean`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-in`,prop:`align`,values:[`start`,`end`]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`data-gap`,condition:{kind:`always`},value:{kind:`prop`,prop:`gap`}},{target:{on:`host`},attribute:`data-justify`,condition:{kind:`when-in`,prop:`justify`,values:[`center`,`end`,`between`]},value:{kind:`prop`,prop:`justify`}},{target:{on:`host`},attribute:`data-nowrap`,condition:{kind:`when-truthy`,prop:`nowrap`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Qt({autocomplete:e,description:t,disabled:n,id:r,invalid:a,label:o,name:s,pattern:c,readOnly:l,required:u,size:d=`md`,spellcheck:f,type:p=`text`,value:m,inlineSize:h=`full`}){let g=r.trim(),_=t?.trim(),v=e!==!1&&e?.trim(),y=s?.trim(),b=c?.trim(),x=m;if(!g)throw Error(`id must be a non-empty string.`);if(!i(g))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);let S=_?`${g}-description`:void 0,C=p===`numeric`,w=C?`text`:p,T=b||(C?`^[0-9]*$`:void 0),E=f===void 0&&C?!1:f,D=!!n,O=!D&&!!l,k=[{kind:`element`,tag:`label`,attrs:{class:`label`,for:g},children:[{kind:`text`,value:o}]},{kind:`element`,tag:`input`,attrs:{"aria-describedby":S,"aria-invalid":!D&&!O&&a?`true`:void 0,autocomplete:v===!1?`off`:v||void 0,class:`input`,disabled:D,id:g,inputmode:C?`numeric`:void 0,name:y||void 0,pattern:T,readonly:O,required:!!u,spellcheck:E===void 0?void 0:String(E),type:w,value:x},children:[]}];return _&&k.push({kind:`element`,tag:`p`,attrs:{class:`description`,id:S},children:[{kind:`text`,value:_}]}),{kind:`element`,tag:`div`,attrs:{class:`set-input`,"data-size":d,"data-inline-size":h===`fit`?`fit`:void 0},children:k}}function $t(e){return r(Qt(e))}var en={name:`input`,description:"Use `input` to collect a single line of text from users.",output:{element:`div`,class:`set-input`},content:{kind:`slots`,slots:[{prop:`label`,kind:`text`},{prop:`description`,kind:`text`}]},props:{autocomplete:{description:"Autocomplete hint. Pass `false` to disable autocomplete.",type:{kind:`union`,variants:[{kind:`string`},{kind:`boolean`}]}},description:{description:`Helper text shown below the input; also used for validation guidance.`,type:{kind:`string`}},disabled:{default:!1,description:`Prevents interaction.`,type:{kind:`boolean`}},id:{description:"`id` linking the label to the input.",required:!0,type:{kind:`string`}},invalid:{default:!1,description:`Marks the input as invalid.`,ignoredWhen:"`disabled` is true or `readOnly` is true",type:{kind:`boolean`}},label:{description:`Label shown above the input.`,required:!0,type:{kind:`text`}},name:{description:`Name submitted with the form.`,type:{kind:`string`}},pattern:{description:`Regex pattern the value must match.`,type:{kind:`string`}},readOnly:{default:!1,description:`Makes the input read-only.`,ignoredWhen:"`disabled` is true",type:{kind:`boolean`}},required:{default:!1,description:`Marks the input as required.`,type:{kind:`boolean`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},spellcheck:{description:`Enables browser spellchecking.`,type:{kind:`boolean`}},type:{default:`text`,description:`Input type.`,type:{kind:`enum`,values:[`text`,`email`,`password`,`tel`,`url`,`numeric`]}},value:{description:`Current value.`,type:{kind:`string`}},inlineSize:{default:`full`,description:`Whether the field fills its container or shrinks to fit.`,type:{kind:`enum`,values:[`full`,`fit`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`descendant`,selector:`label`},attribute:`for`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`input`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`input`}},{target:{on:`descendant`,selector:`input`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`input`},attribute:`name`,condition:{kind:`when-non-empty`,prop:`name`},value:{kind:`prop`,prop:`name`}},{target:{on:`descendant`,selector:`input`},attribute:`value`,condition:{kind:`when-provided`,prop:`value`},value:{kind:`prop`,prop:`value`}},{target:{on:`descendant`,selector:`input`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`descendant`,selector:`input`},attribute:`required`,condition:{kind:`when-truthy`,prop:`required`}},{target:{on:`descendant`,selector:`input`},attribute:`readonly`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`readOnly`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}}]}},{target:{on:`descendant`,selector:`input`},attribute:`aria-invalid`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`invalid`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}},{kind:`not`,of:{kind:`when-truthy`,prop:`readOnly`}}]},value:{kind:`literal`,text:`true`}},{target:{on:`descendant`,selector:`input`},attribute:`aria-describedby`,condition:{kind:`when-non-empty`,prop:`description`},value:{kind:`template`,pattern:`{id}-description`}},{target:{on:`descendant`,selector:`input`},attribute:`inputmode`,condition:{kind:`when-equals`,prop:`type`,to:`numeric`},value:{kind:`literal`,text:`numeric`}},{target:{on:`descendant`,selector:`input`},attribute:`type`,condition:{kind:`when-equals`,prop:`type`,to:`numeric`},value:{kind:`literal`,text:`text`}},{target:{on:`descendant`,selector:`input`},attribute:`type`,condition:{kind:`when-not-in`,prop:`type`,values:[`numeric`]},value:{kind:`prop`,prop:`type`}}]}},tn=`0 0 6714.6 1200`,nn=`0 0 600 1200`,rn=[{x:0,y:0},{x:300,y:0},{x:150,y:300},{x:450,y:300},{x:0,y:600},{x:300,y:600},{x:150,y:900},{x:450,y:900}],an=`M0 956h98V571L87 391h2l124 320h89l123-320h3l-11 180v385h98V276H384L260 608h-5L131 276H0zm879.94 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m361.44 83h103V686c0-141 20-169 112-169 73 0 88 18 88 107v332h103V624c0-167-28-202-163-202-95 0-120 16-147 92h-5v-82h-91zm769.16 10c184 0 223-46 223-272 0-225-39-271-223-271-186 0-224 46-224 271 0 226 38 272 224 272m0-93c-102 0-123-30-123-179 0-147 21-177 123-177 100 0 121 30 121 177 0 149-21 179-121 179m363.25-65c-4 132 30 158 202 158 173 0 208-25 208-150 0-118-33-146-191-170-94-14-114-26-114-74 0-50 18-60 103-60 76 0 92 9 96 52h97c-3-118-36-142-194-142-166 0-201 25-201 146 0 114 31 141 182 162 101 13 122 28 122 82 0 53-18 64-103 64-88 0-107-11-110-68zm558.97 363h102V902h5c20 54 41 64 123 64 160 0 193-45 193-270 0-227-34-274-198-274-83 0-105 11-123 65h-4v-55h-98zm209-298c-93 0-112-30-112-179 0-148 19-178 112-178s113 30 113 179c0 148-20 178-113 178m656.46 83h88V610c0-156-34-187-197-187-150 0-181 27-179 157h97c1-61 15-74 85-74 82 0 99 18 99 105v24h-72c-187 0-226 30-226 179 0 126 28 152 162 152 92 0 116-13 138-74h5zm-8-243c-1 135-22 163-119 163-65 0-79-13-79-75 0-74 18-88 107-88zm551.75 95c-10 56-26 67-89 67-100 0-121-31-121-181s20-181 117-181c65 0 81 14 91 79h101c-4-141-37-170-188-170-185 0-224 46-224 272s39 272 226 272c147 0 179-26 186-158zm547.03 9c-15 48-31 58-96 58-96 0-117-23-123-136h324c5-263-32-317-214-317-172 0-207 46-207 271 0 227 38 273 223 273 139 0 172-25 190-149zm-218-160c4-122 24-146 114-146 88 0 108 24 112 146zm787.56 299h93l-1-734h-102l1 266h-5c-19-54-40-65-120-65-162 0-196 46-196 272s35 271 200 271c84 0 105-11 125-65h5zm-115-82c-94 0-114-30-114-180s20-180 114-180c93 0 112 30 112 180s-19 180-112 180`,on=1163,sn=()=>({kind:`element`,tag:`g`,attrs:{class:`mark`},children:rn.map(({x:e,y:t})=>({kind:`element`,tag:`rect`,attrs:{height:`300`,width:`150`,x:String(e),y:String(t)},children:[]}))}),cn=()=>({kind:`element`,tag:`g`,attrs:{class:`word`,transform:`translate(${on} 0)`},children:[{kind:`element`,tag:`path`,attrs:{d:an},children:[]}]}),ln=(e,t)=>({kind:`element`,tag:`svg`,attrs:{"aria-hidden":`true`,viewBox:e,xmlns:`http://www.w3.org/2000/svg`},children:t});function un(){return ln(tn,[sn(),cn()])}function dn(){return ln(nn,[sn()])}function fn({animated:e,id:t,label:n,size:r=`md`,tone:i=`default`,variant:o=`primary`}){let s=a(t),c=!!e&&(o===`primary`||o===`graphic`),l=[{kind:`element`,tag:`span`,attrs:{class:`visually-hidden`},children:[{kind:`text`,value:n}]}];return c&&l.push(o===`graphic`?dn():un()),{kind:`element`,tag:`div`,attrs:{class:`set-logo`,"data-animated":c,"data-size":r,"data-tone":i===`neutral`?`neutral`:void 0,"data-variant":o===`primary`?void 0:o,id:s},children:l}}function pn(e){return r(fn(e))}var mn={name:`logo`,description:"Use `logo` to display the brand mark.",output:{element:`div`,class:`set-logo`},content:{kind:`text`,prop:`label`},props:{animated:{default:!1,description:"Plays the logo's boot animation once on render. Animates the `primary` and `graphic` variants; others render static.",type:{kind:`boolean`}},id:{description:`DOM id.`,type:{kind:`string`}},label:{description:`Accessible label.`,required:!0,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`,`lg`,`xl`,`fill`]}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`neutral`]}},variant:{default:`primary`,description:`Logo variant.`,type:{kind:`enum`,values:[`primary`,`secondary`,`typographic`,`graphic`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-animated`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`animated`},{kind:`when-in`,prop:`variant`,values:[`primary`,`graphic`]}]}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-equals`,prop:`tone`,to:`neutral`},value:{kind:`literal`,text:`neutral`}},{target:{on:`host`},attribute:`data-variant`,condition:{kind:`when-in`,prop:`variant`,values:[`secondary`,`typographic`,`graphic`]},value:{kind:`prop`,prop:`variant`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function hn({banner:e,centerMain:t,children:n,footer:r,header:i,headerBorder:o,headerSize:s=`md`,id:c,stickyHeader:l}){let u=a(c),d=[];return e&&d.push({kind:`raw`,html:e}),d.push({kind:`element`,tag:`header`,attrs:{class:`header`},children:[{kind:`raw`,html:i}]}),d.push({kind:`element`,tag:`main`,attrs:{class:`main`},children:n?[{kind:`raw`,html:n}]:[]}),d.push({kind:`element`,tag:`footer`,attrs:{class:`footer`},children:[{kind:`raw`,html:r}]}),{kind:`element`,tag:`div`,attrs:{class:`set-page`,"data-center-main":t,"data-header-border":o,"data-header-size":s,"data-sticky-header":l,id:u},children:d}}function gn(e){return r(hn(e))}var _n={name:`page`,description:"Use `page` as the primary layout for header, main, and footer regions.",output:{element:`div`,class:`set-page`},content:{kind:`slots`,slots:[{prop:`banner`,kind:`html`},{prop:`header`,kind:`html`},{prop:`children`,kind:`html`},{prop:`footer`,kind:`html`}]},props:{banner:{description:`Banner rendered above the header.`,type:{kind:`html`}},children:{description:`Main content of the page.`,type:{kind:`html`}},centerMain:{default:!1,description:`Centers the main region within the page shell.`,type:{kind:`boolean`}},header:{description:`Header content.`,required:!0,type:{kind:`html`}},headerBorder:{description:"Bottom border on the header. `'always'` is persistent; `'scroll'` fades in only when a sticky header is stuck (browsers without `container-type: scroll-state` fall back to always-on).",type:{kind:`enum`,values:[`always`,`scroll`]}},headerSize:{default:`md`,description:"Reserves a minimum block size on the header. `--set-page-header-block-size` is exposed to descendants so persistent panels can open below the header band.",type:{kind:`enum`,values:[`sm`,`md`,`lg`]}},id:{description:`DOM id.`,type:{kind:`string`}},stickyHeader:{description:`When the header stays stuck to the top of the viewport.`,type:{kind:`enum`,values:[`always`,`belowNotebook`]}},footer:{description:`Footer content.`,required:!0,type:{kind:`html`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-center-main`,condition:{kind:`when-truthy`,prop:`centerMain`}},{target:{on:`host`},attribute:`data-header-border`,condition:{kind:`when-provided`,prop:`headerBorder`},value:{kind:`prop`,prop:`headerBorder`}},{target:{on:`host`},attribute:`data-header-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`headerSize`}},{target:{on:`host`},attribute:`data-sticky-header`,condition:{kind:`when-provided`,prop:`stickyHeader`},value:{kind:`prop`,prop:`stickyHeader`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function vn({children:e,id:t,padding:n=`md`,surface:r}){return{kind:`element`,tag:`div`,attrs:{class:`set-panel`,"data-padding":n,"data-set-surface":r,id:a(t)},children:e?[{kind:`raw`,html:e}]:[]}}function yn(e){return r(vn(e))}var bn={name:`panel`,description:"Use `panel` to group related content in a contained region.",output:{element:`div`,class:`set-panel`},content:{kind:`html`,prop:`children`},props:{children:{description:`Content rendered inside the panel.`,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},padding:{default:`md`,description:`Inner spacing scale.`,type:{kind:`enum`,values:[`xs`,`sm`,`md`,`lg`,`xl`]}},surface:{description:`Surface context.`,type:{kind:`enum`,values:[`default`,`brand`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-padding`,condition:{kind:`always`},value:{kind:`prop`,prop:`padding`}},{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`when-provided`,prop:`surface`},value:{kind:`prop`,prop:`surface`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function xn({children:e,id:t,size:n=`md`,tone:r=`default`,variant:i=`tile`}={}){let o=a(t);return{kind:`element`,tag:`div`,attrs:{class:`set-pattern`,"data-size":n,"data-tone":r==="default"?void 0:r,"data-variant":i,id:o},children:e?[{kind:`raw`,html:e}]:[]}}function Sn(e={}){return r(xn(e))}var Cn={name:`pattern`,description:"Use `pattern` to render repeated visual language components behind content.",output:{element:`div`,class:`set-pattern`},content:{kind:`html`,prop:`children`},props:{children:{description:`Content rendered above the pattern.`,type:{kind:`html`}},id:{description:`DOM id.`,type:{kind:`string`}},tone:{default:`default`,description:`Semantic tone.`,type:{kind:`enum`,values:[`default`,`subtle`,`support`]}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`xs`,`sm`,`md`,`lg`,`xl`,`fill`]}},variant:{default:`tile`,description:`Shape used for the pattern tile.`,type:{kind:`enum`,values:[`tile`,`tileLight`,`tileDark`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-variant`,condition:{kind:`always`},value:{kind:`prop`,prop:`variant`}},{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-tone`,condition:{kind:`when-in`,prop:`tone`,values:[`subtle`,`support`]},value:{kind:`prop`,prop:`tone`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function wn(e){return se({...e,alt:``,fit:`cover`,priority:!0})}function Tn({children:e,contentTheme:t,id:n,media:r,surface:i}){let o=a(n),s=t?i??`default`:i,c=[{kind:`element`,tag:`div`,attrs:{class:`image-wrapper`},children:[{kind:`raw`,html:r}]}];return e&&c.push({kind:`element`,tag:`div`,attrs:{class:`content`},children:[{kind:`raw`,html:e}]}),{kind:`element`,tag:`div`,attrs:{class:`set-poster`,"data-set-content-theme":t,"data-set-surface":s,id:o},children:c}}function En(e){return r(Tn(e))}var Dn={name:`poster`,description:"Use `poster` to layer content over background media.",output:{element:`div`,class:`set-poster`},content:{kind:`slots`,slots:[{prop:`media`,kind:`html`},{prop:`children`,kind:`html`}]},props:{children:{description:`Foreground content rendered over the media.`,type:{kind:`html`}},contentTheme:{description:`Absolute theme lock for foreground content over non-themeable media.`,ignoredWhen:"`media` is adaptive (it matches the surrounding scheme by itself)",type:{kind:`enum`,values:[`light`,`dark`]}},id:{description:`DOM id.`,type:{kind:`string`}},media:{description:"Background media markup. Build with `renderSetPosterImage`.",required:!0,type:{kind:`html`}},surface:{description:`Surface context.`,type:{kind:`enum`,values:[`default`,`brand`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-set-content-theme`,condition:{kind:`when-provided`,prop:`contentTheme`},value:{kind:`prop`,prop:`contentTheme`}},{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`all`,of:[{kind:`when-provided`,prop:`contentTheme`},{kind:`not`,of:{kind:`when-provided`,prop:`surface`}}]},value:{kind:`literal`,text:`default`}},{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`when-provided`,prop:`surface`},value:{kind:`prop`,prop:`surface`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function On({align:e=`start`,children:t,hangingPunctuation:n,id:r,linkVisited:i=!0,measured:o=!0,monospaced:s,responsive:c}){let l=a(r);return{kind:`element`,tag:`div`,attrs:{class:`set-prose`,"data-align":e===`start`?void 0:e,"data-hanging-punctuation":n,"data-link-visited":i?void 0:`off`,"data-measured":o,"data-monospaced":s,"data-responsive":c,id:l},children:[{kind:`raw`,html:t}]}}function kn(e){return r(On(e))}var An={name:`prose`,description:"Use `prose` to style rich-text markup.",output:{element:`div`,class:`set-prose`},content:{kind:`html`,prop:`children`},props:{children:{description:`Content rendered inside the prose wrapper.`,required:!0,type:{kind:`html`}},align:{default:`start`,description:`Text alignment.`,type:{kind:`enum`,values:[`start`,`center`,`end`]}},hangingPunctuation:{description:`Position list markers and leading quote marks in the margin, with text aligned.`,type:{kind:`enum`,values:[`always`,`notebook`]}},id:{description:`DOM id.`,type:{kind:`string`}},linkVisited:{default:!0,description:`Styles visited links inside the prose.`,type:{kind:`boolean`}},measured:{default:!0,description:`Caps line length for comfortable reading.`,type:{kind:`boolean`}},monospaced:{default:!1,description:`Applies monospaced word spacing throughout.`,type:{kind:`boolean`}},responsive:{default:!1,description:`Scales body text across breakpoints.`,type:{kind:`boolean`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-in`,prop:`align`,values:[`center`,`end`]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`data-hanging-punctuation`,condition:{kind:`when-provided`,prop:`hangingPunctuation`},value:{kind:`prop`,prop:`hangingPunctuation`}},{target:{on:`host`},attribute:`data-link-visited`,condition:{kind:`when-equals`,prop:`linkVisited`,to:!1},value:{kind:`literal`,text:`off`}},{target:{on:`host`},attribute:`data-measured`,condition:{kind:`when-truthy`,prop:`measured`}},{target:{on:`host`},attribute:`data-monospaced`,condition:{kind:`when-truthy`,prop:`monospaced`}},{target:{on:`host`},attribute:`data-responsive`,condition:{kind:`when-truthy`,prop:`responsive`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function jn({description:e,disabled:t,id:n,invalid:a,radios:o,legend:s,name:c,orientation:l=`vertical`,required:u,size:d=`md`,value:f}){let p=n.trim(),m=c.trim(),h=f?.trim();if(!p)throw Error(`id must be a non-empty string.`);if(!i(p))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);if(!m)throw Error(`name must be a non-empty string.`);if(o.length<2)throw Error(`radios must include at least 2 options.`);let g=o.map((e,t)=>{let n=e.value.trim(),r=e.label.trim(),i=e.description?.trim();if(!n)throw Error(`radios[${t}].value must be non-empty.`);if(!r)throw Error(`radios[${t}].label must be non-empty.`);return{description:i,disabled:!!e.disabled,label:r,value:n}});if(new Set(g.map(e=>e.value)).size!==g.length)throw Error(`radios values must be unique.`);let _=!!t,v=g.map(e=>{let t=!!e.disabled,n=e.description?`${p}-${e.value}-description`:void 0,r=[{kind:`element`,tag:`label`,attrs:{class:`label`},children:[{kind:`element`,tag:`input`,attrs:{"aria-describedby":n,checked:h===e.value,class:`radio`,disabled:t,name:m,required:!!u&&!_&&!t,type:`radio`,value:e.value},children:[]},{kind:`element`,tag:`span`,attrs:{},children:[{kind:`text`,value:e.label}]}]}];return e.description&&r.push({kind:`element`,tag:`p`,attrs:{class:`radio-description`,id:n},children:[{kind:`text`,value:e.description}]}),{kind:`element`,tag:`div`,attrs:{class:`radio-field`},children:r}});return Pt({children:r({kind:`element`,tag:`div`,attrs:{class:`set-radios`,"data-orientation":l,"data-size":d},children:v}),description:e,disabled:_,id:p,invalid:a,legend:s})}function Mn(e){return r(jn(e))}var Nn={name:`radios`,description:"Use `radios` to let users select one option from a short list.",output:{element:`fieldset`,class:`set-fieldset`},content:{kind:`structured`,prop:`radios`},props:{description:{description:`Helper text shown below the legend.`,type:{kind:`string`}},disabled:{default:!1,description:`Disables every option in the group.`,type:{kind:`boolean`}},id:{description:`Unique id used to associate the group with its descriptions.`,required:!0,type:{kind:`string`}},invalid:{default:!1,description:`Marks the group as invalid.`,ignoredWhen:"`disabled` is true",type:{kind:`boolean`}},radios:{description:`Options shown in the group.`,required:!0,type:{kind:`array`,itemShape:{description:{description:`Optional per-item helper text.`,type:{kind:`string`}},disabled:{default:!1,description:`Optional per-item disabled override.`,type:{kind:`boolean`}},label:{description:`Radio option label.`,required:!0,type:{kind:`text`}},value:{description:`Submitted value and selection key.`,required:!0,type:{kind:`string`}}}}},legend:{description:`Group label.`,required:!0,type:{kind:`text`}},name:{description:`Form field name shared by all options.`,required:!0,type:{kind:`string`}},orientation:{default:`vertical`,description:`Layout direction.`,type:{kind:`enum`,values:[`vertical`,`horizontal`]}},required:{default:!1,description:`Requires a selection before submission.`,type:{kind:`boolean`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},value:{description:`Currently selected value.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`host`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`host`},attribute:`aria-invalid`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`invalid`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}}]},value:{kind:`literal`,text:`true`}},{target:{on:`host`},attribute:`aria-describedby`,condition:{kind:`when-non-empty`,prop:`description`},value:{kind:`template`,pattern:`{id}-description`}},{target:{on:`descendant`,selector:`div.set-radios`},attribute:`data-orientation`,condition:{kind:`always`},value:{kind:`prop`,prop:`orientation`}},{target:{on:`descendant`,selector:`div.set-radios`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`descendant`,selector:`input`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`radio`}},{target:{on:`descendant`,selector:`input`},attribute:`type`,condition:{kind:`always`},value:{kind:`literal`,text:`radio`}},{target:{on:`descendant`,selector:`input`},attribute:`name`,condition:{kind:`always`},value:{kind:`prop`,prop:`name`}}]}};function Pn({appOverscrollBehavior:e,appRoot:t,brand:n=`mnsp`,children:r,dir:i,id:o,lang:s,theme:c}){let l=a(o);return{kind:`element`,tag:`div`,attrs:{class:`set`,"data-app-root":t,"data-app-overscroll-behavior":e===`none`?`none`:void 0,"data-set-brand":n,"data-set-theme":c,id:l,lang:s===``?void 0:s,dir:i},children:r?[{kind:`raw`,html:r}]:[]}}function Fn(e){return r(Pn(e))}var In={name:`root`,description:"Mandatory top-level `root` wrapper for the Set system.",output:{element:`div`,class:`set`},content:{kind:`html`,prop:`children`},props:{appOverscrollBehavior:{description:`Disables overscroll bounce for app-shell integrations.`,type:{kind:`enum`,values:[`none`]}},appRoot:{default:!1,description:`Marks this wrapper as the app root.`,type:{kind:`boolean`}},brand:{default:`mnsp`,description:`Brand identity applied to the wrapper.`,type:{kind:`enum`,values:[`mnsp`,`wrfr`]}},children:{description:`Content rendered inside the root.`,required:!0,type:{kind:`html`}},dir:{description:`Text direction.`,type:{kind:`enum`,values:[`ltr`,`rtl`]}},id:{description:`DOM id.`,type:{kind:`string`}},lang:{description:"BCP47 language tag (e.g. `en-GB`).",type:{kind:`string`}},theme:{description:`Colour theme.`,type:{kind:`enum`,values:[`light`,`dark`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-app-overscroll-behavior`,condition:{kind:`when-equals`,prop:`appOverscrollBehavior`,to:`none`},value:{kind:`literal`,text:`none`}},{target:{on:`host`},attribute:`data-app-root`,condition:{kind:`when-truthy`,prop:`appRoot`}},{target:{on:`host`},attribute:`data-set-brand`,condition:{kind:`always`},value:{kind:`prop`,prop:`brand`}},{target:{on:`host`},attribute:`data-set-theme`,condition:{kind:`when-provided`,prop:`theme`},value:{kind:`prop`,prop:`theme`}},{target:{on:`host`},attribute:`dir`,condition:{kind:`when-provided`,prop:`dir`},value:{kind:`prop`,prop:`dir`}},{target:{on:`host`},attribute:`lang`,condition:{kind:`when-non-empty`,prop:`lang`},value:{kind:`prop`,prop:`lang`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Ln({align:e=`stretch`,as:t=`div`,children:n,gap:r=`md`,id:i,responsive:o}){let s=a(i);return{kind:`element`,tag:t,attrs:{class:`set-stack`,"data-align":e===`stretch`?void 0:e,"data-gap":r,"data-responsive":o,id:s},children:n?[{kind:`raw`,html:n}]:[]}}function Rn(e){return r(Ln(e))}var zn={name:`stack`,description:"Use `stack` to lay out content in a vertical column.",output:{element:{kind:`switch`,prop:`as`,cases:{div:`div`,ul:`ul`}},class:`set-stack`},content:{kind:`html`,prop:`children`},props:{align:{default:`stretch`,description:`Aligns items on the cross axis.`,type:{kind:`enum`,values:[`stretch`,`start`,`center`,`end`]}},as:{default:`div`,description:"Element tag to render. `ul` children must be `<li>`.",type:{kind:`enum`,values:[`div`,`ul`]}},children:{description:`Items laid out in a column.`,type:{kind:`html`}},gap:{default:`md`,description:`Space between children.`,type:{kind:`enum`,values:[`none`,`xs`,`sm`,`md`,`lg`,`xl`]}},id:{description:`DOM id.`,type:{kind:`string`}},responsive:{default:!1,description:`Scales spacing across breakpoints.`,type:{kind:`boolean`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-align`,condition:{kind:`when-in`,prop:`align`,values:[`start`,`center`,`end`]},value:{kind:`prop`,prop:`align`}},{target:{on:`host`},attribute:`data-gap`,condition:{kind:`always`},value:{kind:`prop`,prop:`gap`}},{target:{on:`host`},attribute:`data-responsive`,condition:{kind:`when-truthy`,prop:`responsive`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Bn({children:e,contentTheme:t,id:n,variant:r=`default`}){return{kind:`element`,tag:`div`,attrs:{class:`set-surface`,"data-set-content-theme":t,"data-set-surface":r,id:a(n)},children:[{kind:`raw`,html:e}]}}function Vn(e){return r(Bn(e))}var Hn={name:`surface`,description:"Use `surface` to set a colour context for nested content.",output:{element:`div`,class:`set-surface`},content:{kind:`html`,prop:`children`},props:{children:{description:`Content rendered inside the surface.`,required:!0,type:{kind:`html`}},contentTheme:{description:`Absolute theme lock for content rendered inside the surface.`,type:{kind:`enum`,values:[`light`,`dark`]}},id:{description:`DOM id.`,type:{kind:`string`}},variant:{default:`default`,description:`Surface context.`,type:{kind:`enum`,values:[`default`,`brand`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-set-content-theme`,condition:{kind:`when-provided`,prop:`contentTheme`},value:{kind:`prop`,prop:`contentTheme`}},{target:{on:`host`},attribute:`data-set-surface`,condition:{kind:`always`},value:{kind:`prop`,prop:`variant`}},{target:{on:`host`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Un({checked:e,description:t,disabled:n,id:r,label:i,name:o,size:s=`md`,value:c}){let l=a(r),u=t?.trim();if(u&&!l)throw Error(`id must be provided when description is provided.`);let d=u?`${l}-description`:void 0,f=[{kind:`element`,tag:`label`,attrs:{class:`label`},children:[{kind:`element`,tag:`input`,attrs:{"aria-describedby":d,checked:!!e,class:`switch`,disabled:!!n,id:l,name:o||void 0,role:`switch`,type:`checkbox`,value:c||void 0},children:[]},{kind:`element`,tag:`span`,attrs:{},children:[{kind:`text`,value:i}]}]}];return u&&f.push({kind:`element`,tag:`p`,attrs:{class:`description`,id:d},children:[{kind:`text`,value:u}]}),{kind:`element`,tag:`div`,attrs:{class:`set-switch`,"data-size":s},children:f}}function Wn(e){return r(Un(e))}var Gn={name:`switch`,description:"Use `switch` to let users instantly toggle a setting on or off.",output:{element:`div`,class:`set-switch`},content:{kind:`slots`,slots:[{prop:`label`,kind:`text`},{prop:`description`,kind:`text`}]},props:{checked:{default:!1,description:`Whether the switch is on.`,type:{kind:`boolean`}},description:{description:`Helper text shown below the label.`,type:{kind:`string`}},disabled:{default:!1,description:`Disables the switch.`,type:{kind:`boolean`}},id:{description:`DOM id.`,requiredWhen:"`description` is provided",type:{kind:`string`}},label:{description:`Label text.`,required:!0,type:{kind:`text`}},name:{description:`Form field name.`,type:{kind:`string`}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},value:{description:`Submitted value when checked.`,type:{kind:`string`}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`descendant`,selector:`input`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`switch`}},{target:{on:`descendant`,selector:`input`},attribute:`type`,condition:{kind:`always`},value:{kind:`literal`,text:`checkbox`}},{target:{on:`descendant`,selector:`input`},attribute:`role`,condition:{kind:`always`},value:{kind:`literal`,text:`switch`}},{target:{on:`descendant`,selector:`input`},attribute:`checked`,condition:{kind:`when-truthy`,prop:`checked`}},{target:{on:`descendant`,selector:`input`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`descendant`,selector:`input`},attribute:`name`,condition:{kind:`when-non-empty`,prop:`name`},value:{kind:`prop`,prop:`name`}},{target:{on:`descendant`,selector:`input`},attribute:`value`,condition:{kind:`when-non-empty`,prop:`value`},value:{kind:`prop`,prop:`value`}},{target:{on:`descendant`,selector:`input`},attribute:`id`,condition:{kind:`when-non-empty`,prop:`id`},value:{kind:`prop`,prop:`id`}}]}};function Kn({autocomplete:e,description:t,disabled:n,id:r,invalid:a,label:o,name:s,readOnly:c,required:l,resize:u=`vertical`,rows:d=2,size:f=`md`,spellcheck:p,value:m,inlineSize:h=`full`}){let g=r.trim(),_=t?.trim(),v=e!==!1&&e?.trim(),y=s?.trim(),b=m;if(!g)throw Error(`id must be a non-empty string.`);if(!i(g))throw Error(`id must start with a letter and contain only letters, numbers, '_', '-', or ':'.`);if(!Number.isInteger(d)||d<2)throw Error(`rows must be an integer greater than or equal to 2.`);let x=_?`${g}-description`:void 0,S=!!n,C=!S&&!!c,w=[{kind:`element`,tag:`label`,attrs:{class:`label`,for:g},children:[{kind:`text`,value:o}]},{kind:`element`,tag:`textarea`,attrs:{"aria-describedby":x,"aria-invalid":!S&&!C&&a?`true`:void 0,autocomplete:v===!1?`off`:v||void 0,class:`textarea`,disabled:S,id:g,name:y||void 0,readonly:C,required:!!l,rows:String(d),spellcheck:p===void 0?void 0:String(p)},children:[{kind:`text`,value:b||``}]}];return _&&w.push({kind:`element`,tag:`p`,attrs:{class:`description`,id:x},children:[{kind:`text`,value:_}]}),{kind:`element`,tag:`div`,attrs:{class:`set-textarea`,"data-resize":u===`none`?`none`:void 0,"data-size":f,"data-inline-size":h===`fit`?`fit`:void 0},children:w}}function qn(e){return r(Kn(e))}var Jn={name:`textarea`,description:"Use `textarea` to collect multiple lines of text from users.",output:{element:`div`,class:`set-textarea`},content:{kind:`slots`,slots:[{prop:`label`,kind:`text`},{prop:`value`,kind:`text`},{prop:`description`,kind:`text`}]},props:{autocomplete:{description:"Browser autocomplete hint. Pass `false` to disable.",type:{kind:`union`,variants:[{kind:`string`},{kind:`boolean`}]}},description:{description:`Helper text shown below the textarea; also used for validation guidance.`,type:{kind:`string`}},disabled:{default:!1,description:`Disables the textarea.`,type:{kind:`boolean`}},id:{description:"`id` used to associate the textarea with its label.",required:!0,type:{kind:`string`}},invalid:{default:!1,description:`Marks the textarea as invalid.`,ignoredWhen:"`disabled` is true or `readOnly` is true",type:{kind:`boolean`}},label:{description:`Label text.`,required:!0,type:{kind:`text`}},name:{description:`Form field name.`,type:{kind:`string`}},readOnly:{default:!1,description:`Prevents editing while keeping the value visible.`,ignoredWhen:"`disabled` is true",type:{kind:`boolean`}},required:{default:!1,description:`Requires a value before submission.`,type:{kind:`boolean`}},resize:{default:`vertical`,description:`How the user can resize the textarea.`,type:{kind:`enum`,values:[`vertical`,`none`]}},rows:{default:2,description:`Number of visible rows.`,type:{kind:`number`,min:2,max:10,integer:!0}},size:{default:`md`,description:`Size variant.`,type:{kind:`enum`,values:[`sm`,`md`]}},spellcheck:{description:`Whether the browser checks spelling.`,type:{kind:`boolean`}},value:{description:`Current value.`,type:{kind:`string`}},inlineSize:{default:`full`,description:`How the textarea fills its container.`,type:{kind:`enum`,values:[`full`,`fit`]}}},events:{},rules:{attributes:[{target:{on:`host`},attribute:`data-size`,condition:{kind:`always`},value:{kind:`prop`,prop:`size`}},{target:{on:`host`},attribute:`data-inline-size`,condition:{kind:`when-equals`,prop:`inlineSize`,to:`fit`},value:{kind:`literal`,text:`fit`}},{target:{on:`host`},attribute:`data-resize`,condition:{kind:`when-equals`,prop:`resize`,to:`none`},value:{kind:`literal`,text:`none`}},{target:{on:`descendant`,selector:`label`},attribute:`for`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`textarea`},attribute:`class`,condition:{kind:`always`},value:{kind:`literal`,text:`textarea`}},{target:{on:`descendant`,selector:`textarea`},attribute:`id`,condition:{kind:`always`},value:{kind:`template`,pattern:`{id}`}},{target:{on:`descendant`,selector:`textarea`},attribute:`rows`,condition:{kind:`always`},value:{kind:`prop`,prop:`rows`}},{target:{on:`descendant`,selector:`textarea`},attribute:`name`,condition:{kind:`when-non-empty`,prop:`name`},value:{kind:`prop`,prop:`name`}},{target:{on:`descendant`,selector:`textarea`},attribute:`disabled`,condition:{kind:`when-truthy`,prop:`disabled`}},{target:{on:`descendant`,selector:`textarea`},attribute:`required`,condition:{kind:`when-truthy`,prop:`required`}},{target:{on:`descendant`,selector:`textarea`},attribute:`readonly`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`readOnly`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}}]}},{target:{on:`descendant`,selector:`textarea`},attribute:`aria-invalid`,condition:{kind:`all`,of:[{kind:`when-truthy`,prop:`invalid`},{kind:`not`,of:{kind:`when-truthy`,prop:`disabled`}},{kind:`not`,of:{kind:`when-truthy`,prop:`readOnly`}}]},value:{kind:`literal`,text:`true`}},{target:{on:`descendant`,selector:`textarea`},attribute:`aria-describedby`,condition:{kind:`when-non-empty`,prop:`description`},value:{kind:`template`,pattern:`{id}-description`}},{target:{on:`descendant`,selector:`textarea`},attribute:`spellcheck`,condition:{kind:`when-provided`,prop:`spellcheck`},value:{kind:`prop`,prop:`spellcheck`}}]}};function Yn(){M(),ie(),ce(),ve(),Ce(),Me(),Ie(),Ue(),Je()}exports.SET_ALERT_EVENT_BEFORE_DISMISS=w,exports.SET_ALERT_EVENT_DISMISS=T,exports.SET_ALERT_SPEC=N,exports.SET_ALERT_TAG_NAME=C,exports.SET_AVATAR_SPEC=st,exports.SET_BADGE_SPEC=ut,exports.SET_BANNER_EVENT_BEFORE_DISMISS=R,exports.SET_BANNER_EVENT_DISMISS=z,exports.SET_BANNER_SPEC=ae,exports.SET_BANNER_TAG_NAME=L,exports.SET_BLOCKQUOTE_SPEC=ht,exports.SET_BOX_SPEC=vt,exports.SET_BUTTON_SPEC=S,exports.SET_CARD_SPEC=xt,exports.SET_CHECKBOX_SPEC=wt,exports.SET_CONTAINER_SPEC=Dt,exports.SET_DETAILS_SPEC=At,exports.SET_DIVIDER_SPEC=Nt,exports.SET_EXPANDER_SPEC=Oe,exports.SET_FIELDSET_SPEC=It,exports.SET_FIGURE_SPEC=zt,exports.SET_GRID_ITEM_SPEC=Gt,exports.SET_GRID_SPEC=Wt,exports.SET_HEADING_SPEC=Jt,exports.SET_ICON_NAMES=l,exports.SET_ICON_SPEC=p,exports.SET_IMAGE_SPEC=le,exports.SET_IMAGE_TAG_NAME=V,exports.SET_INLINE_SPEC=Zt,exports.SET_INPUT_SPEC=en,exports.SET_LIGHTSWITCH_EVENT_CHANGE=ue,exports.SET_LIGHTSWITCH_SPEC=ye,exports.SET_LIGHTSWITCH_STORAGE_KEY=U,exports.SET_LIGHTSWITCH_TAG_NAME=H,exports.SET_LINK_SPEC=ee,exports.SET_LOGO_SPEC=mn,exports.SET_MENU_EVENT_CHOOSE=be,exports.SET_MENU_SPEC=we,exports.SET_MENU_TAG_NAME=W,exports.SET_NAV_SPEC=Ne,exports.SET_NAV_TAG_NAME=G,exports.SET_PAGE_SPEC=_n,exports.SET_PANEL_SPEC=bn,exports.SET_PATTERN_SPEC=Cn,exports.SET_POSTER_SPEC=Dn,exports.SET_PROSE_SPEC=An,exports.SET_RADIOS_SPEC=Nn,exports.SET_RANGE_SPEC=Le,exports.SET_RANGE_TAG_NAME=K,exports.SET_ROOT_SPEC=In,exports.SET_SIDEBAR_SPEC=We,exports.SET_SIDEBAR_TAG_NAME=q,exports.SET_SPINNER_SPEC=g,exports.SET_STACK_SPEC=zn,exports.SET_SURFACE_SPEC=Hn,exports.SET_SWITCH_SPEC=Gn,exports.SET_TEXTAREA_SPEC=Jn,exports.SET_TEXT_SPEC=ft,exports.SET_VIDEO_SPEC=Ye,exports.SET_VIDEO_TAG_NAME=Y,exports.applySetButtonActivity=x,exports.buildSetAlert=A,exports.buildSetAvatar=at,exports.buildSetBadge=ct,exports.buildSetBanner=ne,exports.buildSetBlockquote=pt,exports.buildSetBox=gt,exports.buildSetButton=y,exports.buildSetCard=yt,exports.buildSetCheckbox=St,exports.buildSetContainer=Tt,exports.buildSetDetails=Ot,exports.buildSetDivider=jt,exports.buildSetExpander=Ee,exports.buildSetFieldset=Pt,exports.buildSetFigure=Lt,exports.buildSetGrid=Bt,exports.buildSetGridItem=Ht,exports.buildSetHeading=Kt,exports.buildSetIcon=d,exports.buildSetImage=oe,exports.buildSetInline=Yt,exports.buildSetInput=Qt,exports.buildSetLightswitch=ge,exports.buildSetLink=F,exports.buildSetLogo=fn,exports.buildSetMenu=xe,exports.buildSetNav=Ae,exports.buildSetPage=hn,exports.buildSetPanel=vn,exports.buildSetPattern=xn,exports.buildSetPoster=Tn,exports.buildSetProse=On,exports.buildSetRadios=jn,exports.buildSetRange=Pe,exports.buildSetRoot=Pn,exports.buildSetSidebar=Ve,exports.buildSetSpinner=m,exports.buildSetStack=Ln,exports.buildSetSurface=Bn,exports.buildSetSwitch=Un,exports.buildSetText=Z,exports.buildSetTextarea=Kn,exports.buildSetVideo=Ge,exports.defineSetAlert=M,exports.defineSetBanner=ie,exports.defineSetComponents=Yn,exports.defineSetImage=ce,exports.defineSetLightswitch=ve,exports.defineSetMenu=Ce,exports.defineSetNav=Me,exports.defineSetRange=Ie,exports.defineSetSidebar=Ue,exports.defineSetVideo=Je,exports.escapeHtml=t,exports.getSetInitials=Qe,exports.renderSetAlert=j,exports.renderSetAvatar=ot,exports.renderSetBadge=lt,exports.renderSetBanner=re,exports.renderSetBlockquote=mt,exports.renderSetBox=_t,exports.renderSetButton=b,exports.renderSetCard=bt,exports.renderSetCheckbox=Ct,exports.renderSetContainer=Et,exports.renderSetDetails=kt,exports.renderSetDivider=Mt,exports.renderSetExpander=De,exports.renderSetFieldset=Ft,exports.renderSetFigure=Rt,exports.renderSetGrid=Vt,exports.renderSetGridItem=Ut,exports.renderSetHeading=qt,exports.renderSetIcon=f,exports.renderSetImage=se,exports.renderSetInline=Xt,exports.renderSetInput=$t,exports.renderSetLightswitch=_e,exports.renderSetLink=I,exports.renderSetLogo=pn,exports.renderSetMenu=Se,exports.renderSetNav=je,exports.renderSetPage=gn,exports.renderSetPanel=yn,exports.renderSetPattern=Sn,exports.renderSetPoster=En,exports.renderSetPosterImage=wn,exports.renderSetProse=kn,exports.renderSetRadios=Mn,exports.renderSetRange=Fe,exports.renderSetRoot=Fn,exports.renderSetSidebar=He,exports.renderSetSpinner=h,exports.renderSetStack=Rn,exports.renderSetSurface=Vn,exports.renderSetSwitch=Wn,exports.renderSetText=dt,exports.renderSetTextarea=qn,exports.renderSetVideo=Ke,exports.serializeSetNode=r;
|
|
2
|
+
//# sourceMappingURL=index.cjs.map
|