1import{N as r,kX as p}from"./utilities-previous.C42MP_Mw.js";const a={Grayscale:{Black:new r(0,0,0),D2:new r(0,0,5.5),D2D:new r(0,0,17.1),L2:new r(0,0,93),L3:new r(0,0,94.8),L4:new r(221,11.7,96.1),White:new r(0,0,100)},Purple:{P40:new r(268.7,91,38.3),L20:new r(272.1,93.4,61.7)},Poppy:{D1:new r(14.2,96.7,47.6)}},h=a.Purple.P40;function L({darkMode:e,fontScale:c,isEmbedded:t=!1}){const o=e?a.Grayscale.D2:a.Grayscale.White,n=e?a.Grayscale.White:a.Grayscale.Black,s=e?a.Purple.L20:h,i=n,l=o,u=e?a.Grayscale.D2D:a.Grayscale.L4,d=e?a.Grayscale.L3:a.Grayscale.Black,g=e?void 0:a.Grayscale.L2;return{colors:{global:{accent:s,critical:a.Poppy.D1,info:a.Grayscale.D2},schemes:{scheme1:{base:{background:o,text:n,accent:s,icon:n,border:g},control:{background:o,text:n,icon:n,accent:n,selected:{background:e?a.Grayscale.D2D:a.Grayscale.L4}},primaryButton:{background:i,border:l,text:l},secondaryButton:{background:u,text:d}},scheme2:{base:{background:o,text:n,accent:s,icon:n},control:{background:o,text:n,icon:n,accent:n},primaryButton:{background:i,border:l,text:l},secondaryButton:{background:u,text:d}}}},cornerRadius:t?{small:6,base:8,large:12}:{small:8,base:12,large:20},spacing:{},typographySize:{},typographyLineHeight:{},typographyScale:{base:14*c,ratio:1.2},typographyPrimary:{},typographySecondary:{},headingLevel1:{typography:{fonts:"primary",size:"extraLarge",weight:"bold"}},headingLevel2:{typography:{fonts:"primary",size:"medium",weight:"bold"}},headingLevel3:{},headingLevel4:{},divider:{},link:{typographyDecoration:"none"},lineItems:{quantityVisibility:"visibleWhenMultiple"},merchandiseThumbnail:{...t&&{cornerRadius:"small"}},moneyLines:{divided:!1},moneySummary:{blockPadding:"none"},rollup:{inlinePadding:"base"},modal:t?{}:{blockPaddingStart:"large200",blockPaddingEnd:"large300",cornerRadius:"fullyRounded",margin:"small200"},global:{},control:{cornerRadius:"base"},textField:{},select:{},checkbox:{cornerRadius:"small"},choiceList:{},optionList:{},primaryButton:{cornerRadius:t?void 0:"fullyRounded",typography:{fonts:"primary",size:"medium",weight:"bold"}},secondaryButton:{cornerRadius:t?void 0:"fullyRounded",typography:{size:"base",weight:"base"}},formLayout:{},popover:{connector:"none"},vaulted:{shadow:"extraSmall",cornerRadius:"large"}}}const b=e=>e,y=e=>e,f={handle:b("e_769189b8"),variants:{control:y("v_11937282"),treatment:y("v_151ee815")}};function P(e,c,t){if(!(e.flag&&!t(e.flag)))for(const o of c){const[n,s]=o.split("=");if(n===e.handle)return s!=null&&Object.values(e.variants).includes(s)?s:void 0}}function k(e,c=[]){return Object.keys(p(e)).every(o=>c.includes(o))}export{f as E,a as P,h as S,L as g,k as i,P as r};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.