`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=t?o.length>1?`since :
+`+o.map(si).join(`
+`):" "+si(o[0]):"as no adapter specified";throw new z("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:ns};function kr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new rn(null,e)}function oi(e){return kr(e),e.headers=Ie.from(e.headers),e.data=Mr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Jl.getAdapter(e.adapter||Tn.adapter)(e).then(function(r){return kr(e),r.data=Mr.call(e,e.transformResponse,r),r.headers=Ie.from(r.headers),r},function(r){return ql(r)||(kr(e),r&&r.response&&(r.response.data=Mr.call(e,e.transformResponse,r.response),r.response.headers=Ie.from(r.response.headers))),Promise.reject(r)})}const Xl="1.7.2",$s={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{$s[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ii={};$s.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Xl+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new z(s(i," has been removed"+(n?" in "+n:"")),z.ERR_DEPRECATED);return n&&!ii[i]&&(ii[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function ep(e,t,n){if(typeof e!="object")throw new z("options must be an object",z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],c=l===void 0||i(l,o,e);if(c!==!0)throw new z("option "+o+" must be "+c,z.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new z("Unknown option "+o,z.ERR_BAD_OPTION)}}const rs={assertOptions:ep,validators:$s},bt=rs.validators;class Dt{constructor(t){this.defaults=t,this.interceptors={request:new Yo,response:new Yo}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s;Error.captureStackTrace?Error.captureStackTrace(s={}):s=new Error;const o=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(r.stack+=`
+`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ut(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&rs.assertOptions(r,{silentJSONParsing:bt.transitional(bt.boolean),forcedJSONParsing:bt.transitional(bt.boolean),clarifyTimeoutError:bt.transitional(bt.boolean)},!1),s!=null&&(b.isFunction(s)?n.paramsSerializer={serialize:s}:rs.assertOptions(s,{encode:bt.function,serialize:bt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=o&&b.merge(o.common,o[n.method]);o&&b.forEach(["delete","get","head","post","put","patch","common"],_=>{delete o[_]}),n.headers=Ie.concat(i,o);const l=[];let c=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(n)===!1||(c=c&&w.synchronous,l.unshift(w.fulfilled,w.rejected))});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let a,h=0,p;if(!c){const _=[oi.bind(this),void 0];for(_.unshift.apply(_,l),_.push.apply(_,u),p=_.length,a=Promise.resolve(n);h{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new rn(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new js(function(s){t=s}),cancel:t}}}function tp(e){return function(n){return e.apply(null,n)}}function np(e){return b.isObject(e)&&e.isAxiosError===!0}const ss={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ss).forEach(([e,t])=>{ss[t]=e});function Zl(e){const t=new Dt(e),n=Tl(Dt.prototype.request,t);return b.extend(n,Dt.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Zl(Ut(e,s))},n}const be=Zl(Tn);be.Axios=Dt;be.CanceledError=rn;be.CancelToken=js;be.isCancel=ql;be.VERSION=Xl;be.toFormData=br;be.AxiosError=z;be.Cancel=be.CanceledError;be.all=function(t){return Promise.all(t)};be.spread=tp;be.isAxiosError=np;be.mergeConfig=Ut;be.AxiosHeaders=Ie;be.formToJSON=e=>Vl(b.isHTMLForm(e)?new FormData(e):e);be.getAdapter=Jl.getAdapter;be.HttpStatusCode=ss;be.default=be;/**
+ * Vue 3 Carousel 0.3.3
+ * (c) 2024
+ * @license MIT
+ */const ye={itemsToShow:1,itemsToScroll:1,modelValue:0,transition:300,autoplay:0,snapAlign:"center",wrapAround:!1,throttle:16,pauseAutoplayOnHover:!1,mouseDrag:!0,touchDrag:!0,dir:"ltr",breakpoints:void 0,i18n:{ariaNextSlide:"Navigate to next slide",ariaPreviousSlide:"Navigate to previous slide",ariaNavigateToSlide:"Navigate to slide {slideNumber}",ariaGallery:"Gallery",itemXofY:"Item {currentSlide} of {slidesCount}",iconArrowUp:"Arrow pointing upwards",iconArrowDown:"Arrow pointing downwards",iconArrowRight:"Arrow pointing to the right",iconArrowLeft:"Arrow pointing to the left"}},li={itemsToShow:{default:ye.itemsToShow,type:Number},itemsToScroll:{default:ye.itemsToScroll,type:Number},wrapAround:{default:ye.wrapAround,type:Boolean},throttle:{default:ye.throttle,type:Number},snapAlign:{default:ye.snapAlign,validator(e){return["start","end","center","center-even","center-odd"].includes(e)}},transition:{default:ye.transition,type:Number},breakpoints:{default:ye.breakpoints,type:Object},autoplay:{default:ye.autoplay,type:Number},pauseAutoplayOnHover:{default:ye.pauseAutoplayOnHover,type:Boolean},modelValue:{default:void 0,type:Number},mouseDrag:{default:ye.mouseDrag,type:Boolean},touchDrag:{default:ye.touchDrag,type:Boolean},dir:{default:ye.dir,validator(e){return["rtl","ltr"].includes(e)}},i18n:{default:ye.i18n,type:Object},settings:{default(){return{}},type:Object}};function rp({config:e,slidesCount:t}){const{snapAlign:n,wrapAround:r,itemsToShow:s=1}=e;if(r)return Math.max(t-1,0);let o;switch(n){case"start":o=t-s;break;case"end":o=t-1;break;case"center":case"center-odd":o=t-Math.ceil((s-.5)/2);break;case"center-even":o=t-Math.ceil(s/2);break;default:o=0;break}return Math.max(o,0)}function sp({config:e,slidesCount:t}){const{wrapAround:n,snapAlign:r,itemsToShow:s=1}=e;let o=0;if(n||s>t)return o;switch(r){case"start":o=0;break;case"end":o=s-1;break;case"center":case"center-odd":o=Math.floor((s-1)/2);break;case"center-even":o=Math.floor((s-2)/2);break;default:o=0;break}return o}function os({val:e,max:t,min:n}){return t{var r;return n.type===Ne?[...t,...Yl(n.children)]:((r=n.type)===null||r===void 0?void 0:r.name)==="CarouselSlide"?[...t,n]:t},[]):[]}function Zn({val:e,max:t,min:n=0}){return e>t?Zn({val:e-(t+1),max:t,min:n}):en=!1,t))}:e}function lp(e,t){let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{e(...r),n=null},t)}}function Ql(e="",t={}){return Object.entries(t).reduce((n,[r,s])=>n.replace(`{${r}}`,String(s)),e)}var cp=tn({name:"ARIA",setup(){const e=ce("config",Ke(Object.assign({},ye))),t=ce("currentSlide",te(0)),n=ce("slidesCount",te(0));return()=>ve("div",{class:["carousel__liveregion","carousel__sr-only"],"aria-live":"polite","aria-atomic":"true"},Ql(e.i18n.itemXofY,{currentSlide:t.value+1,slidesCount:n.value}))}}),ec=tn({name:"Carousel",props:li,setup(e,{slots:t,emit:n,expose:r}){var s;const o=te(null),i=te([]),l=te(0),c=te(0),u=Ke(Object.assign({},ye));let a=Object.assign({},ye),h;const p=te((s=e.modelValue)!==null&&s!==void 0?s:0),m=te(0),_=te(0),w=te(0),F=te(0);let P,L;Be("config",u),Be("slidesCount",c),Be("currentSlide",p),Be("maxSlide",w),Be("minSlide",F),Be("slideWidth",l);function C(){h=Object.assign({},e.breakpoints),a=Object.assign(Object.assign(Object.assign({},a),e),{i18n:Object.assign(Object.assign({},a.i18n),e.i18n),breakpoints:void 0}),ee(a)}function V(){if(!h||!Object.keys(h).length)return;const f=Object.keys(h).map(v=>Number(v)).sort((v,y)=>+y-+v);let g=Object.assign({},a);f.some(v=>{const y=window.matchMedia(`(min-width: ${v}px)`).matches;return y&&(g=Object.assign(Object.assign({},g),h[v])),y}),ee(g)}function ee(f){Object.entries(f).forEach(([g,v])=>u[g]=v)}const $=lp(()=>{V(),ae(),W()},16);function W(){if(!o.value)return;const f=o.value.getBoundingClientRect();l.value=f.width/u.itemsToShow}function ae(){c.value<=0||(_.value=Math.ceil((c.value-1)/2),w.value=rp({config:u,slidesCount:c.value}),F.value=sp({config:u,slidesCount:c.value}),u.wrapAround||(p.value=os({val:p.value,max:w.value,min:F.value})))}vn(()=>{xs(()=>W()),setTimeout(()=>W(),1e3),V(),Je(),window.addEventListener("resize",$,{passive:!0}),n("init")}),As(()=>{L&&clearTimeout(L),P&&clearInterval(P),window.removeEventListener("resize",$,{passive:!0})});let H=!1;const J={x:0,y:0},ne={x:0,y:0},I=Ke({x:0,y:0}),X=te(!1),pe=te(!1),Fe=()=>{X.value=!0},de=()=>{X.value=!1};function re(f){["INPUT","TEXTAREA","SELECT"].includes(f.target.tagName)||(H=f.type==="touchstart",H||f.preventDefault(),!(!H&&f.button!==0||me.value)&&(J.x=H?f.touches[0].clientX:f.clientX,J.y=H?f.touches[0].clientY:f.clientY,document.addEventListener(H?"touchmove":"mousemove",Z,!0),document.addEventListener(H?"touchend":"mouseup",Ue,!0)))}const Z=ip(f=>{pe.value=!0,ne.x=H?f.touches[0].clientX:f.clientX,ne.y=H?f.touches[0].clientY:f.clientY;const g=ne.x-J.x,v=ne.y-J.y;I.y=v,I.x=g},u.throttle);function Ue(){const f=u.dir==="rtl"?-1:1,g=Math.sign(I.x)*.4,v=Math.round(I.x/l.value+g)*f;if(v&&!H){const y=E=>{window.removeEventListener("click",y,!0)};window.addEventListener("click",y,!0)}Te(p.value-v),I.x=0,I.y=0,pe.value=!1,document.removeEventListener(H?"touchmove":"mousemove",Z,!0),document.removeEventListener(H?"touchend":"mouseup",Ue,!0)}function Je(){!u.autoplay||u.autoplay<=0||(P=setInterval(()=>{u.pauseAutoplayOnHover&&X.value||Xe()},u.autoplay))}function $e(){P&&(clearInterval(P),P=null),Je()}const me=te(!1);function Te(f){const g=u.wrapAround?f:os({val:f,max:w.value,min:F.value});p.value===g||me.value||(n("slide-start",{slidingToIndex:f,currentSlideIndex:p.value,prevSlideIndex:m.value,slidesCount:c.value}),me.value=!0,m.value=p.value,p.value=g,L=setTimeout(()=>{if(u.wrapAround){const v=Zn({val:g,max:w.value,min:0});v!==p.value&&(p.value=v,n("loop",{currentSlideIndex:p.value,slidingToIndex:f}))}n("update:modelValue",p.value),n("slide-end",{currentSlideIndex:p.value,prevSlideIndex:m.value,slidesCount:c.value}),me.value=!1,$e()},u.transition))}function Xe(){Te(p.value+u.itemsToScroll)}function dt(){Te(p.value-u.itemsToScroll)}const Re={slideTo:Te,next:Xe,prev:dt};Be("nav",Re),Be("isSliding",me);const x=xe(()=>op({config:u,currentSlide:p.value,slidesCount:c.value}));Be("slidesToScroll",x);const N=xe(()=>{const f=u.dir==="rtl"?-1:1,g=x.value*l.value*f;return{transform:`translateX(${I.x-g}px)`,transition:`${me.value?u.transition:0}ms`,margin:u.wrapAround?`0 -${c.value*l.value}px`:"",width:"100%"}});function T(){C(),V(),ae(),W(),$e()}Object.keys(li).forEach(f=>{["modelValue"].includes(f)||Bt(()=>e[f],T)}),Bt(()=>e.modelValue,f=>{f!==p.value&&Te(Number(f))}),Bt(c,ae),n("before-init"),C();const j={config:u,slidesCount:c,slideWidth:l,next:Xe,prev:dt,slideTo:Te,currentSlide:p,maxSlide:w,minSlide:F,middleSlide:_};r({updateBreakpointsConfigs:V,updateSlidesData:ae,updateSlideWidth:W,initDefaultConfigs:C,restartCarousel:T,slideTo:Te,next:Xe,prev:dt,nav:Re,data:j});const Y=t.default||t.slides,le=t.addons,d=Ke(j);return()=>{const f=Yl(Y==null?void 0:Y(d)),g=(le==null?void 0:le(d))||[];f.forEach((O,A)=>O.props.index=A);let v=f;if(u.wrapAround){const O=f.map((R,S)=>lt(R,{index:-f.length+S,isClone:!0,key:`clone-before-${S}`})),A=f.map((R,S)=>lt(R,{index:f.length+S,isClone:!0,key:`clone-after-${S}`}));v=[...O,...f,...A]}i.value=f,c.value=Math.max(f.length,1);const y=ve("ol",{class:"carousel__track",style:N.value,onMousedownCapture:u.mouseDrag?re:null,onTouchstartPassiveCapture:u.touchDrag?re:null},v),E=ve("div",{class:"carousel__viewport"},y);return ve("section",{ref:o,class:{carousel:!0,"is-sliding":me.value,"is-dragging":pe.value,"is-hover":X.value,"carousel--rtl":u.dir==="rtl"},dir:u.dir,"aria-label":u.i18n.ariaGallery,tabindex:"0",onMouseenter:Fe,onMouseleave:de},[E,g,ve(cp)])}}}),is;(function(e){e.arrowUp="arrowUp",e.arrowDown="arrowDown",e.arrowRight="arrowRight",e.arrowLeft="arrowLeft"})(is||(is={}));const ap={arrowUp:"M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",arrowDown:"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",arrowRight:"M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z",arrowLeft:"M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"};function up(e){return e in is}const ls=e=>{const t=ce("config",Ke(Object.assign({},ye))),n=String(e.name),r=`icon${n.charAt(0).toUpperCase()+n.slice(1)}`;if(!n||typeof n!="string"||!up(n))return;const s=ap[n],o=ve("path",{d:s}),i=t.i18n[r]||e.title||n,l=ve("title",i);return ve("svg",{class:"carousel__icon",viewBox:"0 0 24 24",role:"img","aria-label":i},[l,o])};ls.props={name:String,title:String};const tc=(e,{slots:t,attrs:n})=>{const{next:r,prev:s}=t||{},o=ce("config",Ke(Object.assign({},ye))),i=ce("maxSlide",te(1)),l=ce("minSlide",te(1)),c=ce("currentSlide",te(1)),u=ce("nav",{}),{dir:a,wrapAround:h,i18n:p}=o,m=a==="rtl",_=ve("button",{type:"button",class:["carousel__prev",!h&&c.value<=l.value&&"carousel__prev--disabled",n==null?void 0:n.class],"aria-label":p.ariaPreviousSlide,onClick:u.prev},(s==null?void 0:s())||ve(ls,{name:m?"arrowRight":"arrowLeft"})),w=ve("button",{type:"button",class:["carousel__next",!h&&c.value>=i.value&&"carousel__next--disabled",n==null?void 0:n.class],"aria-label":p.ariaNextSlide,onClick:u.next},(r==null?void 0:r())||ve(ls,{name:m?"arrowLeft":"arrowRight"}));return[_,w]},fp=()=>{const e=ce("config",Ke(Object.assign({},ye))),t=ce("maxSlide",te(1)),n=ce("minSlide",te(1)),r=ce("currentSlide",te(1)),s=ce("nav",{}),o=l=>Zn({val:r.value,max:t.value,min:0})===l,i=[];for(let l=n.value;ls.slideTo(l)}),u=ve("li",{class:"carousel__pagination-item",key:l},c);i.push(u)}return ve("ol",{class:"carousel__pagination"},i)};var nc=tn({name:"CarouselSlide",props:{index:{type:Number,default:1},isClone:{type:Boolean,default:!1}},setup(e,{slots:t}){const n=ce("config",Ke(Object.assign({},ye))),r=ce("currentSlide",te(0)),s=ce("slidesToScroll",te(0)),o=ce("isSliding",te(!1)),i=xe(()=>e.index===r.value),l=xe(()=>e.index===r.value-1),c=xe(()=>e.index===r.value+1),u=xe(()=>{const a=Math.floor(s.value),h=Math.ceil(s.value+n.itemsToShow-1);return e.index>=a&&e.index<=h});return()=>{var a;return ve("li",{style:{width:`${100/n.itemsToShow}%`},class:{carousel__slide:!0,"carousel__slide--clone":e.isClone,"carousel__slide--visible":u.value,"carousel__slide--active":i.value,"carousel__slide--prev":l.value,"carousel__slide--next":c.value,"carousel__slide--sliding":o.value},"aria-hidden":!u.value},(a=t.default)===null||a===void 0?void 0:a.call(t,{isActive:i.value,isClone:e.isClone,isPrev:l.value,isNext:c.value,isSliding:o.value,isVisible:u.value}))}}});const dp=tn({props:["exhibitions"],name:"Breakpoints",components:{Carousel:ec,Slide:nc,Navigation:tc},methods:{formatDate(e){const t=new Date(e),n=("0"+(t.getMonth()+1)).slice(-2),r=("0"+t.getDate()).slice(-2),s=t.getFullYear();return`${n}/${r}/${s}`}},data:()=>({settings:{itemsToShow:1.5,snapAlign:"center"},breakpoints:{640:{itemsToShow:1.5,snapAlign:"center"},768:{itemsToShow:2,snapAlign:"center"},1200:{itemsToShow:2,snapAlign:"start"},1280:{itemsToShow:3,snapAlign:"start"}}})}),hp={class:"flex flex-col gap-0 pt-4 pb-4 px-4 lg:px-10 bg-neutral-950/80 rounded-md glass-shadow w-full"},pp=k("p",{class:"text-2xl text-white"},"Current Exhibitions",-1),mp=k("div",null,null,-1),gp={class:"carousel__item bg-neutral-50/10 mx-2 backdrop-blur-md flex w-full glass-shadow rounded-sm"},bp={class:"flex 2xl:flex-row w-full flex-col gap-4"},yp=["src","alt"],_p={class:"flex flex-col w-full h-36 p-2 justify-between gap-2"},vp={class:"flex flex-col"},wp={class:"text-lg text-white line-clamp-2 text-left"},xp={class:"text-lg text-neutral-400 line-clamp-2 text-left"},Sp={class:"text-neutral-400 text-left"};function Ep(e,t,n,r,s,o){const i=St("Slide"),l=St("Carousel");return Se(),Le("div",hp,[pp,mp,ge(l,fl({autoplay:3e3,"wrap-around":!0,class:"p-4"},e.settings,{breakpoints:e.breakpoints}),{default:Yt(()=>[(Se(!0),Le(Ne,null,Wi(e.exhibitions,c=>(Se(),ar(i,{key:c.id},{default:Yt(()=>[k("div",gp,[k("div",bp,[c.image_url?(Se(),Le("img",{key:0,class:"h-36 w-full rounded-sm glass-shadow object-cover",src:c.image_url,alt:c.title},null,8,yp)):ur("",!0),k("div",_p,[k("div",vp,[k("h1",wp,xt(c.title),1),k("h1",xp,xt(c.gallery_title),1)]),k("h3",Sp,xt(e.formatDate(c.aic_start_at))+" - "+xt(e.formatDate(c.aic_end_at)),1)])])])]),_:2},1024))),128))]),_:1},16,["breakpoints"])])}const Cp=qt(dp,[["render",Ep]]),Ap="data:image/svg+xml,%3csvg%20width='68'%20height='72'%20viewBox='0%200%2068%2072'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M43.3664%2053.538C41.721%2051.8927%2041.721%2049.225%2043.3664%2047.5796C45.0117%2045.9342%2047.6794%2045.9342%2049.3248%2047.5796L66.1777%2064.4326C67.8231%2066.0779%2067.8231%2068.7456%2066.1777%2070.391C64.5323%2072.0363%2061.8647%2072.0363%2060.2193%2070.391L43.3664%2053.538Z'%20fill='%23FAFAFA'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2029.4926C0%2045.781%2013.2043%2058.9853%2029.4926%2058.9853C45.781%2058.9853%2058.9853%2045.781%2058.9853%2029.4926C58.9853%2013.2043%2045.781%200%2029.4926%200C13.2043%200%200%2013.2043%200%2029.4926ZM50.5588%2029.4926C50.5588%2041.1272%2041.1272%2050.5588%2029.4926%2050.5588C17.8581%2050.5588%208.42647%2041.1272%208.42647%2029.4926C8.42647%2017.8581%2017.8581%208.42647%2029.4926%208.42647C41.1272%208.42647%2050.5588%2017.8581%2050.5588%2029.4926Z'%20fill='%23FAFAFA'/%3e%3c/svg%3e",Rp={components:{Carousel:ec,Slide:nc,Pagination:fp,Navigation:tc,ExhibitionBar:Cp},props:{showSearchOverlay:Boolean},setup(e){const t=te(1),n=te(!0),r=te([]),s=async()=>{n.value=!0;try{console.log("Fetching exhibitions...");const o=new Date().toISOString().split("T")[0],l=(await be.get("https://api.artic.edu/api/v1/exhibitions/search",{params:{query:{bool:{must:[{range:{aic_start_at:{lte:o}}},{range:{aic_end_at:{gte:o}}}]}},fields:"id,title,image_id,image_url,aic_start_at,aic_end_at,gallery_title",limit:100,page:t.value}})).data.data.map(c=>({...c}));r.value=l,t.value++}catch(o){console.error("Error fetching exhibitions:",o)}finally{console.log("Exhibitions fetched"),console.log(r.value),setTimeout(()=>{n.value=!1},3e3)}};return La(()=>{e.showSearchOverlay&&r.value.length===0&&(s(),console.log("exhibitions.value",r.value))}),{loadingExhibitions:n,exhibitions:r}}},Op=e=>(Es("data-v-2669c03e"),e=e(),Cs(),e),Tp={key:0,class:"search-overlay"},Pp={class:"bg-neutral-950/50 backdrop fixed inset-0 flex flex-col gap-8 items-center justify-center z-[10] sm:px-8 px-8 md:px-16 lg:px-32 xl:px-64"},Np=Op(()=>k("form",{class:"flex gap-4 p-2 bg-white rounded-full glass-shadow border border-neutral-100 w-full"},[k("div",{class:"flex flex-col w-full pl-8"},[k("label",{for:"search",class:"text-sm text-neutral-950 font-semibold"},"Artwork"),k("input",{placeholder:"Search by name",type:"text",id:"search",name:"search",class:"border-0 border-b focus:border-b-2 outline-none border-neutral-500 transition-all h-10"})]),k("button",{alt:"Search",type:"submit",class:"bg-[#b50938] text-white hover:bg-[#810032] size-14 my-auto rounded-full transition-all p-4"},[k("img",{src:Ap,alt:"Search",class:"h-5 mx-auto my-auto object-contain rounded-l-sm"})])],-1)),Lp={class:"px-2 w-full"};function Ip(e,t,n,r,s,o){const i=St("ExhibitionBar");return Se(),ar(Rn,{name:"search-fade"},{default:Yt(()=>[n.showSearchOverlay?(Se(),Le("div",Tp,[k("div",Pp,[Np,k("div",Lp,[ge(i,{exhibitions:r.exhibitions},null,8,["exhibitions"])])])])):ur("",!0)]),_:1})}const Mp=qt(Rp,[["render",Ip],["__scopeId","data-v-2669c03e"]]),kp={props:["artworks"],mounted(){this.setupInfiniteScroll()},methods:{setupInfiniteScroll(){new IntersectionObserver(([t])=>{t.isIntersecting&&this.$emit("load-more")},{rootMargin:"200px"}).observe(this.$refs.bottom)}}},Fp={class:"masonry-container p-8 relative"},$p=["src","alt"],jp={ref:"bottom",class:"bottom-detector"};function Bp(e,t,n,r,s,o){return Se(),Le("div",Fp,[(Se(!0),Le(Ne,null,Wi(n.artworks,i=>(Se(),Le("div",{key:i.id,class:"masonry-item"},[i.image_url?(Se(),Le("img",{key:0,src:i.image_url,alt:i.title},null,8,$p)):ur("",!0),k("h2",null,xt(i.title),1),k("p",null,"Artist: "+xt(i.artist_title),1)]))),128)),k("div",jp,null,512)])}const Dp=qt(kp,[["render",Bp],["__scopeId","data-v-8a53f207"]]),Hp={components:{Navigation:Pd,Gallery:Dp,SearchOverlay:Mp,AboutOverlay:fd},data(){return{showSearchOverlay:!1,showAboutOverlay:!1}},setup(){const e=te(1),t=te(!0),n=te([]),r=te(1),s=xe(()=>e.value>=100?e.value.toString():e.value.toString().padStart(2," ")),o=(c,u)=>{const a=e.value,h=c-a,p=performance.now(),m=_=>{const w=_-p;w{setTimeout(()=>{o(90,2e3)},100),setTimeout(()=>{o(100,1e3)},2100)});const i=async()=>{t.value=!0;try{const u=(await be.get("https://api.artic.edu/api/v1/artworks",{params:{limit:20,page:r.value,fields:"id,title,image_id,artist_title"}})).data.data.map(a=>({...a,image_url:`https://www.artic.edu/iiif/2/${a.image_id}/full/843,/0/default.jpg`}));n.value=u,r.value++}catch(c){console.error("Error fetching artworks:",c)}finally{setTimeout(()=>{t.value=!1},3e3)}},l=async()=>{try{const u=(await be.get("https://api.artic.edu/api/v1/artworks",{params:{limit:20,page:r.value,fields:"id,title,image_id,artist_title"}})).data.data.map(a=>({...a,image_url:`https://www.artic.edu/iiif/2/${a.image_id}/full/843,/0/default.jpg`}));n.value=[...n.value,...u],r.value++}catch(c){console.error("Error loading more artworks:",c)}};return vn(i),{loading:t,artworks:n,formattedNumber:s,loadMoreArtworks:l}}},rc=e=>(Es("data-v-dfb4dc68"),e=e(),Cs(),e),Up={class:"w-screen h-svh overflow-y-scroll bg-neutral-100"},Vp={key:"loading",class:"w-screen h-screen gap-2 flex bg-[#b50938]"},qp={class:"flex flex-col md:flex-row gap-2 mx-auto my-auto"},zp=rc(()=>k("h1",{class:"xl:text-8xl text-3xl flex-none text-white my-auto mx-auto"}," Art Institute Chicago ",-1)),Kp={class:"flex"},Wp={class:"custom-counter text-6xl md:text-8xl xl:text-[14rem] italic pr-3 text-white tracking-tighter overflow-hidden my-auto mx-auto flex font-display"},Gp=rc(()=>k("h1",{class:"text-6xl md:text-8xl xl:text-[14rem] text-white italic tracking-tighter my-auto mx-auto font-display"}," % ",-1)),Jp={key:"loaded",class:"relative"};function Xp(e,t,n,r,s,o){const i=St("Navigation"),l=St("Gallery"),c=St("SearchOverlay"),u=St("AboutOverlay");return Se(),Le("div",Up,[ge(Rn,{mode:"out-in",name:"fade"},{default:Yt(()=>[r.loading?(Se(),Le("div",Vp,[k("div",qp,[zp,k("div",Kp,[k("div",Wp,[Wn(xt(r.formattedNumber)+" ",1),Gp])])])])):(Se(),Le("div",Jp,[ge(i,{onNavigationButtonClicked:t[0]||(t[0]=a=>s.showSearchOverlay=!s.showSearchOverlay),onAboutButtonClicked:t[1]||(t[1]=a=>s.showAboutOverlay=!s.showAboutOverlay)}),ge(l,{artworks:r.artworks,onLoadMore:r.loadMoreArtworks},null,8,["artworks","onLoadMore"]),ge(c,{showSearchOverlay:s.showSearchOverlay},null,8,["showSearchOverlay"]),ge(u,{onCloseButtonClicked:t[2]||(t[2]=a=>s.showAboutOverlay=!s.showAboutOverlay),showAboutOverlay:s.showAboutOverlay},null,8,["showAboutOverlay"])]))]),_:1})])}const Zp=qt(Hp,[["render",Xp],["__scopeId","data-v-dfb4dc68"]]),Yp=Bf({history:hf("/art-institute-chicago/"),routes:[{path:"/",name:"home",component:Zp},{path:"/about",name:"about",component:()=>Gf(()=>import("./AboutView-DHgehdiw.js"),__vite__mapDeps([0,1]))}]}),Bs=Pu(zf);Bs.use(ku());Bs.use(Yp);Bs.mount("#app");export{qt as _,k as a,Le as c,Se as o};
diff --git a/assets/logo-BBGQuyod.svg b/assets/logo-BBGQuyod.svg
new file mode 100644
index 0000000..90361f5
--- /dev/null
+++ b/assets/logo-BBGQuyod.svg
@@ -0,0 +1,19 @@
+
+
diff --git a/assets/site-DEhlPk4s.webmanifest b/assets/site-DEhlPk4s.webmanifest
new file mode 100644
index 0000000..855d6f0
--- /dev/null
+++ b/assets/site-DEhlPk4s.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "",
+ "short_name": "",
+ "icons": [
+ {
+ "src": "/public/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/public/android-chrome-256x256.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}
diff --git a/browserconfig.xml b/browserconfig.xml
new file mode 100644
index 0000000..50f376d
--- /dev/null
+++ b/browserconfig.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+ #da532c
+
+
+
diff --git a/favicon-16x16.png b/favicon-16x16.png
new file mode 100644
index 0000000..576568d
Binary files /dev/null and b/favicon-16x16.png differ
diff --git a/favicon-32x32.png b/favicon-32x32.png
new file mode 100644
index 0000000..9d424b5
Binary files /dev/null and b/favicon-32x32.png differ
diff --git a/favicon.ico b/favicon.ico
new file mode 100644
index 0000000..c3f648a
Binary files /dev/null and b/favicon.ico differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..4f47b3b
--- /dev/null
+++ b/index.html
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Vite App
+
+
+
+
+
+
+
diff --git a/mstile-150x150.png b/mstile-150x150.png
new file mode 100644
index 0000000..b384f8b
Binary files /dev/null and b/mstile-150x150.png differ
diff --git a/safari-pinned-tab.svg b/safari-pinned-tab.svg
new file mode 100644
index 0000000..ee0d5a1
--- /dev/null
+++ b/safari-pinned-tab.svg
@@ -0,0 +1,25 @@
+
+
+
diff --git a/site.webmanifest b/site.webmanifest
new file mode 100644
index 0000000..855d6f0
--- /dev/null
+++ b/site.webmanifest
@@ -0,0 +1,19 @@
+{
+ "name": "",
+ "short_name": "",
+ "icons": [
+ {
+ "src": "/public/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image/png"
+ },
+ {
+ "src": "/public/android-chrome-256x256.png",
+ "sizes": "256x256",
+ "type": "image/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "background_color": "#ffffff",
+ "display": "standalone"
+}