@universityofmaryland/web-components-library 1.17.13 → 1.17.14
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/README.md +1 -1
- package/dist/bundle.js +3 -3
- package/dist/bundle.js.map +1 -1
- package/dist/cdn.js +1 -1
- package/dist/cdn.js.map +1 -1
- package/package.json +1 -1
package/dist/cdn.js
CHANGED
|
@@ -3341,7 +3341,7 @@ Change \`@nest ${A.params} {}\` to \`${A.params} {}\` to migrate to the latest s
|
|
|
3341
3341
|
|
|
3342
3342
|
${eL}
|
|
3343
3343
|
${AL}
|
|
3344
|
-
`,Ua=({GetElements:A,GetState:e,transition:t=!0,additionalSpread:n})=>{const{getContainer:i,getTabsContainer:s,getDisplayLineStrip:r,getDisplayLine:l,getContentStrip:c,getButtons:a,getContents:o}=A,{getActiveTab:B,getIsFlexLayout:g,getButtonWidths:d,getButtonHeights:u,getIsThemeDark:w}=e,C=i(),E=s(),h=r(),f=l(),I=c(),Q=a(),p=o(),Y=g(),G=B(),y=d(),D=u(),k=()=>p.map((Z,sA)=>{Z&&(sA===G?Z.style.display="block":Z.style.display="none")}),L=()=>Q.map((Z,sA)=>{sA===G?(Z.setAttribute(vI,"true"),w&&(Z.style.color=`${M.white}`)):(Z.setAttribute(vI,"false"),w&&(Z.style.color=`${M.gray.light}`))}),nA=()=>{const Z=p[G],sA=Ti(Y?m.xl:m.md);if(Z&&(t?I.style.transition="height 0.5s":I.style.transition="none",I.style.height=`${Z.offsetHeight+sA}px`,Z.style.top=`${E.offsetHeight+sA}px`,Z.style.width="100%",!Y&&t)){const hA=Ti(m.md),cA=n?hA+n:hA;m2({element:Z,spread:cA})}},oA=()=>{Y?C.setAttribute(Uw,""):C.removeAttribute(Uw)},T=()=>{Y?E.style.display="flex":E.style.display="block"},W=()=>{const Z=Q[G];if(t?f.style.transition="width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out":f.style.transition="none",Y){let sA=0;if(G>0)for(let hA=0;hA<G;hA++)sA+=Q[hA].offsetWidth;h.style.width=`${y}px`,h.style.height="2px",f.style.top="inherit",f.style.left="0",f.style.width=`${Z.offsetWidth}px`,f.style.height="2px",f.style.transform=`translate(${sA}px, 0)`}else{let sA=0;if(G>0)for(let hA=0;hA<G;hA++)sA+=Q[hA].offsetHeight;h.style.width="2px",h.style.height=`${D}px`,f.style.top="0",f.style.left="-2px",f.style.width="2px",f.style.height=`${Z.offsetHeight}px`,f.style.transform=`translate(0, ${sA}px)`}};k(),L(),oA(),T(),W(),nA()},iL=A=>(()=>{const{isThemeDark:e,tabsContainer:t,shadowContent:n,topPosition:i}=A,s=document.createElement("div"),r=document.createElement("div"),l=document.createElement("div"),c=document.createElement("div"),a=document.createElement("span"),o=Array.from(t.children),B=Array.from(t.querySelectorAll("button")),g=i?parseInt(i):null,d=o.filter(D=>B.find(k=>k.getAttribute("aria-controls")===D.getAttribute("id"))),C={GetElements:{getContainer:()=>r,getTabsContainer:()=>t,getDisplayLineStrip:()=>c,getDisplayLine:()=>a,getContentStrip:()=>l,getButtons:()=>B,getContents:()=>d},GetState:{getActiveTab:()=>I,getIsFlexLayout:()=>Q,getButtonWidths:()=>p,getButtonHeights:()=>Y,getIsThemeDark:e||!1}},E=D=>{I=D,Ua({...C,additionalSpread:g})},h=()=>{p=B.reduce((D,k)=>D+k.offsetWidth,0),Y=B.reduce((D,k)=>D+k.offsetHeight,0),Q=p<r.offsetWidth},f=()=>{B.forEach((D,k)=>{D.addEventListener("click",()=>E(k)),D.style.position="relative",D.style.textAlign="left",D.style.display="inline-block",D.style.padding=`${m.sm} ${m.md}`,D.style.border="none",D.style.background="transparent",Object.keys(ye).forEach(L=>{const nA=L;D.style[nA]=ye[nA]}),e&&(D.style.color=M.white)}),d.forEach(D=>{D&&(D.style.display="none",D.style.position="absolute",D.style.top="0",D.style.left="0")})};let I=0,Q=!1,p=0,Y=0;const G=()=>{h(),Ua({...C,transition:!1})},y=()=>{f(),Ua({...C,transition:!1}),h(),Ua({...C,transition:!1})};return l.classList.add(XH),n?r.appendChild(n):r.appendChild(t),c.classList.add(Pa),r.appendChild(c),a.classList.add(TI),r.appendChild(a),r.appendChild(l),r.classList.add(bw),e&&r.setAttribute(PI,UI),s.classList.add(bI),s.appendChild(r),window.addEventListener("resize",Be(G,10)),{element:s,styles:tL,events:{resize:G,load:y}}})(),x={decoration:{line:"data-decoration-line"},display:{default:"data-display"},feature:{animation:"data-animation",lazyLoad:"data-lazy-load",imageExpand:"data-image-expand"},feed:{type:"data-feed-type",union:"data-union"},information:{admissions:"data-admissions",alertUrl:"data-alert-url",events:"data-events",filterIds:"data-filter-group-ids",gift:"data-gift",id:"data-id",ids:"data-ids",mediaTrained:"data-media-trained",news:"data-news",removeIds:"data-remove-entry-ids",schools:"data-schools",search:"data-search",searchType:"data-search-type",title:"data-title",token:"data-token",url:"data-url"},layout:{alertOff:"data-alert-off",alignment:"data-layout-alignment",columnCount:"data-layout-column-count",fixed:"data-layout-fixed",height:"data-layout-height",hidden:"data-layout-hidden",imageScaled:"data-layout-image-scaled",imagePosition:"data-layout-image-position",interior:"data-layout-interior",lock:"data-layout-lock",position:"data-layout-position",reverse:"data-layout-reverse",rowCount:"data-layout-row-count",spaceHorizontal:"data-layout-space-horizontal",text:"data-layout-text"},loading:{priority:"data-loading-priority"},sharing:{email:"data-email",print:"data-print"},social:{facebook:"data-facebook",twitter:"data-twitter"},theme:{default:"data-theme"},visual:{bordered:"data-visual-bordered",campaign:"data-visual-campaign",imageAligned:"data-visual-image-aligned",icon:"data-visual-icon",iconSeal:"data-visual-icon-seal",hiddenDays:"data-days-to-hide",open:"data-visual-open",play:"data-visual-play",size:"data-visual-size",time:"data-visual-time",transparent:"data-visual-transparent"},deprecated:{feature:{FULLSCREEN:"option-full-screen",SHOW_TIME:"show-time"},display:{DISPLAY_SIZE:"size",DISPLAY_TYPE:"display-type",DISPLAY:"display"},feed:{FEED_CATEGORIES:"categories",FEED_COLUMN_COUNT:"show-count",FEED_LAZY_LOAD:"lazyload",FEED_NOT_ENTRIES:"not",FEED_ROW_COUNT:"row-count",FEED_TOKEN:"token",FEED_UNION:"union"},option:{OPTIONAL_HAS_LINE:"has-line",OPTIONAL_HAS_SEPARATOR:"include-separator",OPTIONAL_STICKY_FIRST:"isStickyFirst"},layout:{DEFAULT:"layout",LAYOUT_FIXED:"fixed",LAYOUT_ALIGNMENT:"alignment",LAYOUT_IMAGE_POSITION:"image-position",LAYOUT_STICKY_TOP:"position-top"},state:{RESIZE:"resize",STATE_DEPRECATD:"state",STATE:"data-state"},theme:{THEME_DEPRECATD:"theme"},type:{TYPE:"type",DATA_TYPE:"data-type"},visual:{VISUAL_ALIGN:"aligned",VISUAL_BORDER:"border",VISUAL_DAYS_TO_HIDE:"days-to-hide",VISUAL_HAS_LOGO:"hasLogo",VISUAL_ICON:"icon",VISUAL_TRANSPARENT:"transparent",VISUAL_QUOTE:"quote",VISUAL_TEXT_CENTER:"text-center",VISUAL_STYLE_PROPS:"styleProps"}}},J={campaign:{forward:"forward"},data:{type:{academic:"academic"}},display:{block:"block",feature:"feature",featured:"featured",hero:"hero",image:"image",list:"list",overlay:"overlay",promo:"promo",short:"short",stacked:"stacked",statement:"statement",sticky:"sticky",tabular:"tabular",mega:"mega",visual:"visual",simple:"simple"},layout:{center:"center",defaultCentered:"default-centered",defaultInteriorCentered:"default-interior-centered",defaultInterior:"default-interior",fullImage:"full-image",large:"large",small:"small",left:"left",right:"right",stackedInterior:"stacked-interior"},search:{domain:"domain"},size:{NORMAL:"normal",LARGE:"large"},state:{CLOSED:"closed",FALSE:"false",OPENED:"open",TRUE:"true"},theme:{DARK:"dark",GOLD:"gold",LIGHT:"light",MARYLAND:"maryland"},type:{OUTLINE:"outline",PRIMARY:"primary",SECONDARY:"secondary"}},ba=(...A)=>{const e=new Map;return A.forEach(t=>{const n=e.get(t.name)||[];n.push(t.handler),e.set(t.name,n)}),Array.from(e.entries()).map(([t,n])=>({name:t,handler:(i,s,r)=>{n.forEach(l=>l(i,s,r))}}))},Tw=({callback:A,name:e})=>({name:e||x.deprecated.state.RESIZE,handler:(t,n,i)=>{if(i===J.state.TRUE){const s=t.element,r={width:s.offsetWidth,height:s.offsetHeight};A(t),setTimeout(()=>{const l={width:s.offsetWidth,height:s.offsetHeight};s.dispatchEvent(new CustomEvent("component:resize",{detail:{tagName:s.tagName.toLowerCase(),element:s,timestamp:Date.now(),previousSize:r,currentSize:l,source:"attribute"},bubbles:!0,composed:!0}))},0)}}}),xI=({callback:A,name:e})=>({name:e||x.deprecated.state.STATE,handler:(t,n,i)=>{i===J.state.OPENED&&n===J.state.CLOSED&&A(t)}}),NI=({callback:A,name:e})=>({name:e||x.deprecated.state.STATE,handler:(t,n,i)=>{i===J.state.CLOSED&&n===J.state.OPENED&&A(t)}}),xw=({callback:A,name:e})=>({name:e||x.visual.open,handler:(t,n,i)=>{i===J.state.FALSE&&n===J.state.TRUE&&A(t)}}),HI=({callback:A,name:e})=>({name:e||x.layout.hidden,handler:(t,n,i)=>{i===J.state.TRUE&&n===J.state.FALSE&&A(t)}}),Nw=({callback:A,name:e})=>({name:e||x.visual.open,handler:(t,n,i)=>{i===J.state.TRUE&&n===J.state.FALSE&&A(t)}}),nL=({callback:A,name:e})=>({name:e||x.layout.position,handler:(t,n,i)=>{if(i!==n){const s=i?parseInt(i):null;s?A(t,s):A(t)}}}),LI=({callback:A,name:e})=>({name:e||x.layout.hidden,handler:(t,n,i)=>{i===J.state.FALSE&&n===J.state.TRUE&&A(t)}}),$A={combine:ba,observe:{resize:Tw,stateOpen:xI,stateClosed:NI,visuallyHide:HI,visuallyOpen:Nw,visuallyClosed:xw,visuallyPosition:nL,visuallyShow:LI},common:{resize:A=>Tw({callback:A}),visualShowHide:A=>ba(...A.onShow?[LI({callback:A.onShow})]:[],...A.onHide?[HI({callback:A.onHide})]:[]),visualToggle:A=>ba(...A.onOpen?[Nw({callback:A.onOpen})]:[],...A.onClose?[xw({callback:A.onClose})]:[]),accordion:()=>ba(Tw({callback:A=>A.events?.open({hasAnimation:!1})}),Nw({callback:A=>A.events?.open({hasAnimation:!0})}),xw({callback:A=>A.events?.close({hasAnimation:!0})}),NI({callback:A=>A.events?.close({hasAnimation:!0})}),xI({callback:A=>A.events?.open({hasAnimation:!0})}))}},dA=({element:A,attributeName:e,attributeValue:t,defaultValue:n=!1})=>{const i=A.getAttribute(e);return i===null?n:i==="false"?!1:i===t},Hw=({element:A,attributeName:e})=>{const t=A.getAttribute(e);return t==="true"?!0:t==="false"?!1:t!==null},kI=({element:A,attributeNameOld:e,attributeNameNew:t})=>{console.warn(`UMD Web Component: ${A.nodeName} - Attribute "${e}" is deprecated. Use "${t}" instead. This attribute will be removed in version 2.0.`)},CA=A=>{const{element:e,attributeNameOld:t,attributeNameNew:n,attributeValue:i,...s}=A;return dA({...s,element:e,attributeName:t,attributeValue:i})?(kI(A),!0):!1},vA=(A,e,t=!1)=>n=>dA({...n,attributeName:A,attributeValue:e,defaultValue:t}),re=({currentName:A,deprecatedName:e})=>({element:t})=>{if(e){const i=t.getAttribute(e);if(i!==null)return kI({element:t,attributeNameOld:e,attributeNameNew:A}),i}const n=t.getAttribute(A);return n!==null?n:null},RI={gifts:A=>Hw({...A,attributeName:x.information.gift}),search:A=>Hw({...A,attributeName:x.information.search})},sL={line:A=>CA({...A,attributeNameOld:x.deprecated.option.OPTIONAL_HAS_LINE,attributeNameNew:x.decoration.line,attributeValue:""})||Hw({...A,attributeName:x.decoration.line})},Ye={animation:vA(x.feature.animation,J.state.TRUE,!0),imageExpand:vA(x.feature.imageExpand,J.state.TRUE,!0),fullScreenOption:vA(x.deprecated.feature.FULLSCREEN,J.state.TRUE,!0),visualTime:vA(x.deprecated.feature.SHOW_TIME,J.state.TRUE,!0),lazyLoad:A=>CA({...A,attributeNameOld:x.deprecated.feed.FEED_LAZY_LOAD,attributeNameNew:x.feature.lazyLoad,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.feature.lazyLoad,attributeValue:J.state.TRUE})},SI={type:{academic:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.feed.type,attributeValue:J.data.type.academic})||dA({...A,attributeName:x.feed.type,attributeValue:J.data.type.academic})},union:A=>CA({...A,attributeNameOld:x.deprecated.feed.FEED_UNION,attributeNameNew:x.feed.union,attributeValue:J.state.FALSE})||dA({...A,attributeName:x.feed.union,attributeValue:J.state.FALSE,defaultValue:!0})},LA={block:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.block})||dA({...A,attributeName:x.display.default,attributeValue:J.display.block}),feature:vA(x.deprecated.display.DISPLAY,J.display.feature),featured:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.featured})||dA({...A,attributeName:x.display.default,attributeValue:J.display.featured}),hero:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.hero})||dA({...A,attributeName:x.display.default,attributeValue:J.display.hero}),list:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY,attributeNameNew:x.display.default,attributeValue:J.display.list})||dA({...A,attributeName:x.display.default,attributeValue:J.display.list}),outline:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.type.OUTLINE})||dA({...A,attributeName:x.display.default,attributeValue:J.type.OUTLINE}),overlay:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.overlay})||dA({...A,attributeName:x.display.default,attributeValue:J.display.overlay}),promo:vA(x.deprecated.display.DISPLAY,J.display.promo),primary:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.type.PRIMARY})||dA({...A,attributeName:x.display.default,attributeValue:J.type.PRIMARY}),secondary:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.type.SECONDARY})||dA({...A,attributeName:x.display.default,attributeValue:J.type.SECONDARY}),short:vA(x.display.default,J.display.short),standardCentered:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.defaultCentered})||dA({...A,attributeName:x.deprecated.type.TYPE,attributeValue:J.layout.defaultCentered}),standardInterior:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.defaultInterior})||dA({...A,attributeName:x.deprecated.type.TYPE,attributeValue:J.layout.defaultInterior}),standardInteriorCentered:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.defaultInteriorCentered})||dA({...A,attributeName:x.deprecated.type.TYPE,attributeValue:J.layout.defaultInteriorCentered}),statement:vA(x.deprecated.display.DISPLAY,J.display.statement),sticky:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.sticky})||dA({...A,attributeName:x.display.default,attributeValue:J.display.sticky}),stacked:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.stacked})||dA({...A,attributeName:x.display.default,attributeValue:J.display.stacked}),stackedInteriorDeprecated:vA(x.deprecated.type.TYPE,J.layout.stackedInterior),stackedInterior:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.stackedInterior})||dA({...A,attributeName:x.display.default,attributeValue:J.layout.stackedInterior}),tabular:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY,attributeNameNew:x.display.default,attributeValue:J.display.tabular})||dA({...A,attributeName:x.display.default,attributeValue:J.display.tabular}),mega:A=>CA({...A,attributeNameOld:x.deprecated.type.DATA_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.mega})||CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.mega})||dA({...A,attributeName:x.display.default,attributeValue:J.display.mega}),visual:A=>CA({...A,attributeNameOld:x.deprecated.type.DATA_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.visual})||CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.visual})||dA({...A,attributeName:x.display.default,attributeValue:J.display.visual}),simple:A=>CA({...A,attributeNameOld:x.deprecated.type.DATA_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.simple})||CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.simple})||dA({...A,attributeName:x.display.default,attributeValue:J.display.simple})},gs={admissions:vA(x.information.admissions,J.state.TRUE),events:vA(x.information.events,J.state.TRUE),news:vA(x.information.news,J.state.TRUE),schools:vA(x.information.schools,J.state.TRUE),searchDomain:vA(x.information.searchType,J.search.domain)},he={alertOff:vA(x.layout.alertOff,J.state.TRUE),alignmentRight:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_ALIGNMENT,attributeNameNew:x.layout.alignment,attributeValue:J.layout.right})||dA({...A,attributeName:x.layout.alignment,attributeValue:J.layout.right}),fixed:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_FIXED,attributeNameNew:x.layout.fixed,attributeValue:""})||dA({...A,attributeName:x.layout.fixed,attributeValue:J.state.TRUE}),fullImage:vA(x.deprecated.type.TYPE,J.layout.fullImage),heightSmall:A=>dA({...A,attributeName:x.layout.height,attributeValue:J.layout.small}),hidden:vA(x.layout.hidden,J.state.TRUE),image:vA(x.deprecated.type.TYPE,J.display.image),imagePositionRight:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_IMAGE_POSITION,attributeNameNew:x.layout.imagePosition,attributeValue:J.layout.right})||dA({...A,attributeName:x.layout.imagePosition,attributeValue:J.layout.right,defaultValue:!0}),imagePositionLeft:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_IMAGE_POSITION,attributeNameNew:x.layout.imagePosition,attributeValue:J.layout.left})||dA({...A,attributeName:x.layout.imagePosition,attributeValue:J.layout.left,defaultValue:!1}),imageScaled:A=>dA({...A,attributeName:x.layout.imageScaled,attributeValue:J.state.TRUE,defaultValue:!0}),interior:vA(x.layout.interior,J.state.TRUE),lock:vA(x.layout.lock,J.state.TRUE),lockFull:vA(x.layout.lock,J.layout.large),reverse:A=>CA({...A,attributeNameOld:x.deprecated.layout.DEFAULT,attributeNameNew:x.layout.reverse,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.layout.reverse,attributeValue:J.state.TRUE}),spaceHorizontalLarge:A=>dA({...A,attributeName:x.layout.spaceHorizontal,attributeValue:J.layout.large}),textCentered:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_TEXT_CENTER,attributeNameNew:x.layout.text,attributeValue:J.layout.center})||dA({...A,attributeName:x.layout.text,attributeValue:J.layout.center})},zI={email:vA(x.sharing.email,J.state.TRUE),print:vA(x.sharing.print,J.state.TRUE)},JI={facebook:vA(x.social.facebook,J.state.TRUE,!0),twitter:vA(x.social.twitter,J.state.TRUE,!0)},aA={dark:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.DARK})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.DARK}),gold:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.GOLD})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.GOLD}),light:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.LIGHT})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.LIGHT}),maryland:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.MARYLAND})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.MARYLAND})},OA={aligned:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_ALIGN,attributeNameNew:x.visual.imageAligned,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.imageAligned,attributeValue:J.state.TRUE}),bordered:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_BORDER,attributeNameNew:x.visual.bordered,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.bordered,attributeValue:J.state.TRUE}),campaign:vA(x.visual.campaign,J.campaign.forward),icon_seal:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_HAS_LOGO,attributeNameNew:x.visual.iconSeal,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.iconSeal,attributeValue:J.state.TRUE}),open:A=>CA({...A,attributeNameOld:x.deprecated.state.STATE_DEPRECATD,attributeNameNew:x.visual.open,attributeValue:J.state.OPENED})||dA({...A,attributeName:x.visual.open,attributeValue:J.state.TRUE}),play:vA(x.visual.play,J.state.TRUE),quote:vA(x.deprecated.visual.VISUAL_QUOTE,J.state.TRUE),showIcon:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_ICON,attributeNameNew:x.visual.icon,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.icon,attributeValue:J.state.TRUE}),sizeNormal:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_SIZE,attributeNameNew:x.visual.size,attributeValue:J.size.NORMAL})||dA({...A,attributeName:x.visual.size,attributeValue:J.size.NORMAL}),showTime:A=>CA({...A,attributeNameOld:x.deprecated.feature.SHOW_TIME,attributeNameNew:x.visual.time,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.time,attributeValue:J.state.TRUE,defaultValue:!0}),sizeLarge:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_SIZE,attributeNameNew:x.visual.size,attributeValue:J.size.LARGE})||CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_SIZE,attributeNameNew:x.visual.size,attributeValue:""})||dA({...A,attributeName:x.visual.size,attributeValue:J.size.LARGE}),stickyFirst:vA(x.deprecated.option.OPTIONAL_STICKY_FIRST,J.state.TRUE,!0),transparent:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_TRANSPARENT,attributeNameNew:x.visual.transparent,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.transparent,attributeValue:J.state.TRUE})},lA={alertUrl:re({currentName:x.information.alertUrl}),loadingPriority:re({currentName:x.loading.priority}),daysToHide:re({currentName:x.visual.hiddenDays,deprecatedName:x.deprecated.visual.VISUAL_DAYS_TO_HIDE}),feedEntryRemoveIds:re({currentName:x.information.removeIds,deprecatedName:x.deprecated.feed.FEED_NOT_ENTRIES}),feedFilterIds:re({currentName:x.information.filterIds,deprecatedName:x.deprecated.feed.FEED_CATEGORIES}),feedToken:re({currentName:x.information.token,deprecatedName:x.deprecated.feed.FEED_TOKEN}),giftUrl:re({currentName:x.information.gift}),id:re({currentName:x.information.id}),ids:re({currentName:x.information.ids}),layoutColumnCount:re({currentName:x.layout.columnCount,deprecatedName:x.deprecated.feed.FEED_COLUMN_COUNT}),layoutLock:re({currentName:x.layout.lock}),layoutRowCount:re({currentName:x.layout.rowCount,deprecatedName:x.deprecated.feed.FEED_ROW_COUNT}),mediaTrained:re({currentName:x.information.mediaTrained}),title:re({currentName:x.information.title}),topPosition:re({currentName:x.layout.position,deprecatedName:x.deprecated.layout.LAYOUT_STICKY_TOP}),styleProps:A=>{const e=re({...A,currentName:x.deprecated.visual.VISUAL_STYLE_PROPS});if(e&&typeof e=="string")return Gn.create.jss.objectFromString(e)},url:re({currentName:x.information.url})};function jI(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}function rL(A){if(Object.prototype.hasOwnProperty.call(A,"__esModule"))return A;var e=A.default;if(typeof e=="function"){var t=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(A).forEach(function(n){var i=Object.getOwnPropertyDescriptor(A,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return A[n]}})}),t}var Ta={exports:{}},KI;function oL(){if(KI)return Ta.exports;KI=1;var A=String,e=function(){return{isColorSupported:!1,reset:A,bold:A,dim:A,italic:A,underline:A,inverse:A,hidden:A,strikethrough:A,black:A,red:A,green:A,yellow:A,blue:A,magenta:A,cyan:A,white:A,gray:A,bgBlack:A,bgRed:A,bgGreen:A,bgYellow:A,bgBlue:A,bgMagenta:A,bgCyan:A,bgWhite:A,blackBright:A,redBright:A,greenBright:A,yellowBright:A,blueBright:A,magentaBright:A,cyanBright:A,whiteBright:A,bgBlackBright:A,bgRedBright:A,bgGreenBright:A,bgYellowBright:A,bgBlueBright:A,bgMagentaBright:A,bgCyanBright:A,bgWhiteBright:A}};return Ta.exports=e(),Ta.exports.createColors=e,Ta.exports}const He=rL(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Lw,OI;function kw(){if(OI)return Lw;OI=1;let A=oL(),e=He;class t extends Error{constructor(i,s,r,l,c,a){super(i),this.name="CssSyntaxError",this.reason=i,c&&(this.file=c),l&&(this.source=l),a&&(this.plugin=a),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(i){if(!this.source)return"";let s=this.source;i==null&&(i=A.isColorSupported);let r=d=>d,l=d=>d,c=d=>d;if(i){let{bold:d,gray:u,red:w}=A.createColors(!0);l=C=>d(w(C)),r=C=>u(C),e&&(c=C=>e(C))}let a=s.split(/\r?\n/),o=Math.max(this.line-3,0),B=Math.min(this.line+2,a.length),g=String(B).length;return a.slice(o,B).map((d,u)=>{let w=o+1+u,C=" "+(" "+w).slice(-g)+" | ";if(w===this.line){if(d.length>160){let h=20,f=Math.max(0,this.column-h),I=Math.max(this.column+h,this.endColumn+h),Q=d.slice(f,I),p=r(C.replace(/\d/g," "))+d.slice(0,Math.min(this.column-1,h-1)).replace(/[^\t]/g," ");return l(">")+r(C)+c(Q)+`
|
|
3344
|
+
`,Ua=({GetElements:A,GetState:e,transition:t=!0,additionalSpread:n})=>{const{getContainer:i,getTabsContainer:s,getDisplayLineStrip:r,getDisplayLine:l,getContentStrip:c,getButtons:a,getContents:o}=A,{getActiveTab:B,getIsFlexLayout:g,getButtonWidths:d,getButtonHeights:u,getIsThemeDark:w}=e,C=i(),E=s(),h=r(),f=l(),I=c(),Q=a(),p=o(),Y=g(),G=B(),y=d(),D=u(),k=()=>p.map((Z,sA)=>{Z&&(sA===G?Z.style.display="block":Z.style.display="none")}),L=()=>Q.map((Z,sA)=>{sA===G?(Z.setAttribute(vI,"true"),w&&(Z.style.color=`${M.white}`)):(Z.setAttribute(vI,"false"),w&&(Z.style.color=`${M.gray.light}`))}),nA=()=>{const Z=p[G],sA=Ti(Y?m.xl:m.md);if(Z&&(t?I.style.transition="height 0.5s":I.style.transition="none",I.style.height=`${Z.offsetHeight+sA}px`,Z.style.top=`${E.offsetHeight+sA}px`,Z.style.width="100%",!Y&&t)){const hA=Ti(m.md),cA=n?hA+n:hA;m2({element:Z,spread:cA})}},oA=()=>{Y?C.setAttribute(Uw,""):C.removeAttribute(Uw)},T=()=>{Y?E.style.display="flex":E.style.display="block"},W=()=>{const Z=Q[G];if(t?f.style.transition="width 0.5s ease-in-out, height 0.5s ease-in-out, transform 0.5s ease-in-out":f.style.transition="none",Y){let sA=0;if(G>0)for(let hA=0;hA<G;hA++)sA+=Q[hA].offsetWidth;h.style.width=`${y}px`,h.style.height="2px",f.style.top="inherit",f.style.left="0",f.style.width=`${Z.offsetWidth}px`,f.style.height="2px",f.style.transform=`translate(${sA}px, 0)`}else{let sA=0;if(G>0)for(let hA=0;hA<G;hA++)sA+=Q[hA].offsetHeight;h.style.width="2px",h.style.height=`${D}px`,f.style.top="0",f.style.left="-2px",f.style.width="2px",f.style.height=`${Z.offsetHeight}px`,f.style.transform=`translate(0, ${sA}px)`}};k(),L(),oA(),T(),W(),nA()},iL=A=>(()=>{const{isThemeDark:e,tabsContainer:t,shadowContent:n,topPosition:i}=A,s=document.createElement("div"),r=document.createElement("div"),l=document.createElement("div"),c=document.createElement("div"),a=document.createElement("span"),o=Array.from(t.children),B=Array.from(t.querySelectorAll("button")),g=i?parseInt(i):null,d=o.filter(D=>B.find(k=>k.getAttribute("aria-controls")===D.getAttribute("id"))),C={GetElements:{getContainer:()=>r,getTabsContainer:()=>t,getDisplayLineStrip:()=>c,getDisplayLine:()=>a,getContentStrip:()=>l,getButtons:()=>B,getContents:()=>d},GetState:{getActiveTab:()=>I,getIsFlexLayout:()=>Q,getButtonWidths:()=>p,getButtonHeights:()=>Y,getIsThemeDark:e||!1}},E=D=>{I=D,Ua({...C,additionalSpread:g})},h=()=>{p=B.reduce((D,k)=>D+k.offsetWidth,0),Y=B.reduce((D,k)=>D+k.offsetHeight,0),Q=p<r.offsetWidth},f=()=>{B.forEach((D,k)=>{D.addEventListener("click",()=>E(k)),D.style.position="relative",D.style.textAlign="left",D.style.display="inline-block",D.style.padding=`${m.sm} ${m.md}`,D.style.border="none",D.style.background="transparent",Object.keys(ye).forEach(L=>{const nA=L;D.style[nA]=ye[nA]}),e&&(D.style.color=M.white)}),d.forEach(D=>{D&&(D.style.display="none",D.style.position="absolute",D.style.top="0",D.style.left="0")})};let I=0,Q=!1,p=0,Y=0;const G=()=>{h(),Ua({...C,transition:!1})},y=()=>{f(),Ua({...C,transition:!1}),h(),Ua({...C,transition:!1})};return l.classList.add(XH),n?r.appendChild(n):r.appendChild(t),c.classList.add(Pa),r.appendChild(c),a.classList.add(TI),r.appendChild(a),r.appendChild(l),r.classList.add(bw),e&&r.setAttribute(PI,UI),s.classList.add(bI),s.appendChild(r),window.addEventListener("resize",Be(G,10)),{element:s,styles:tL,events:{resize:G,load:y}}})(),x={decoration:{line:"data-decoration-line"},display:{default:"data-display"},feature:{animation:"data-animation",lazyLoad:"data-lazy-load",imageExpand:"data-image-expand"},feed:{type:"data-feed-type",union:"data-union"},information:{admissions:"data-admissions",alertUrl:"data-alert-url",events:"data-events",filterIds:"data-filter-group-ids",gift:"data-gift",id:"data-id",ids:"data-ids",mediaTrained:"data-media-trained",news:"data-news",removeIds:"data-remove-entry-ids",schools:"data-schools",search:"data-search",searchType:"data-search-type",title:"data-title",token:"data-token",url:"data-url"},layout:{alertOff:"data-alert-off",alignment:"data-layout-alignment",columnCount:"data-layout-column-count",fixed:"data-layout-fixed",height:"data-layout-height",hidden:"data-layout-hidden",imageScaled:"data-layout-image-scaled",imagePosition:"data-layout-image-position",interior:"data-layout-interior",lock:"data-layout-lock",position:"data-layout-position",reverse:"data-layout-reverse",rowCount:"data-layout-row-count",spaceHorizontal:"data-layout-space-horizontal",text:"data-layout-text"},loading:{priority:"data-loading-priority"},sharing:{email:"data-email",print:"data-print"},social:{facebook:"data-facebook",twitter:"data-twitter"},theme:{default:"data-theme"},visual:{bordered:"data-visual-bordered",campaign:"data-visual-campaign",imageAligned:"data-visual-image-aligned",icon:"data-visual-icon",iconSeal:"data-visual-icon-seal",hiddenDays:"data-days-to-hide",open:"data-visual-open",play:"data-visual-play",size:"data-visual-size",time:"data-visual-time",transparent:"data-visual-transparent"},deprecated:{feature:{FULLSCREEN:"option-full-screen",SHOW_TIME:"show-time"},display:{DISPLAY_SIZE:"size",DISPLAY_TYPE:"display-type",DISPLAY:"display"},feed:{FEED_CATEGORIES:"categories",FEED_COLUMN_COUNT:"show-count",FEED_LAZY_LOAD:"lazyload",FEED_NOT_ENTRIES:"not",FEED_ROW_COUNT:"row-count",FEED_TOKEN:"token",FEED_UNION:"union"},option:{OPTIONAL_HAS_LINE:"has-line",OPTIONAL_HAS_SEPARATOR:"include-separator",OPTIONAL_STICKY_FIRST:"isStickyFirst"},layout:{DEFAULT:"layout",LAYOUT_FIXED:"fixed",LAYOUT_ALIGNMENT:"alignment",LAYOUT_IMAGE_POSITION:"image-position",LAYOUT_STICKY_TOP:"position-top"},state:{RESIZE:"resize",STATE_DEPRECATD:"state",STATE:"data-state"},theme:{THEME_DEPRECATD:"theme"},type:{TYPE:"type",DATA_TYPE:"data-type"},visual:{VISUAL_ALIGN:"aligned",VISUAL_BORDER:"border",VISUAL_DAYS_TO_HIDE:"days-to-hide",VISUAL_HAS_LOGO:"hasLogo",VISUAL_ICON:"icon",VISUAL_TRANSPARENT:"transparent",VISUAL_QUOTE:"quote",VISUAL_TEXT_CENTER:"text-center",VISUAL_STYLE_PROPS:"styleProps"}}},J={campaign:{forward:"forward"},data:{type:{academic:"academic"}},display:{block:"block",feature:"feature",featured:"featured",hero:"hero",image:"image",list:"list",overlay:"overlay",promo:"promo",short:"short",stacked:"stacked",statement:"statement",sticky:"sticky",tabular:"tabular",mega:"mega",visual:"visual",simple:"simple"},layout:{center:"center",defaultCentered:"default-centered",defaultInteriorCentered:"default-interior-centered",defaultInterior:"default-interior",fullImage:"full-image",large:"large",small:"small",left:"left",right:"right",stackedInterior:"stacked-interior"},search:{domain:"domain"},size:{NORMAL:"normal",LARGE:"large"},state:{CLOSED:"closed",FALSE:"false",OPENED:"open",TRUE:"true"},theme:{DARK:"dark",GOLD:"gold",LIGHT:"light",MARYLAND:"maryland"},type:{OUTLINE:"outline",PRIMARY:"primary",SECONDARY:"secondary"}},ba=(...A)=>{const e=new Map;return A.forEach(t=>{const n=e.get(t.name)||[];n.push(t.handler),e.set(t.name,n)}),Array.from(e.entries()).map(([t,n])=>({name:t,handler:(i,s,r)=>{n.forEach(l=>l(i,s,r))}}))},Tw=({callback:A,name:e})=>({name:e||x.deprecated.state.RESIZE,handler:(t,n,i)=>{if(i===J.state.TRUE){const s=t.element,r={width:s.offsetWidth,height:s.offsetHeight};A(t),setTimeout(()=>{const l={width:s.offsetWidth,height:s.offsetHeight};s.dispatchEvent(new CustomEvent("component:resize",{detail:{tagName:s.tagName.toLowerCase(),element:s,timestamp:Date.now(),previousSize:r,currentSize:l,source:"attribute"},bubbles:!0,composed:!0}))},0)}}}),xI=({callback:A,name:e})=>({name:e||x.deprecated.state.STATE,handler:(t,n,i)=>{i===J.state.OPENED&&n===J.state.CLOSED&&A(t)}}),NI=({callback:A,name:e})=>({name:e||x.deprecated.state.STATE,handler:(t,n,i)=>{i===J.state.CLOSED&&n===J.state.OPENED&&A(t)}}),xw=({callback:A,name:e})=>({name:e||x.visual.open,handler:(t,n,i)=>{i===J.state.FALSE&&n===J.state.TRUE&&A(t)}}),HI=({callback:A,name:e})=>({name:e||x.layout.hidden,handler:(t,n,i)=>{i===J.state.TRUE&&n===J.state.FALSE&&A(t)}}),Nw=({callback:A,name:e})=>({name:e||x.visual.open,handler:(t,n,i)=>{i===J.state.TRUE&&n===J.state.FALSE&&A(t)}}),nL=({callback:A,name:e})=>({name:e||x.layout.position,handler:(t,n,i)=>{if(i!==n){const s=i?parseInt(i):null;s?A(t,s):A(t)}}}),LI=({callback:A,name:e})=>({name:e||x.layout.hidden,handler:(t,n,i)=>{i===J.state.FALSE&&n===J.state.TRUE&&A(t)}}),$A={combine:ba,observe:{resize:Tw,stateOpen:xI,stateClosed:NI,visuallyHide:HI,visuallyOpen:Nw,visuallyClosed:xw,visuallyPosition:nL,visuallyShow:LI},common:{resize:A=>Tw({callback:A}),visualShowHide:A=>ba(...A.onShow?[LI({callback:A.onShow})]:[],...A.onHide?[HI({callback:A.onHide})]:[]),visualToggle:A=>ba(...A.onOpen?[Nw({callback:A.onOpen})]:[],...A.onClose?[xw({callback:A.onClose})]:[]),accordion:()=>ba(Tw({callback:A=>A.events?.open({hasAnimation:!1})}),Nw({callback:A=>A.events?.open({hasAnimation:!0})}),xw({callback:A=>A.events?.close({hasAnimation:!0})}),NI({callback:A=>A.events?.close({hasAnimation:!0})}),xI({callback:A=>A.events?.open({hasAnimation:!0})}))}},dA=({element:A,attributeName:e,attributeValue:t,defaultValue:n=!1})=>{const i=A.getAttribute(e);return i===null?n:i==="false"?!1:i===t},Hw=({element:A,attributeName:e})=>{const t=A.getAttribute(e);return t==="true"?!0:t==="false"?!1:t!==null},kI=({element:A,attributeNameOld:e,attributeNameNew:t})=>{console.warn(`UMD Web Component: ${A.nodeName} - Attribute "${e}" is deprecated. Use "${t}" instead. This attribute will be removed in version 2.0.`)},CA=A=>{const{element:e,attributeNameOld:t,attributeNameNew:n,attributeValue:i,...s}=A;return dA({...s,element:e,attributeName:t,attributeValue:i})?(kI(A),!0):!1},vA=(A,e,t=!1)=>n=>dA({...n,attributeName:A,attributeValue:e,defaultValue:t}),re=({currentName:A,deprecatedName:e})=>({element:t})=>{if(e){const i=t.getAttribute(e);if(i!==null)return kI({element:t,attributeNameOld:e,attributeNameNew:A}),i}const n=t.getAttribute(A);return n!==null?n:null},RI={gifts:A=>Hw({...A,attributeName:x.information.gift}),search:A=>Hw({...A,attributeName:x.information.search})},sL={line:A=>CA({...A,attributeNameOld:x.deprecated.option.OPTIONAL_HAS_LINE,attributeNameNew:x.decoration.line,attributeValue:""})||Hw({...A,attributeName:x.decoration.line})},Ye={animation:vA(x.feature.animation,J.state.TRUE,!0),imageExpand:vA(x.feature.imageExpand,J.state.TRUE,!0),fullScreenOption:vA(x.deprecated.feature.FULLSCREEN,J.state.TRUE,!0),visualTime:vA(x.deprecated.feature.SHOW_TIME,J.state.TRUE,!0),lazyLoad:A=>CA({...A,attributeNameOld:x.deprecated.feed.FEED_LAZY_LOAD,attributeNameNew:x.feature.lazyLoad,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.feature.lazyLoad,attributeValue:J.state.TRUE})},SI={type:{academic:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.feed.type,attributeValue:J.data.type.academic})||dA({...A,attributeName:x.feed.type,attributeValue:J.data.type.academic})},union:A=>CA({...A,attributeNameOld:x.deprecated.feed.FEED_UNION,attributeNameNew:x.feed.union,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.feed.union,attributeValue:J.state.TRUE,defaultValue:!1})},LA={block:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.block})||dA({...A,attributeName:x.display.default,attributeValue:J.display.block}),feature:vA(x.deprecated.display.DISPLAY,J.display.feature),featured:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.featured})||dA({...A,attributeName:x.display.default,attributeValue:J.display.featured}),hero:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.hero})||dA({...A,attributeName:x.display.default,attributeValue:J.display.hero}),list:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY,attributeNameNew:x.display.default,attributeValue:J.display.list})||dA({...A,attributeName:x.display.default,attributeValue:J.display.list}),outline:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.type.OUTLINE})||dA({...A,attributeName:x.display.default,attributeValue:J.type.OUTLINE}),overlay:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.overlay})||dA({...A,attributeName:x.display.default,attributeValue:J.display.overlay}),promo:vA(x.deprecated.display.DISPLAY,J.display.promo),primary:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.type.PRIMARY})||dA({...A,attributeName:x.display.default,attributeValue:J.type.PRIMARY}),secondary:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.type.SECONDARY})||dA({...A,attributeName:x.display.default,attributeValue:J.type.SECONDARY}),short:vA(x.display.default,J.display.short),standardCentered:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.defaultCentered})||dA({...A,attributeName:x.deprecated.type.TYPE,attributeValue:J.layout.defaultCentered}),standardInterior:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.defaultInterior})||dA({...A,attributeName:x.deprecated.type.TYPE,attributeValue:J.layout.defaultInterior}),standardInteriorCentered:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.defaultInteriorCentered})||dA({...A,attributeName:x.deprecated.type.TYPE,attributeValue:J.layout.defaultInteriorCentered}),statement:vA(x.deprecated.display.DISPLAY,J.display.statement),sticky:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.sticky})||dA({...A,attributeName:x.display.default,attributeValue:J.display.sticky}),stacked:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.stacked})||dA({...A,attributeName:x.display.default,attributeValue:J.display.stacked}),stackedInteriorDeprecated:vA(x.deprecated.type.TYPE,J.layout.stackedInterior),stackedInterior:A=>CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.layout.stackedInterior})||dA({...A,attributeName:x.display.default,attributeValue:J.layout.stackedInterior}),tabular:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY,attributeNameNew:x.display.default,attributeValue:J.display.tabular})||dA({...A,attributeName:x.display.default,attributeValue:J.display.tabular}),mega:A=>CA({...A,attributeNameOld:x.deprecated.type.DATA_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.mega})||CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.mega})||dA({...A,attributeName:x.display.default,attributeValue:J.display.mega}),visual:A=>CA({...A,attributeNameOld:x.deprecated.type.DATA_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.visual})||CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.visual})||dA({...A,attributeName:x.display.default,attributeValue:J.display.visual}),simple:A=>CA({...A,attributeNameOld:x.deprecated.type.DATA_TYPE,attributeNameNew:x.display.default,attributeValue:J.display.simple})||CA({...A,attributeNameOld:x.deprecated.type.TYPE,attributeNameNew:x.display.default,attributeValue:J.display.simple})||dA({...A,attributeName:x.display.default,attributeValue:J.display.simple})},gs={admissions:vA(x.information.admissions,J.state.TRUE),events:vA(x.information.events,J.state.TRUE),news:vA(x.information.news,J.state.TRUE),schools:vA(x.information.schools,J.state.TRUE),searchDomain:vA(x.information.searchType,J.search.domain)},he={alertOff:vA(x.layout.alertOff,J.state.TRUE),alignmentRight:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_ALIGNMENT,attributeNameNew:x.layout.alignment,attributeValue:J.layout.right})||dA({...A,attributeName:x.layout.alignment,attributeValue:J.layout.right}),fixed:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_FIXED,attributeNameNew:x.layout.fixed,attributeValue:""})||dA({...A,attributeName:x.layout.fixed,attributeValue:J.state.TRUE}),fullImage:vA(x.deprecated.type.TYPE,J.layout.fullImage),heightSmall:A=>dA({...A,attributeName:x.layout.height,attributeValue:J.layout.small}),hidden:vA(x.layout.hidden,J.state.TRUE),image:vA(x.deprecated.type.TYPE,J.display.image),imagePositionRight:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_IMAGE_POSITION,attributeNameNew:x.layout.imagePosition,attributeValue:J.layout.right})||dA({...A,attributeName:x.layout.imagePosition,attributeValue:J.layout.right,defaultValue:!0}),imagePositionLeft:A=>CA({...A,attributeNameOld:x.deprecated.layout.LAYOUT_IMAGE_POSITION,attributeNameNew:x.layout.imagePosition,attributeValue:J.layout.left})||dA({...A,attributeName:x.layout.imagePosition,attributeValue:J.layout.left,defaultValue:!1}),imageScaled:A=>dA({...A,attributeName:x.layout.imageScaled,attributeValue:J.state.TRUE,defaultValue:!0}),interior:vA(x.layout.interior,J.state.TRUE),lock:vA(x.layout.lock,J.state.TRUE),lockFull:vA(x.layout.lock,J.layout.large),reverse:A=>CA({...A,attributeNameOld:x.deprecated.layout.DEFAULT,attributeNameNew:x.layout.reverse,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.layout.reverse,attributeValue:J.state.TRUE}),spaceHorizontalLarge:A=>dA({...A,attributeName:x.layout.spaceHorizontal,attributeValue:J.layout.large}),textCentered:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_TEXT_CENTER,attributeNameNew:x.layout.text,attributeValue:J.layout.center})||dA({...A,attributeName:x.layout.text,attributeValue:J.layout.center})},zI={email:vA(x.sharing.email,J.state.TRUE),print:vA(x.sharing.print,J.state.TRUE)},JI={facebook:vA(x.social.facebook,J.state.TRUE,!0),twitter:vA(x.social.twitter,J.state.TRUE,!0)},aA={dark:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.DARK})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.DARK}),gold:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.GOLD})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.GOLD}),light:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.LIGHT})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.LIGHT}),maryland:A=>CA({...A,attributeNameOld:x.deprecated.theme.THEME_DEPRECATD,attributeNameNew:x.theme.default,attributeValue:J.theme.MARYLAND})||dA({...A,attributeName:x.theme.default,attributeValue:J.theme.MARYLAND})},OA={aligned:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_ALIGN,attributeNameNew:x.visual.imageAligned,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.imageAligned,attributeValue:J.state.TRUE}),bordered:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_BORDER,attributeNameNew:x.visual.bordered,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.bordered,attributeValue:J.state.TRUE}),campaign:vA(x.visual.campaign,J.campaign.forward),icon_seal:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_HAS_LOGO,attributeNameNew:x.visual.iconSeal,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.iconSeal,attributeValue:J.state.TRUE}),open:A=>CA({...A,attributeNameOld:x.deprecated.state.STATE_DEPRECATD,attributeNameNew:x.visual.open,attributeValue:J.state.OPENED})||dA({...A,attributeName:x.visual.open,attributeValue:J.state.TRUE}),play:vA(x.visual.play,J.state.TRUE),quote:vA(x.deprecated.visual.VISUAL_QUOTE,J.state.TRUE),showIcon:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_ICON,attributeNameNew:x.visual.icon,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.icon,attributeValue:J.state.TRUE}),sizeNormal:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_SIZE,attributeNameNew:x.visual.size,attributeValue:J.size.NORMAL})||dA({...A,attributeName:x.visual.size,attributeValue:J.size.NORMAL}),showTime:A=>CA({...A,attributeNameOld:x.deprecated.feature.SHOW_TIME,attributeNameNew:x.visual.time,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.time,attributeValue:J.state.TRUE,defaultValue:!0}),sizeLarge:A=>CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_SIZE,attributeNameNew:x.visual.size,attributeValue:J.size.LARGE})||CA({...A,attributeNameOld:x.deprecated.display.DISPLAY_SIZE,attributeNameNew:x.visual.size,attributeValue:""})||dA({...A,attributeName:x.visual.size,attributeValue:J.size.LARGE}),stickyFirst:vA(x.deprecated.option.OPTIONAL_STICKY_FIRST,J.state.TRUE,!0),transparent:A=>CA({...A,attributeNameOld:x.deprecated.visual.VISUAL_TRANSPARENT,attributeNameNew:x.visual.transparent,attributeValue:J.state.TRUE})||dA({...A,attributeName:x.visual.transparent,attributeValue:J.state.TRUE})},lA={alertUrl:re({currentName:x.information.alertUrl}),loadingPriority:re({currentName:x.loading.priority}),daysToHide:re({currentName:x.visual.hiddenDays,deprecatedName:x.deprecated.visual.VISUAL_DAYS_TO_HIDE}),feedEntryRemoveIds:re({currentName:x.information.removeIds,deprecatedName:x.deprecated.feed.FEED_NOT_ENTRIES}),feedFilterIds:re({currentName:x.information.filterIds,deprecatedName:x.deprecated.feed.FEED_CATEGORIES}),feedToken:re({currentName:x.information.token,deprecatedName:x.deprecated.feed.FEED_TOKEN}),giftUrl:re({currentName:x.information.gift}),id:re({currentName:x.information.id}),ids:re({currentName:x.information.ids}),layoutColumnCount:re({currentName:x.layout.columnCount,deprecatedName:x.deprecated.feed.FEED_COLUMN_COUNT}),layoutLock:re({currentName:x.layout.lock}),layoutRowCount:re({currentName:x.layout.rowCount,deprecatedName:x.deprecated.feed.FEED_ROW_COUNT}),mediaTrained:re({currentName:x.information.mediaTrained}),title:re({currentName:x.information.title}),topPosition:re({currentName:x.layout.position,deprecatedName:x.deprecated.layout.LAYOUT_STICKY_TOP}),styleProps:A=>{const e=re({...A,currentName:x.deprecated.visual.VISUAL_STYLE_PROPS});if(e&&typeof e=="string")return Gn.create.jss.objectFromString(e)},url:re({currentName:x.information.url})};function jI(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}function rL(A){if(Object.prototype.hasOwnProperty.call(A,"__esModule"))return A;var e=A.default;if(typeof e=="function"){var t=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(A).forEach(function(n){var i=Object.getOwnPropertyDescriptor(A,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return A[n]}})}),t}var Ta={exports:{}},KI;function oL(){if(KI)return Ta.exports;KI=1;var A=String,e=function(){return{isColorSupported:!1,reset:A,bold:A,dim:A,italic:A,underline:A,inverse:A,hidden:A,strikethrough:A,black:A,red:A,green:A,yellow:A,blue:A,magenta:A,cyan:A,white:A,gray:A,bgBlack:A,bgRed:A,bgGreen:A,bgYellow:A,bgBlue:A,bgMagenta:A,bgCyan:A,bgWhite:A,blackBright:A,redBright:A,greenBright:A,yellowBright:A,blueBright:A,magentaBright:A,cyanBright:A,whiteBright:A,bgBlackBright:A,bgRedBright:A,bgGreenBright:A,bgYellowBright:A,bgBlueBright:A,bgMagentaBright:A,bgCyanBright:A,bgWhiteBright:A}};return Ta.exports=e(),Ta.exports.createColors=e,Ta.exports}const He=rL(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Lw,OI;function kw(){if(OI)return Lw;OI=1;let A=oL(),e=He;class t extends Error{constructor(i,s,r,l,c,a){super(i),this.name="CssSyntaxError",this.reason=i,c&&(this.file=c),l&&(this.source=l),a&&(this.plugin=a),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(i){if(!this.source)return"";let s=this.source;i==null&&(i=A.isColorSupported);let r=d=>d,l=d=>d,c=d=>d;if(i){let{bold:d,gray:u,red:w}=A.createColors(!0);l=C=>d(w(C)),r=C=>u(C),e&&(c=C=>e(C))}let a=s.split(/\r?\n/),o=Math.max(this.line-3,0),B=Math.min(this.line+2,a.length),g=String(B).length;return a.slice(o,B).map((d,u)=>{let w=o+1+u,C=" "+(" "+w).slice(-g)+" | ";if(w===this.line){if(d.length>160){let h=20,f=Math.max(0,this.column-h),I=Math.max(this.column+h,this.endColumn+h),Q=d.slice(f,I),p=r(C.replace(/\d/g," "))+d.slice(0,Math.min(this.column-1,h-1)).replace(/[^\t]/g," ");return l(">")+r(C)+c(Q)+`
|
|
3345
3345
|
`+p+l("^")}let E=r(C.replace(/\d/g," "))+d.slice(0,this.column-1).replace(/[^\t]/g," ");return l(">")+r(C)+c(d)+`
|
|
3346
3346
|
`+E+l("^")}return" "+r(C)+c(d)}).join(`
|
|
3347
3347
|
`)}toString(){let i=this.showSourceCode();return i&&(i=`
|