PageSourceSearch

https://www.umw.edu/admissions/wp-content/plugins/umw-custom-blocks/blocks/build/localist-events/view.js

js umw.edu collected 2026-09-24 08:37:27 UTC 12,579 bytes, 1 lines download raw bytes

1(()=>{var e={1597:()=>{(()=>{"use strict";var e,t,r,i,a,o={314:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",i=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),i&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),i&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,i,a,o){"string"==typeof e&&(e=[[null,e,void 0]]);var n={};if(i)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(n[l]=!0)}for(var d=0;d<e.length;d++){var h=[].concat(e[d]);i&&n[h[0]]||(void 0!==o&&(void 0===h[5]||(h[1]="@layer".concat(h[5].length>0?" ".concat(h[5]):""," {").concat(h[1],"}")),h[5]=o),r&&(h[2]?(h[1]="@media ".concat(h[2]," {").concat(h[1],"}"),h[2]=r):h[2]=r),a&&(h[4]?(h[1]="@supports (".concat(h[4],") {").concat(h[1],"}"),h[4]=a):h[4]="".concat(a)),t.push(h))}},t}},373:(e,t,r)=>{r.a(e,async(e,t)=>{try{var i=r(784);const e=async()=>{const e=new Event("EventCardLoaded");let t=null;return void 0===customElements.get("event-card")&&customElements.define("event-card",i.A),t=await customElements.whenDefined("event-card"),document.dispatchEvent(e),t};await e(),t()}catch(e){t(e)}},1)},601:e=>{e.exports=function(e){return e[1]}},767:(e,t,r)=>{r.d(t,{A:()=>s});var i=r(601),a=r.n(i),o=r(314),n=r.n(o)()(a());n.push([e.id,':root{--event-card-heading-font: var(--heading-font,"Times New Roman", Times, serif);--event-card-body-font: var(--body-font,Arial,Helvetica,sans-serif);--event-card-aspect-ratio: var(--feature-aspect-ratio,100 / 28.58974358974359)}event-card{height:100%;display:block;margin:0;padding:0}:host :root{--event-card-heading-font: var(--heading-font,"Times New Roman", Times, serif);--event-card-body-font: var(--body-font,Arial,Helvetica,sans-serif);--event-card-aspect-ratio: var(--feature-aspect-ratio,100 / 28.58974358974359)}:host .link{width:100%;max-width:100%;display:block;background:rgba(0,0,0,0);padding-top:2rem;position:relative;margin:0;margin-bottom:2rem;font-weight:normal;text-decoration:none;font-family:var(--event-card-body-font);transition:all .4s ease}:host .link:before{content:" ";position:absolute;top:0;left:0;right:0;bottom:0;margin-top:2rem;background-color:#f7bf0a;z-index:-1;transition:all .4s ease-in-out;border-bottom:2px solid #000}:host .link .article{width:100%;max-width:100%;background-image:var(--background-image);background-size:cover;position:relative;padding-top:100%;aspect-ratio:1/1;height:0;transition:all .4s ease;margin:0;text-shadow:1px 1px 0 #333,-1px 1px 0 #333,1px -1px 0 #333,-1px -1px 0 #333}:host .link .article:before{content:" ";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(180deg, rgba(0, 0, 0, 0.65) 15%, rgba(0, 0, 0, 0.4) 35%, rgba(0, 0, 0, 0.5) 55%)}:host .link .title{font-family:var(--event-card-heading-font);color:#fff;font-size:1.25rem;line-height:1.2;margin:0;font-weight:700}@media(max-width: 1093px){:host .link .title{font-size:1.25rem}}@media(min-width: 1094px){:host .link .title{font-size:1.5rem;line-height:2rem}}@media(min-width: 1280px){:host .link .title{font-size:1.75rem;line-height:2.25rem}}:host .link header{position:absolute;top:0;left:0;color:#fff;padding:2rem;margin-bottom:24px}:host .link header .eyebrow{font-family:var(--event-card-body-font);font-size:.625rem;line-height:180%;font-weight:bold;font-style:normal;letter-spacing:.3em;text-transform:uppercase;display:inline-block;vertical-align:middle;color:#fff;padding:0 24px}@media(min-width: 1094px){:host .link header .eyebrow{font-size:.9375rem;line-height:180%;padding:0}}:host .link header .arrow{vertical-align:middle;box-sizing:border-box;display:inline-block;height:22px;margin-left:1em;position:relative;transition:all .4s ease-in-out;width:40px}:host .link header .arrow:before,:host .link header .arrow:after{box-sizing:border-box;content:"";display:block;position:absolute}:host .link header .arrow:before{background:#fff;bottom:10px;height:2px;left:0;width:100%}:host .link header .arrow:after{border-color:currentcolor currentcolor #fff #fff;border-right:2px solid #fff;border-top:2px solid #fff;bottom:7px;height:8px;right:0;transform:rotate(45deg);width:8px}:host .link .content{position:absolute;bottom:0;left:0;color:#fff;font-weight:bold;font-size:1.75rem;padding:2rem;margin:0}:host .link.featured{--feature-text: attr(data-text);width:100%}:host .link.featured .article{padding-top:114%;aspect-ratio:1/1.14}@media(min-width: 1094px){:host .link.featured .article{padding-top:42%;aspect-ratio:var(--event-card-aspect-ratio)}}:host .link.featured header{vertical-align:middle}:host .link.featured header:before{color:#fff;content:var(--feature-text);display:inline-block;padding:.25rem 1rem;background:#d1422a;border-radius:20px;margin-right:1rem;vertical-align:middle;text-shadow:none;font-size:.9375rem;font-weight:600;line-height:24px}@media(min-width: 1094px){:host .link.featured header:before{font-size:15px;margin-right:2rem}}:host .link.featured .content{max-width:75%}@media(min-width: 1280px){:host .link.featured .content{max-width:50%}}:host .link.featured .content .title{font-family:var(--event-card-heading-font);color:#fff;font-size:2.25rem;font-style:normal;font-weight:700;line-height:1.1;margin:0;text-decoration:none;max-width:650px;padding:2rem}@media(max-width: 1093px){:host .link.featured .content .title{font-size:2rem}}@media(min-width: 1094px){:host .link.featured .content .title{line-height:1.3;font-size:3rem}}:host .link:hover,:host .link:focus{padding-bottom:1rem}:host .link:hover:before,:host .link:focus:before{border-color:#002d61}:host .link:hover .article,:host .link:focus .article{margin-top:-1rem;text-shadow:1px 1px 0 #000,-1px 1px 0 #000,1px -1px 0 #000,-1px -1px 0 #000}:host .link:hover .article header .arrow,:host .link:focus .article header .arrow{width:54px}:host .link:hover .article header .arrow:before,:host .link:focus .article header .arrow:before{background:#eee}:host .link:hover .article header .arrow:after,:host .link:focus .article header .arrow:after{border-color:currentcolor currentcolor #eee #eee;border-right:2px solid #eee;border-top:2px solid #eee}:host .link:hover .article header .eyebrow,:host .link:focus .article header .eyebrow{color:#eee}:host .link:hover .article .title,:host .link:focus .article .title{color:#eee}',""]);const s=n},784:(e,t,r)=>{r.d(t,{A:()=>a});var i=r(767);const a=class e extends HTMLElement{constructor(){super(),this.classes=["umw-event-card"],this.__getTemplate();const e=new CSSStyleSheet;e.replaceSync(i.A),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(this.template.content.cloneNode(!0)),this.shadowRoot.adoptedStyleSheets=[e]}static log(e){}__getTemplate(){this.template=document.createElement("template"),this.template.innerHTML='<a href="#" class="link"> <slot></slot> <div class="article"> <header aria-label="Event Date"> <div class="eyebrow"></div> <div class="arrow" aria-hidden="true"></div> </header> <div class="content"> <h3 class="title"></h3> </div> </div> </a>'}connectedCallback(){this.classList.contains("featured")?this.featuredConnectedCallback():this.standardConnectedCallback()}static get observedAttributes(){return["data-title","data-alt","data-picture","data-date","data-link"]}attributeChangedCallback(e,t,r){switch(e){case"data-title":this.updateTitle(t,r);break;
1case"data-picture":this.updatePicture(t,r);break;case"data-date":this.updateDate(t,r);break;case"data-link":this.updateLink(t,r)}}updateTitle(t,r){e.log("Preparing to update title from "+t+" to "+r),this.link=this.shadowRoot.querySelector("a");const i=this.link.querySelector(".content"),a=this.link.querySelector("header");i.querySelector(".title").innerHTML=r,a.setAttribute("aria-label",r+" Date")}updatePicture(t,r){e.log("Preparing to update photo source from "+t+" to "+r),this.link=this.shadowRoot.querySelector("a"),this.link.style.setProperty("--background-image","url("+r+")")}updateDate(t,r){e.log("Preparing to update post date from "+t+" to "+r),this.link=this.shadowRoot.querySelector("a"),this.link.querySelector(".eyebrow").innerText=r}updateLink(t,r){e.log("Preparing to update link from "+t+" to "+r),this.link=this.shadowRoot.querySelector("a"),this.link.href=r}featuredConnectedCallback(){this.shadowRoot.querySelector("a").classList.add("featured"),this.standardConnectedCallback()}standardConnectedCallback(){const t=this.shadowRoot.querySelectorAll("slot")[0].assignedNodes();if(this.getAttributesFromElements(t),this.newsCard=this.closestElement("event-card"),this.link=this.shadowRoot.querySelector("a"),this.__handleClasses(),"link"in this.dataset)this.updateLink("",this.dataset.link),e.log("Generating link from attribute");else if("url"in this.elements){e.log("Generating link from element");const t=this.elements.url;this.updateLink("",t.innerText),this.newsCard.removeChild(this.newsCard.querySelector("url"))}if("picture"in this.dataset)e.log("Generating img from attribute"),"picture"in this.dataset&&this.updatePicture("",this.dataset.picture);else if("picture"in this.elements){e.log("Generating img from element");const t=this.elements.picture;void 0!==t&&this.updatePicture("",t.innerText),this.newsCard.removeChild(this.newsCard.querySelector("picture"))}if(this.link.querySelector(".content"),"title"in this.dataset)e.log("Generating title from attribute"),this.updateTitle("",this.dataset.title);else if("title"in this.elements){e.log("Generating title from element");const t=this.elements.title;this.updateTitle("",t.innerHTML),this.newsCard.removeChild(this.newsCard.querySelector("title"))}if("date"in this.dataset)e.log("Generating eyebrow from attribute"),this.updateDate("",this.dataset.date);else if("date"in this.elements){e.log("Generating eyebrow from element");const t=this.elements.date;this.updateDate("",t.innerHTML),this.newsCard.removeChild(this.newsCard.querySelector("date"))}"text"in this.dataset?this.link.setAttribute("data-text",this.dataset.text):this.link.setAttribute("data-text","Featured"),this.link.removeChild(this.shadowRoot.querySelector("slot"))}getAttributesFromElements(e){this.elements={},e.forEach(e=>{switch(e.tagName){case"TITLE":this.elements.title=e;break;case"DATE":this.elements.date=e;break;case"PICTURE":this.elements.picture=e;break;case"URL":this.elements.url=e}})}__handleClasses(){this.classes.forEach(e=>{this.link.classList.add(e+"__link"),this.link.querySelectorAll(".article").forEach(t=>{t.classList.add(e+"__article"),t.querySelectorAll(".image").forEach(t=>{t.classList.add(e+"__article-image")})}),this.link.querySelectorAll(".content").forEach(t=>{t.classList.add(e+"__content"),t.querySelectorAll(".eyebrow").forEach(t=>{t.classList.add(e+"__content-eyebrow")}),t.querySelectorAll(".title").forEach(t=>{t.classList.add(e+"__content-title")})})})}closestElement(e,t=this,r=(t,i=t&&t.closest(e))=>t&&t!==document&&t!==window?i||r(t.getRootNode().host):null){return r(t)}}}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={id:e,exports:{}};return o[e](r,r.exports,s),r.exports}e="function"==typeof Symbol,t=e?Symbol("webpack queues"):"__webpack_queues__",r=e?Symbol("webpack exports"):"__webpack_exports__",i=e?Symbol("webpack error"):"__webpack_error__",a=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},s.a=(e,o,n)=>{var s;n&&((s=[]).d=-1);var l,d,h,c=new Set,f=e.exports,p=new Promise((e,t)=>{h=t,d=e});p[r]=f,p[t]=e=>(s&&e(s),c.forEach(e),p.catch(e=>{})),e.exports=p,o(e=>{var o;l=(e=>e.map(e=>{if(null!==e&&"object"==typeof e){if(e[t])return e;if(e.then){var o=[];o.d=0,e.then(e=>{n[r]=e,a(o)},e=>{n[i]=e,a(o)});var n={};return n[t]=e=>e(o),n}}var s={};return s[t]=e=>{},s[r]=e,s}))(e);var n=()=>l.map(e=>{if(e[i])throw e[i];return e[r]}),d=new Promise(e=>{(o=()=>e(n)).r=0;var r=e=>e!==s&&!c.has(e)&&(c.add(e),e&&!e.d&&(o.r++,e.push(o)));l.map(e=>e[t](r))});return o.r?d:n()},e=>(e?h(p[i]=e):d(f),a(s))),s&&s.d<0&&(s.d=0)},s.n=e=>
1{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),s(373)})()},5812:(e,t,r)=>{r(1597)}},t={};function r(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(5812)})()})();

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.