1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(()=>{var t={781:()=>{var t=window.location.search,e=new URLSearchParams(t);document.getElementById("block-views-block-resources-block-2")&&setTimeout((function(){0!==e.size?(document.getElementById("block-views-block-resources-block-2").style.display="none",document.getElementById("resources-list").scrollIntoView({behavior:"smooth"})):document.getElementById("block-views-block-resources-block-2").style.display="block";}),2e3),setTimeout((function(){var t=document.querySelectorAll("figure");t&&t.forEach((function(t){if(t.closest(".paragraph .text-long")){var e=t.getElementsByTagName("img")[0].width;if(e){var n=100*e/740;n<100&&(t.style.width="".concat(Math.round(n),"%"),t.getElementsByTagName("img")[0].width="",t.getElementsByTagName("img")[0].style.width="100%");}}}));}),800);},877:()=>{jQuery(".dashboard-topics")&&jQuery(".button-topics").on("click",(function(){jQuery(".dashboard-topics").toggle();}));},779:()=>{document.querySelectorAll("a").forEach((function(t){t.href.endsWith("pdf")&&(t.target="_blank");}));},854:()=>{if(document.querySelector("[role=tab]")){document.querySelectorAll("[role=tab]").forEach((function(t){t.addEventListener("click",(function(){history.pushState(null,null,t.getAttribute("data-tabs-target"));}));}));var t=window.location.hash,e=document.querySelector("[role=tab][data-tabs-target='".concat(t,"']")),n=document.querySelector(t),o=document.querySelector("[role=tab][aria-selected=true]"),r=document.querySelector(o.getAttribute("data-tabs-target"));e&&(window.location.hash="",history.pushState(null,null,t),o.setAttribute("aria-selected",!1),r.classList.add("hidden"),e.setAttribute("aria-selected",!0),n.classList.remove("hidden"),window.scrollTo(0,0),setTimeout((function(){window.scrollTo(0,0);}),1));}},351:()=>{var t=jQuery("[data-inview]").map((function(t,e){return {view:jQuery(e),target:jQuery("#".concat(jQuery(e).data("inview")))};}));jQuery(document).on("scroll",(function(){var e=!1;t.get().reverse().forEach((function(t){var n=t.view,o=t.target[0].getBoundingClientRect().bottom<window.innerHeight;n.toggleClass("active",!e&&o),o&&(e=!0);}));}));},542:()=>{jQuery("[data-single-disclosure]").each((function(t,e){var n=jQuery(e).find("details");n.each((function(t,e){jQuery(e).on("click",(function(){n.each((function(t,n){n!==e&&n.removeAttribute("open");}));}));}));}));},421:()=>{var t=jQuery("[data-sticky]");t.each((function(t,e){var n=jQuery(e);n.data("scrollPoint",n.offset().top-parseInt(n.data("sticky"),10));})),jQuery(window).on("scroll",(function(){var e=jQuery(document).scrollTop();t.each((function(t,n){var o=jQuery(n),r=o.data("scrollPoint"),i=o.data("sticky"),a=o.parent().height()-o.height()-parseInt(o.data("sticky"),10);e>o.data("scrollPoint")?o.css("top",Math.max(0,Math.min(e-r+i,a))):o.css("top",Math.min(0));}));}));},723:()=>{document.addEventListener("DOMContentLoaded",(function(){if(document.querySelector(".toolkit-tabs")){var t=document.querySelector(".toolkit-tabs"),e=t.querySelector("[aria-selected=true]");t.scrollBy({left:e.offsetLeft-40});}}));},125:()=>{jQuery(document).on("focusout",(function(t){var e=jQuery(t.target),n=jQuery(t.relatedTarget),o=e.closest("[data-trap-focus]"),r=n.closest("[data-trap-focus]");if(1===o.length&&0===r.length){var i=jQuery("\n input:not(disabled), select:not(disabled), \n textarea:not(disabled), button:not(disabled), \n [href]",o);i.first().get(0)===e.get(0)?i.last().focus():i.first().focus();}}));}},e={};function n(o){var r=e[o];if(void 0!==r)return r.exports;var i=e[o]={exports:{}};return t[o](i,i.exports,n),i.exports;}(()=>{"use strict";var t=[],e=function(e,n){t.push({name:e,callback:n});};jQuery(document.body).on("click","[data-action]",(function(){var e=jQuery(this),n=e.data("action"),o=t.find((function(t){return t.name===n;}));o&&o.callback?o.callback(e):console.warn("".concat(n," handler not found."));}));var o=jQuery(".header-nav-item > button"),r=o.siblings(".submenu"),i=jQuery("#menu"),a=function(t,e,n){t?(e.data("active",!0),n.addClass("header-nav-item--showing"),setTimeout((function(){n.addClass("header-nav-item--active");})),setTimeout((function(){n.removeClass("header-nav-item--showing");}),300)):(e.data("active",!1),n.addClass("header-nav-item--hiding"),n.removeClass("header-nav-item--active"),setTimeout((function(){n.removeClass("header-nav-item--hiding");}),300));};e("toggle-submenu",(function(t){var e=t.parent(),n=t.data("active");n||jQuery(".header-nav-item--active").each((function(t,e){var n=jQuery(e),o=n.find("[data-action=toggle-submenu]");a(!1,o,n);})),o.parents().removeClass("header-nav-item--active"),o.data("active",!1),a(!n,t,e);})),e("open-mobile-menu",(function(){jQuery("[data-action=open-mobile-menu]").attr("aria-hidden","true"),i.removeClass("hidden"),i.addClass("opacity-0"),setTimeout((function(){i.removeClass("opacity-0");}));})),e("close-mobile-menu",(function(){jQuery("[data-action=open-mobile-menu]").attr("aria-hidden","false"),o.parents().removeClass("header-nav-item--active"),r.removeClass("flex"),r.addClass("hidden"),i.addClass("opacity-0"),setTimeout((function(){i.addClass("hidden");}),300);})),e("open-search",(function(){var t=document.querySelector(".header-search-form");t.setAttribute("aria-hidden",!0),t.setAttribute("disabled",!0),t.classList.add("header-search-form--showing"),setTimeout((function(){t.classList.add("header-search-form--active"),t.classList.remove("header-search-form--showing"),t.querySelector("input").focus();}));})),e("close-search",(function(){var t=document.querySelector(".header-search-form");t.classList.add("header-search-form--hiding"),t.classList.remove("header-search-form--active"),setTimeout((function(){document.querySelector("[data-action=open-search]").removeAttribute("aria-hidden"),document.querySelector("[data-action=open-search]").removeAttribute("disabled"),t.classList.remove("header-search-form--hiding");}),400);}));var s=function(){return !0===window.matchMedia("(prefers-reduced-motion: reduce)")||!0===window.matchMedia("(prefers-reduced-motion: reduce)").matches;},l=!1,u=0,c=function(t,e){if(!l){l=!0;var n=s()?0:300,o=e.closest("[data-carousel-parent]").find("[data-carousel-area]");u=u+o.children().children().first().width()*t+20*t,o.animate({scrollLeft:u},n,"swing",(function(){l=!1;}));}};e("scroll-right",(function(t){c(1,t);})),e("scroll-left",(function(t){c(-1,t);})),jQuery("[data-carousel-parent]").each((function(t,e){var n=jQuery(e),o=n.find("[data-action=scroll-left]"),r=n.find("[data-action=scroll-right]"),i=n.find("[data-carousel-area]");i.on("scroll",(function(){o.prop("disabled",0===i.scrollLeft()),r.prop("disabled",i.scrollLeft()+i.width()>=i[0].scrollWidth);}));}));var d=!1,p=0,h=function(t,e){if(!d){d=!0;
2var n=s()?0:300,o=e.closest("[data-slide-deck]");o.removeClass("snap-x"),p=p+o.width()*t+20*t,o.animate({scrollLeft:p},n,"swing",(function(){o.addClass("snap-x"),d=!1;}));}};e("next-slide",(function(t){h(1,t);})),e("prev-slide",(function(t){h(-1,t);}));var f=!1,m=0,v=1,g=function(t,e){if(!f){f=!0;var n=s()?0:300,o=e.parent().siblings("[data-quotes]");o.removeClass("snap-x"),m=m+o.width()*t+20*t,o.animate({opacity:0},n,"swing",(function(){o.scrollLeft(m),o.addClass("snap-x"),f=!1,m=o.scrollLeft(),o.animate({opacity:1});})),v+=t;}};e("next-quote",(function(t){g(1,t);})),e("prev-quote",(function(t){g(-1,t);})),jQuery("[data-quotes] > div").each((function(){var t=jQuery("[data-quotes]"),e=t.parent().find("[data-quotes-counter]"),n=t.parent().find("[data-action=prev-quote]"),o=t.parent().find("[data-action=next-quote]");t.on("scroll",(function(){var r=t.children().length;e.html("".concat(v,"/").concat(r)),n.attr("disabled",1===v),o.attr("disabled",v===r);}));}));var y=function t(e,n){if(e===n)return !0;if(e&&n&&"object"==typeof e&&"object"==typeof n){if(e.constructor!==n.constructor)return !1;var o,r,i;if(Array.isArray(e)){if((o=e.length)!=n.length)return !1;for(r=o;0!=r--;)if(!t(e[r],n[r]))return !1;return !0;}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if((o=(i=Object.keys(e)).length)!==Object.keys(n).length)return !1;for(r=o;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,i[r]))return !1;for(r=o;0!=r--;){var a=i[r];if(!t(e[a],n[a]))return !1;}return !0;}return e!=e&&n!=n;};const _="__googleMapsScriptId";var b;!function(t){t[t.INITIALIZED=0]="INITIALIZED",t[t.LOADING=1]="LOADING",t[t.SUCCESS=2]="SUCCESS",t[t.FAILURE=3]="FAILURE";}(b||(b={}));class w{constructor({apiKey:t,authReferrerPolicy:e,channel:n,client:o,id:r=_,language:i,libraries:a=[],mapIds:s,nonce:l,region:u,retries:c=3,url:d="https://maps.googleapis.com/maps/api/js",version:p}){if(this.CALLBACK="__googleMapsCallback",this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=e,this.channel=n,this.client=o,this.id=r||_,this.language=i,this.libraries=a,this.mapIds=s,this.nonce=l,this.region=u,this.retries=c,this.url=d,this.version=p,w.instance){if(!y(this.options,w.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(w.instance.options)}`);return w.instance;}w.instance=this;}get options(){return {version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy};}get status(){return this.errors.length?b.FAILURE:this.done?b.SUCCESS:this.loading?b.LOADING:b.INITIALIZED;}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1;}createUrl(){let t=this.url;return t+=`?callback=${this.CALLBACK}`,this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`®ion=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t;}deleteScript(){const t=document.getElementById(this.id);t&&t.remove();}load(){return this.loadPromise();}loadPromise(){return new Promise(((t,e)=>{this.loadCallback(((n)=>{n?e(n.error):t(window.google);}));}));}loadCallback(t){this.callbacks.push(t),this.execute();}setScript(){if(document.getElementById(this.id))return void this.callback();const t=this.createUrl(),e=document.createElement("script");e.id=this.id,e.type="text/javascript",e.src=t,e.onerror=this.loadErrorCallback.bind(this),e.defer=!0,e.async=!0,this.nonce&&(e.nonce=this.nonce),document.head.appendChild(e);}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null;}resetIfRetryingFailed(){this.failed&&this.reset();}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const t=this.errors.length*Math.pow(2,this.errors.length);console.log(`Failed to load Google Maps script, retrying in ${t} ms.`),setTimeout((()=>{this.deleteScript(),this.setScript();}),t);}else this.onerrorEvent=t,this.callback();}setCallback(){window.__googleMapsCallback=this.callback.bind(this);}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(((t)=>{t(this.onerrorEvent);})),this.callbacks=[];}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return console.warn("Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options and script parameters may not match."),void this.callback();this.loading||(this.loading=!0,this.setCallback(),this.setScript());}}}function j(t){return j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},j(t);}function E(){E=function(){return t;};var t={},e=Object.prototype,n=e.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value;},r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",s=r.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e];}try{l({},"");}catch(t){l=function(t,e,n){return t[e]=n;};}function u(t,e,n,r){var i=e&&e.prototype instanceof p?e:p,a=Object.create(i.prototype),s=new L(r||[]);return o(a,"_invoke",{value:w(t,n,s)}),a;}function c(t,e,n){try{return {type:"normal",arg:t.call(e,n)};}catch(t){return {type:"throw",arg:t};}}t.wrap=u;var d={};function p(){}function h(){}function f(){}var m={};l(m,i,(function(){return this;}));var v=Object.getPrototypeOf,g=v&&v(v(C([])));
2g&&g!==e&&n.call(g,i)&&(m=g);var y=f.prototype=p.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t);}));}));}function b(t,e){function r(o,i,a,s){var l=c(t[o],t,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==j(d)&&n.call(d,"__await")?e.resolve(d.__await).then((function(t){r("next",t,a,s);}),(function(t){r("throw",t,a,s);})):e.resolve(d).then((function(t){u.value=t,a(u);}),(function(t){return r("throw",t,a,s);}));}s(l.arg);}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o);}));}return i=i?i.then(o,o):o();}});}function w(t,e,n){var o="suspendedStart";return function(r,i){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===r)throw i;return O();}for(n.method=r,n.arg=i;;){var a=n.delegate;if(a){var s=x(a,n);if(s){if(s===d)continue;return s;}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===o)throw o="completed",n.arg;n.dispatchException(n.arg);}else "return"===n.method&&n.abrupt("return",n.arg);o="executing";var l=c(t,e,n);if("normal"===l.type){if(o=n.done?"completed":"suspendedYield",l.arg===d)continue;return {value:l.arg,done:n.done};}"throw"===l.type&&(o="completed",n.method="throw",n.arg=l.arg);}};}function x(t,e){var n=e.method,o=t.iterator[n];if(void 0===o)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),d;var r=c(o,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,d;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d);}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e);}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e;}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0);}function C(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,r=function e(){for(;++o<t.length;)if(n.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=void 0,e.done=!0,e;};return r.next=r;}}return {next:O};}function O(){return {value:void 0,done:!0};}return h.prototype=f,o(y,"constructor",{value:f,configurable:!0}),o(f,"constructor",{value:h,configurable:!0}),h.displayName=l(f,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return !!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name));},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,s,"GeneratorFunction")),t.prototype=Object.create(y),t;},t.awrap=function(t){return {__await:t};},_(b.prototype),l(b.prototype,a,(function(){return this;})),t.AsyncIterator=b,t.async=function(e,n,o,r,i){void 0===i&&(i=Promise);var a=new b(u(e,n,o,r),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next();}));},_(y),l(y,s,"Generator"),l(y,i,(function(){return this;})),l(y,"toString",(function(){return "[object Generator]";})),t.keys=function(t){var e=Object(t),n=[];for(var o in e)n.push(o);return n.reverse(),function t(){for(;n.length;){var o=n.pop();if(o in e)return t.value=o,t.done=!1,t;}return t.done=!0,t;};},t.values=C,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0);},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval;},dispatchException:function(t){if(this.done)throw t;var e=this;function o(n,o){return a.type="throw",a.arg=t,e.next=n,o&&(e.method="next",e.arg=void 0),!!o;}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc);}else if(s){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc);}}}},abrupt:function(t,e){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break;}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a);},complete:function(t,e){if("throw"===t.type)throw t.arg;return "break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d;},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),A(n),d;}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var r=o.arg;A(n);}return r;}}throw new Error("illegal catch attempt");},delegateYield:function(t,e,n){return this.delegate={iterator:C(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),d;}},t;}function x(t,e,n,o,r,i,a){try{var s=t[i](a),l=s.value;}catch(t){return void n(t);}s.done?e(l):Promise.resolve(l).then(o,r);}function k(t){return function(){var e=this,n=arguments;return new Promise((function(o,r){var i=t.apply(e,n);function a(t){x(i,o,r,a,s,"next",t);}function s(t){x(i,o,r,a,s,"throw",t);}a(void 0);}));};}jQuery("[data-google-maps]").each(function(){var t=k(E().mark((function t(e,n){var o,r,i,a,s;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:o=jQuery(n),r=o.find("[data-google-maps-map]"),i=o.find("[data-google-maps-marker]"),a=o.find("[data-action=next-location]"),s=o.find("[data-action=prev-location]"),new w({apiKey:o.data("google-maps"),version:"weekly"}).load().then(k(E().mark((function t(){var e,n,l,u,c,d,p,h,f,m,v,g;return E().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=[],n=0,l=0,o.data("data-google-maps",""),t.next=6,google.maps.importLibrary("maps");case 6:return u=t.sent,c=u.Map,d=u.InfoWindow,t.next=11,google.maps.importLibrary("marker");case 11:p=t.sent,h=p.AdvancedMarkerElement,f=p.PinElement,m=new c(r[0],{center:{lat:37.0902,lng:-95.7129},zoom:3.7,disableDefaultUI:!0,mapId:"aadcc234597801c9"}),o.data("items",e),o.data("$markers",i),o.data("$next",a),o.data("$prev",s),a.data("$host",o),s.data("$host",o),v=new d({maxWidth:280,disableAutoPan:!1}),g=function(t){e[n].$view.removeClass("text-wallace-blue font-medium"),e[t].$view.addClass("text-wallace-blue font-medium");var o='<p class="text-wallace-blue font-medium">'.concat(jQuery(i[t]).data("title"),"</p><p>").concat(jQuery(i[t]).data("description"),"</p>");v.setContent(o),v.open(e[t].marker.map,e[t].marker),n=t;},o.data("doNext",(function(){g((n+1)%l);})),o.data("doPrev",(function(){var t=(n-1)%l;g(t<0?l-1:t);})),i.each((function(t,n){var o=jQuery(n),r=o.data("lat"),a=o.data("lon"),s=o.data("title"),l=o.data("description"),u='<p class="text-wallace-blue font-medium">'.concat(jQuery(i[t]).data("title"),"</p><p>").concat(jQuery(i[t]).data("description"),"</p>"),c=new f({background:"#00216A",borderColor:"#ffffff",glyphColor:"#ffffff",scale:1.2});v.setContent(u);var d=new h({position:{lat:r,lng:a},map:m,title:"".concat(s,": ").concat(l),content:c.element});e.push({$view:o,marker:d,index:t}),d.addListener("gmp-click",(function(){v.open(d.map,d),g(t);}));})),l=e.length;case 27:case "end":return t.stop();}}),t);}))));case 7:case "end":return t.stop();}}),t);})));return function(e,n){return t.apply(this,arguments);};}()),e("next-location",(function(t){t.data("$host").data("doNext")();})),e("prev-location",(function(t){t.data("$host").data("doPrev")();}));
vendor: 5,439 bytes, line 2
2n(877),n(542);var A,L,C,O,S,T,N,I={},P=[],M=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,D=Array.isArray;function H(t,e){for(var n in e)t[n]=e[n];return t;}function B(t){var e=t.parentNode;e&&e.removeChild(t);}function q(t,e,n){var o,r,i,a={};for(i in e)"key"==i?o=e[i]:"ref"==i?r=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?A.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(i in t.defaultProps)void 0===a[i]&&(a[i]=t.defaultProps[i]);return W(t,a,o,r,null);}function W(t,e,n,o,r){var i={type:t,props:e,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++C:r};return null==r&&null!=L.vnode&&L.vnode(i),i;}function R(t){return t.children;}function V(t,e){this.props=t,this.context=e;}function $(t,e){if(null==e)return t.__?$(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return "function"==typeof t.type?$(t):null;}function F(t){var e,n;if(null!=(t=t.__)&&null!=t.__c){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e){t.__e=t.__c.base=n.__e;break;}return F(t);}}function K(t){(!t.__d&&(t.__d=!0)&&O.push(t)&&!U.__r++||S!==L.debounceRendering)&&((S=L.debounceRendering)||T)(U);}function U(){var t,e,n,o,r,i,a,s,l;for(O.sort(N);t=O.shift();)t.__d&&(e=O.length,o=void 0,r=void 0,i=void 0,s=(a=(n=t).__v).__e,(l=n.__P)&&(o=[],r=[],(i=H({},a)).__v=a.__v+1,et(l,a,i,n.__n,void 0!==l.ownerSVGElement,null!=a.__h?[s]:null,o,null==s?$(a):s,a.__h,r),nt(o,a,r),a.__e!=s&&F(a)),O.length>e&&O.sort(N));U.__r=0;}function Q(t,e,n,o,r,i,a,s,l,u,c){var d,p,h,f,m,v,g,y,_,b,w=0,j=o&&o.__k||P,E=j.length,x=E,k=e.length;for(n.__k=[],d=0;d<k;d++)null!=(f=n.__k[d]=null==(f=e[d])||"boolean"==typeof f||"function"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?W(null,f,null,null,f):D(f)?W(R,{children:f},null,null,null):f.__b>0?W(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)&&(f.__=n,f.__b=n.__b+1,-1===(y=Y(f,j,g=d+w,x))?h=I:(h=j[y]||I,j[y]=void 0,x--),et(t,f,h,r,i,a,s,l,u,c),m=f.__e,(p=f.ref)&&h.ref!=p&&(h.ref&&rt(h.ref,null,f),c.push(p,f.__c||m,f)),null!=m&&(null==v&&(v=m),b=!(_=h===I||null===h.__v)&&y===g,_?-1==y&&w--:y!==g&&(y===g+1?(w++,b=!0):y>g?x>k-g?(w+=y-g,b=!0):w--:w=y<g&&y==g-1?y-g:0),g=d+w,b=b||y==d&&!_,"function"!=typeof f.type||y===g&&h.__k!==f.__k?"function"==typeof f.type||b?void 0!==f.__d?(l=f.__d,f.__d=void 0):l=m.nextSibling:l=G(t,m,l):l=z(f,l,t),"function"==typeof n.type&&(n.__d=l)));for(n.__e=v,d=E;d--;)null!=j[d]&&("function"==typeof n.type&&null!=j[d].__e&&j[d].__e==n.__d&&(n.__d=j[d].__e.nextSibling),it(j[d],j[d]));}function z(t,e,n){for(var o,r=t.__k,i=0;r&&i<r.length;i++)(o=r[i])&&(o.__=t,e="function"==typeof o.type?z(o,e,n):G(n,o.__e,e));return e;}function G(t,e,n){return null==n||n.parentNode!==t?t.insertBefore(e,null):e==n&&null!=e.parentNode||t.insertBefore(e,n),e.nextSibling;}function Y(t,e,n,o){var r=t.key,i=t.type,a=n-1,s=n+1,l=e[n];if(null===l||l&&r==l.key&&i===l.type)return n;if(o>(null!=l?1:0))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&r==l.key&&i===l.type)return a;a--;}if(s<e.length){if((l=e[s])&&r==l.key&&i===l.type)return s;s++;}}return -1;}function X(t,e,n){"-"===e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||M.test(e)?n:n+"px";}function J(t,e,n,o,r){var i;t:if("style"===e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof o&&(t.style.cssText=o=""),o)for(e in o)n&&e in n||X(t.style,e,"");if(n)for(e in n)o&&n[e]===o[e]||X(t.style,e,n[e]);}else if("o"===e[0]&&"n"===e[1])i=e!==(e=e.replace(/Capture$/,"")),e=e.toLowerCase() in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?o||t.addEventListener(e,i?tt:Z,i):t.removeEventListener(e,i?tt:Z,i);else{if("dangerouslySetInnerHTML"!==e){if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else{if("width"!==e&&"height"!==e&&"href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&"rowSpan"!==e&&"colSpan"!==e&&e in t)try{t[e]=null==n?"":n;break t;}catch(t){}}"function"==typeof n||(null==n||!1===n&&"-"!==e[4]?t.removeAttribute(e):t.setAttribute(e,n));}}}function Z(t){return this.l[t.type+!1](L.event?L.event(t):t);}function tt(t){return this.l[t.type+!0](L.event?L.event(t):t);}function et(t,e,n,o,r,i,a,s,l,u){var c,d,p,h,f,m,v,g,y,_,b,w,j,E,x,k=e.type;if(void 0!==e.constructor)return null;null!=n.__h&&(l=n.__h,s=e.__e=n.__e,e.__h=null,i=[s]),(c=L.__b)&&c(e);try{t:if("function"==typeof k){if(g=e.props,y=(c=k.contextType)&&o[c.__c],_=c?y?y.props.value:c.__:o,n.__c?v=(d=e.__c=n.__c).__=d.__E:("prototype" in k&&k.prototype.render?e.__c=d=new k(g,_):(e.__c=d=new V(g,_),d.constructor=k,d.render=at),y&&y.sub(d),d.props=g,d.state||(d.state={}),d.context=_,d.__n=o,p=d.__d=!0,d.__h=[],d._sb=[]),null==d.__s&&(d.__s=d.state),null!=k.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=H({},d.__s)),H(d.__s,k.getDerivedStateFromProps(g,d.__s))),h=d.props,f=d.state,d.__v=e,p)null==k.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==k.getDerivedStateFromProps&&g!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,_),!d.__e&&(null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,_)||e.__v===n.__v)){for(e.__v!==n.__v&&(d.props=g,d.state=d.__s,d.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEac
vendor: 4,094 bytes, line 2
2h((function(t){t&&(t.__=e);})),b=0;b<d._sb.length;b++)d.__h.push(d._sb[b]);d._sb=[],d.__h.length&&a.push(d);break t;}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,_),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(h,f,m);}));}if(d.context=_,d.props=g,d.__P=t,d.__e=!1,w=L.__r,j=0,"prototype" in k&&k.prototype.render){for(d.state=d.__s,d.__d=!1,w&&w(e),c=d.render(d.props,d.state,d.context),E=0;E<d._sb.length;E++)d.__h.push(d._sb[E]);d._sb=[];}else do d.__d=!1,w&&w(e),c=d.render(d.props,d.state,d.context),d.state=d.__s;while(d.__d&&++j<25);d.state=d.__s,null!=d.getChildContext&&(o=H(H({},o),d.getChildContext())),p||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(h,f)),Q(t,D(x=null!=c&&c.type===R&&null==c.key?c.props.children:c)?x:[x],e,n,o,r,i,a,s,l,u),d.base=e.__e,e.__h=null,d.__h.length&&a.push(d),v&&(d.__E=d.__=null);}else null==i&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=ot(n.__e,e,n,o,r,i,a,l,u);(c=L.diffed)&&c(e);}catch(t){e.__v=null,(l||null!=i)&&(e.__e=s,e.__h=!!l,i[i.indexOf(s)]=null),L.__e(t,e,n);}}function nt(t,e,n){for(var o=0;o<n.length;o++)rt(n[o],n[++o],n[++o]);L.__c&&L.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e);}));}catch(t){L.__e(t,e.__v);}}));}function ot(t,e,n,o,r,i,a,s,l){var u,c,d,p=n.props,h=e.props,f=e.type,m=0;if("svg"===f&&(r=!0),null!=i)for(;m<i.length;m++)if((u=i[m])&&"setAttribute" in u==!!f&&(f?u.localName===f:3===u.nodeType)){t=u,i[m]=null;break;}if(null==t){if(null===f)return document.createTextNode(h);t=r?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,h.is&&h),i=null,s=!1;}if(null===f)p===h||s&&t.data===h||(t.data=h);else{if(i=i&&A.call(t.childNodes),c=(p=n.props||I).dangerouslySetInnerHTML,d=h.dangerouslySetInnerHTML,!s){if(null!=i)for(p={},m=0;m<t.attributes.length;m++)p[t.attributes[m].name]=t.attributes[m].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===t.innerHTML)||(t.innerHTML=d&&d.__html||""));}if(function(t,e,n,o,r){var i;for(i in n)"children"===i||"key"===i||i in e||J(t,i,null,n[i],o);for(i in e)r&&"function"!=typeof e[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===e[i]||J(t,i,e[i],n[i],o);}(t,h,p,r,s),d)e.__k=[];else{if(Q(t,D(m=e.props.children)?m:[m],e,n,o,r&&"foreignObject"!==f,i,a,i?i[0]:n.__k&&$(n,0),s,l),null!=i)for(m=i.length;m--;)null!=i[m]&&B(i[m]);}s||("value" in h&&void 0!==(m=h.value)&&(m!==t.value||"progress"===f&&!m||"option"===f&&m!==p.value)&&J(t,"value",m,p.value,!1),"checked" in h&&void 0!==(m=h.checked)&&m!==t.checked&&J(t,"checked",m,p.checked,!1));}return t;}function rt(t,e,n){try{"function"==typeof t?t(e):t.current=e;}catch(t){L.__e(t,n);}}function it(t,e,n){var o,r;if(L.unmount&&L.unmount(t),(o=t.ref)&&(o.current&&o.current!==t.__e||rt(o,null,e)),null!=(o=t.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount();}catch(t){L.__e(t,e);}o.base=o.__P=null,t.__c=void 0;}if(o=t.__k)for(r=0;r<o.length;r++)o[r]&&it(o[r],e,n||"function"!=typeof t.type);n||null==t.__e||B(t.__e),t.__=t.__e=t.__d=void 0;}function at(t,e,n){return this.constructor(t,n);}function st(t,e,n){var o,r,i,a;L.__&&L.__(t,e),r=(o="function"==typeof n)?null:n&&n.__k||e.__k,i=[],a=[],et(e,t=(!o&&n||e).__k=q(R,null,[t]),r||I,I,void 0!==e.ownerSVGElement,!o&&n?[n]:r?null:e.firstChild?A.call(e.childNodes):null,i,!o&&n?n:r?r.__e:e.firstChild,o,a),nt(i,t,a);}A=P.slice,L={__e:function(t,e,n,o){for(var r,i,a;e=e.__;)if((r=e.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(t)),a=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(t,o||{}),a=r.__d),a)return r.__E=r;}catch(e){t=e;}throw t;}},C=0,V.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=H({},this.state),"function"==typeof t&&(t=t(H({},n),this.props)),t&&H(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),K(this));},V.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),K(this));},V.prototype.render=R,O=[],T="function"==typeof Promise?Promise.prototype.then.bind(Prom
2ise.resolve()):setTimeout,N=function(t,e){return t.__v.__b-e.__v.__b;},U.__r=0;var lt,ut,ct,dt,pt=0,ht=[],ft=[],mt=L.__b,vt=L.__r,gt=L.diffed,yt=L.__c,_t=L.unmount;function bt(t,e){L.__h&&L.__h(ut,t,pt||e),pt=0;var n=ut.__H||(ut.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:ft}),n.__[t];}function wt(t){return pt=1,function(t,e,n){var o=bt(lt++,2);if(o.t=t,!o.__c&&(o.__=[n?n(e):Ot(void 0,e),function(t){var e=o.__N?o.__N[0]:o.__[0],n=o.t(e,t);e!==n&&(o.__N=[n,o.__[1]],o.__c.setState({}));}],o.__c=ut,!ut.u)){var r=function(t,e,n){if(!o.__c.__H)return !0;var r=o.__c.__H.__.filter((function(t){return t.__c;}));if(r.every((function(t){return !t.__N;})))return !i||i.call(this,t,e,n);var a=!1;return r.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(a=!0);}})),!(!a&&o.__c.props===t)&&(!i||i.call(this,t,e,n));};ut.u=!0;var i=ut.shouldComponentUpdate,a=ut.componentWillUpdate;ut.componentWillUpdate=function(t,e,n){if(this.__e){var o=i;i=void 0,r(t,e,n),i=o;}a&&a.call(this,t,e,n);},ut.shouldComponentUpdate=r;}return o.__N||o.__;}(Ot,t);}function jt(t,e){var n=bt(lt++,7);return Ct(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__;}function Et(){for(var t;t=ht.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(At),t.__H.__h.forEach(Lt),t.__H.__h=[];}catch(e){t.__H.__h=[],L.__e(e,t.__v);}}L.__b=function(t){ut=null,mt&&mt(t);},L.__r=function(t){vt&&vt(t),lt=0;var e=(ut=t.__c).__H;e&&(ct===ut?(e.__h=[],ut.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.__V=ft,t.__N=t.i=void 0;}))):(e.__h.forEach(At),e.__h.forEach(Lt),e.__h=[],lt=0)),ct=ut;},L.diffed=function(t){gt&>(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==ht.push(e)&&dt===L.requestAnimationFrame||((dt=L.requestAnimationFrame)||kt)(Et)),e.__H.__.forEach((function(t){t.i&&(t.__H=t.i),t.__V!==ft&&(t.__=t.__V),t.i=void 0,t.__V=ft;}))),ct=ut=null;},L.__c=function(t,e){e.some((function(t){try{t.__h.forEach(At),t.__h=t.__h.filter((function(t){return !t.__||Lt(t);}));}catch(n){e.some((function(t){t.__h&&(t.__h=[]);})),e=[],L.__e(n,t.__v);}})),yt&&yt(t,e);},L.unmount=function(t){_t&&_t(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{At(t);}catch(t){e=t;}})),n.__H=void 0,e&&L.__e(e,n.__v));};var xt="function"==typeof requestAnimationFrame;function kt(t){var e,n=function(){clearTimeout(o),xt&&cancelAnimationFrame(e),setTimeout(t);},o=setTimeout(n,100);xt&&(e=requestAnimationFrame(n));}function At(t){var e=ut,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),ut=e;}function Lt(t){var e=ut;t.__c=t.__(),ut=e;}function Ct(t,e){return !t||t.length!==e.length||e.some((function(e,n){return e!==t[n];}));}function Ot(t,e){return "function"==typeof e?e(t):e;}const St=function(t){var e=t.title,n=t.subtitle,o=t.children;return q("div",{className:"border-b-2 border-b-wallace-gray py-[12px]"},q("h3",{className:"text-wallace-blue font-medium text-[16px] lg:text-[18px]"},e),q("p",null,n),q("div",{className:"py-[10px]"},o));};const Tt=function(t){var e=t.placeholder,n=t.value,o=t.options,r=t.onChange,i=t.disabled;return function(t,e){var n=bt(lt++,3);!L.__s&&Ct(n.__H,e)&&(n.__=t,n.i=e,ut.__H.__h.push(n));}((function(){if(i&&i[n]){var t=i.indexOf(!1);r(t);}}),[n,i]),q("div",{className:"relative inline-block rounded-none border border-wallace-gray text-[16px] font-bold text-wallace-blue"},q("select",{onChange:function(t){return r(t.target.value);},value:n,className:"form-select w-full appearance-none border-none py-[16px] pl-[20px] pr-[47px]"},!n&&e?q("option",{value:e},e):void 0,o.map((function(t,e){return q("option",{key:e,value:"".concat(e),disabled:!(!i||void 0===i[e])&&i[e]},t);}))),q("i",{class:"wi wi-chevron-right pointer-events-none absolute right-[28px] top-[50%] translate-y-[-50%]"}));};const Nt=function(t){return q("div",{className:"group relative ml-[10px] hidden h-[18px] w-[18px] items-center justify-center rounded-full bg-wallace-blue text-white lg:inline-flex"},"!",q("span",{className:"pointer-events-none absolute left-[50%] top-[24px] w-[300px] translate-x-[-50%] border-t-[2px] border-t-wallace-blue bg-white p-[20px] text-[14px] font-normal leading-[16
2px] text-black opacity-0 shadow-md transition-opacity group-hover:opacity-100"},t.children));};var It=function(t){var e=t.option,n=t.optionKey,o=t.currentValue,r=t.onChange,i=t.disabled,a=t.name,s="string"==typeof e?e:e.value,l="string"==typeof e?null:e.help;return q("div",{className:"flex flex-row items-center gap-[8px] py-[6px]"},q("input",{type:"radio",value:n,id:"".concat(a,"_").concat(n),name:a,onChange:function(t){return r(t.target.value);},disabled:i,checked:n===o}),q("label",{for:"".concat(a,"_").concat(n),className:"text-[16px] font-medium normal-case ".concat(i?"text-wallace-midgray":"")},s,l?q(Nt,null,l):void 0));};const Pt=function(t){var e=t.value,n=t.options,o=t.onChange,r=t.disabled,i=t.name;return q("div",null,n.map((function(t,n){return q("div",{key:n},q(It,{optionKey:"".concat(n),option:t,onChange:o,currentValue:e,name:i,disabled:r&&void 0!==r[n]&&r[n]}));})));};var Mt=[{value:"AL - Anniston-Calhoun County",adjustment:.872},{value:"AL - Auburn-Opelika",adjustment:.936},{value:"AL - Birmingham",adjustment:.917},{value:"AL - Decatur-Hartselle",adjustment:.881},{value:"AL - Dothan",adjustment:.867},{value:"AL - Florence",adjustment:.904},{value:"AL - Huntsville",adjustment:.932},{value:"AL - Mobile",adjustment:.919},{value:"AL - Montgomery",adjustment:.936},{value:"AK - Anchorage",adjustment:1.329},{value:"AK - Fairbanks",adjustment:1.386},{value:"AK - Juneau",adjustment:1.352},{value:"AK - Kodiak",adjustment:1.412},{value:"AZ - Bullhead City",adjustment:.917},{value:"AZ - Lake Havasu City",adjustment:1.016},{value:"AZ - Phoenix",adjustment:.936},{value:"AZ - Prescott-Prescott Valley",adjustment:.962},{value:"AZ - Sierra Vista",adjustment:.964},{value:"AZ - Tucson",adjustment:.933},{value:"AZ - Yuma",adjustment:1.016},{value:"AR - Fayetteville",adjustment:.86},{value:"AR - Fort Smith",adjustment:.892},{value:"AR - Hot Springs",adjustment:.917},{value:"AR - Jonesboro",adjustment:.874},{value:"AR - Little Rock-N Little Rock",adjustment:.97},{value:"CA - Bakersfield",adjustment:1.059},{value:"CA - Los Angeles-Long Beach",adjustment:1.369},{value:"CA - Oakland",adjustment:1.431},{value:"CA - San Diego",adjustment:1.419},{value:"CA - San Francisco",adjustment:1.732},{value:"CA - Stockton",adjustment:1.136},{value:"CA - Tracy",adjustment:1.246},{value:"CA - Orange County",adjustment:1.468},{value:"CA - Truckee-Nevada County",adjustment:1.575},{value:"CO - Colorado Springs",adjustment:.954},{value:"CO - Denver",adjustment:1.077},{value:"CO - Grand Junction",adjustment:.972},{value:"CO - Pueblo",adjustment:.824},{value:"CO - Glenwood Springs",adjustment:1.222},{value:"CO - Gunnison",adjustment:1.085},{value:"CT - Stamford",adjustment:1.449},{value:"CT - Hartford",adjustment:1.245},{value:"DE - Dover",adjustment:.996},{value:"DE - Wilmington",adjustment:1.065},{value:"DC - Washington-Arlington-Alexandria",adjustment:1.433},{value:"FL - Daytona Beach",adjustment:.968},{value:"FL - Fort Lauderdale",adjustment:1.149},{value:"FL - Gainesville",adjustment:.964},{value:"FL - Jacksonville",adjustment:.998},{value:"FL - Miami-Dade County",adjustment:1.126},{value:"FL - Orlando",adjustment:.983},{value:"FL - Sarasota",adjustment:1.036},{value:"FL - Vero Beach-Indian River",adjustment:1.009},{value:"FL - Tampa",adjustment:.926},{value:"GA - Albany",adjustment:.906},{value:"GA - Atlanta",adjustment:1.016},{value:"GA - Dublin-Laurens County",adjustment:.9},{value:"GA-SC - Augusta-Aiken",adjustment:.869},{value:"GA - Dalton",adjustment:.897},{value:"GA - Savannah",adjustment:.92},{value:"GA - Valdosta",adjustment:.911},{value:"GA - Statesboro-Bulloch County",adjustment:.9},{value:"HI - Hilo",adjustment:1.512},{value:"HI - Honolulu",adjustment:1.904},{value:"ID - Boise",adjustment:.908},{value:"ID - Idaho Falls",adjustment:.824},{value:"ID - Twin Falls",adjustment:.915},{value:"IL - Champaign-Urbana",adjustment:.947},{value:"IL - Chicago",adjustment:1.146},{value:"IL - Joliet-Will County",adjustment:1.012},{value:"IL - Danville",adjustment:.896},{value:"IL - Decatur",adjustment:.912},{value:"IL - Kankakee",adjustment:.951},{value:"IL - Peoria",adjustment:.981},{value:"IL - Rockford",adjustment:.919},{value:"IL - Springfield",adjustment:.907},{value:"IN - Evansville",adjustment:.921},{value:"IN - Fort Wayne-Allen County",adjustment:.875},{value:"IN - Indianapolis",adjustment:.915},{value:"IN - Indianapolis-Morgan County",adjustment:.896},{value:"IN - Lafayette",adjustment:.869},{value:"IN - Richmond",adjustment:.825},{value:"IN - South Bend",adjustment:.896},{value:"IN - Terre Haute",adjustment:.973},{value:"IA - Ames",adjustment:.925},{value:"IA - Burlington",adjustment:.887},{value:"IA - Cedar Rapids",adjustment:.927},{value:"IA-IL - Davenport-Moline-Rock Is",adjustment:1},{value:"IA - Des Moines",adjustment:.899},{value:"IA - Dubuque",adjustment:.946},{value:"IA - Mason City",adjustment:.86},{value:"IA - Waterloo-Cedar Falls",adjustment:.957},{value:"KS - Dodge City",adjustment:.947},{value:"KS - Hutchinson",adjustment:.91},{value:"KS - Manhattan",adjustment:.906},{value:"KS - Topeka",adjustment:.923},{value:"KS - Wichita",adjustment:.908},{value:"KY - Bowling Green",adjustment:.891},{value:"KY - Covington",adjustment:.877},{value:"KY - Lexington",adjustment:.895},{value:"KY - Louisville",adjustment:.937},{value:"LA - Alexandria",adjustment:.999},{value:"LA - Baton Rouge",adjustment:.913},{value:"LA - Hammond",adjustment:.905},{value:"LA - Houma-Terrebonne Parish",adjustment:.965},{value:"LA - Thibodaux-Lafourche Parish",adjustment:.926},{value:"LA - Lafayette",adjustment:.927},{value:"LA - Lake Charles",adjustment:.95},{value:"LA - Monroe",adjustment:.94},{value:"LA - New Orleans",adjustment:.93},{value:"LA - Slidell - St Tammany Parish",adjustment:.953},{value:"LA - Shreveport-Bossier City",adjustment:.905},{value:"ME - Portland",adjustment:1.158},{value:"MD - Baltimore",adjustment:1.114},{value:"MD - Bethesda-Gaithersburg-Frederick",adjustment:1.29},{value:"MA - Boston",adjustment:1.403},{value:"MA - Pittsfield",adjustment:1.12},{value:"MI - Detroit",adjustment:.947},{value:"MI - Grand Rapids",adjustment:.93},{value:"MI - Kalamazoo",adjustment:.843},{value:"MI - Benton Harbor",adjustment:.916},{value:"MN - Mankato",adjustment:.953},{value:"MN - Minneapolis",adjustment:1.071},{value:"MS - Hattiesburg",adjustment:.84},{value:"MS - Tupelo",adjustment:.834},{value:"MO - Columbia",adjustment:.936},{value:"MO - Jefferson City",adjustment:.911},{value:"MO - Joplin",adjustment:.88},{value:"MO-KS - Kansas City",adjustment:.948},{value:"MO - Springfield",adjustment:.898},{value:"MT - Bozeman",adjustment:1.021},{value:"NE - Hastings",adjustment:.954},{value:"NE - Lincoln",adjustment:.926},{value:"NE - Omaha",adjustment:.918}
2,{value:"NV - Las Vegas",adjustment:1.077},{value:"NV - Reno-Sparks",adjustment:1.031},{value:"NH - Manchester",adjustment:1.117},{value:"NJ - Middlesex-Monmouth",adjustment:1.199},{value:"NJ - Newark-Elizabeth",adjustment:1.25},{value:"NJ - Bergen-Passaic",adjustment:1.278},{value:"NM - Rio Rancho",adjustment:.957},{value:"NM - Carlsbad",adjustment:.944},{value:"NM - Farmington",adjustment:.988},{value:"NM - Las Cruces",adjustment:.987},{value:"NM - Los Alamos",adjustment:1.075},{value:"NY - Albany",adjustment:1.129},{value:"NY - Buffalo",adjustment:.956},{value:"NY - Ithaca",adjustment:1.078},{value:"NY - Rochester",adjustment:1.015},{value:"NC - Burlington",adjustment:.914},{value:"NC - Charlotte",adjustment:.959},{value:"NC - Durham",adjustment:.909},{value:"NC - Dare County",adjustment:1.102},{value:"NC - Raleigh",adjustment:.928},{value:"NC - Thomasville-Lexington",adjustment:.907},{value:"NC - Wilmington",adjustment:.99},{value:"NC - Winston-Salem",adjustment:.96},{value:"ND - Bismarck-Mandan",adjustment:1.011},{value:"ND-MN - Fargo-Moorhead",adjustment:.96},{value:"ND - Minot",adjustment:1.031},{value:"OH - Akron",adjustment:1.035},{value:"OH - Ashland",adjustment:.83},{value:"OH - Cincinnati",adjustment:.912},{value:"OH - Cleveland",adjustment:1.015},{value:"OH - Columbus",adjustment:.892},{value:"OH - Dayton",adjustment:.95},{value:"OH - Findlay",adjustment:.971},{value:"OH - Lima",adjustment:.946},{value:"OH - Youngstown-Warren",adjustment:.82},{value:"OK - Ardmore",adjustment:.836},{value:"OK - Enid",adjustment:.943},{value:"OK - Lawton",adjustment:.923},{value:"OK - Muskogee",adjustment:.919},{value:"OK - Edmond",adjustment:.956},{value:"OK - Norman",adjustment:.828},{value:"OK - Oklahoma City",adjustment:.87},{value:"OK - Ponca City",adjustment:.896},{value:"OK - Stillwater",adjustment:.911},{value:"OK - Tulsa",adjustment:.854},{value:"OK - Pryor Creek",adjustment:.868},{value:"OR - Eugene",adjustment:1.082},{value:"OR - Klamath Falls",adjustment:.997},{value:"OR - Portland",adjustment:1.285},{value:"PA - Johnstown",adjustment:.942},{value:"PA - Philadelphia",adjustment:1.206},{value:"PA - Pittsburgh",adjustment:1.008},{value:"PA - York County",adjustment:1.011},{value:"RI - Providence",adjustment:1.233},{value:"SC - Anderson",adjustment:.952},{value:"SC - Charleston-N Charleston",adjustment:1.01},{value:"SC - Columbia",adjustment:.952},{value:"SC - Greenville",adjustment:.971},{value:"SC - Beaufort",adjustment:.995},{value:"SC - Myrtle Beach",adjustment:.928},{value:"SD - Pierre",adjustment:1.013},{value:"TN - Chattanooga",adjustment:.941},{value:"TN - Cleveland",adjustment:.883},{value:"TN - Cookeville",adjustment:.85},{value:"TN - Jackson-Madison County",adjustment:.931},{value:"TN - Knoxville",adjustment:.872},{value:"TN - Memphis",adjustment:.858},{value:"TN - Morristown",adjustment:.91},{value:"TN - Columbia-Maury County",adjustment:.951},{value:"TN - Nashville-Murfreesboro",adjustment:.937},{value:"TX - Abilene",adjustment:.938},{value:"TX - Amarillo",adjustment:.873},{value:"TX - Austin",adjustment:.954},{value:"TX - Round Rock",adjustment:.929},{value:"TX - Harlingen",adjustment:.797},{value:"TX - Corpus Christi",adjustment:.951},{value:"TX - Dallas",adjustment:.971},{value:"TX - Plano",adjustment:1.038},{value:"TX - El Paso",adjustment:.92},{value:"TX - Fort Worth",adjustment:1.015},{value:"TX - Brazoria County",adjustment:.923},{value:"TX - Conroe",adjustment:.913},{value:"TX - Houston",adjustment:.98},{value:"TX - Temple",adjustment:.882},{value:"TX - Longview",adjustment:1.004},{value:"TX - Lubbock",adjustment:.884},{value:"TX - McAllen",adjustment:.772},{value:"TX - Midland",adjustment:.963},{value:"TX - Nacogdoches",adjustment:.952},{value:"TX - Odessa",adjustment:.988},{value:"TX - San Antonio",adjustment:.875},{value:"TX - Seguin",adjustment:.898},{value:"TX - Sherman-Denison",adjustment:.859},{value:"TX-AR - Texarkana",adjustment:.951},{value:"TX - Tyler",adjustment:.931},{value:"TX - Waco",adjustment:.921},{value:"TX - Wichita Falls",adjustment:.865},{value:"UT - Cedar City",adjustment:.88},{value:"UT - Salt Lake City",adjustment:.976},{value:"VT - Burlington-Chittenden Co",adjustment:1.236},{value:"VT - Blacksburg",adjustment:.964},{value:"VA - Charlottesville",adjustment:1.029},{value:"VA - Danville City",adjustment:.995},{value:"VA - Harrisonburg",adjustment:.984},{value:"VA - Lynchburg",adjustment:.9},{value:"VA - Martinsville-Henry County",adjustment:.858},{value:"VA - Richmond",adjustment:.946},{value:"VA - Roanoke",adjustment:.906},{value:"VA - Staunton - Augusta County",adjustment:.937},{value:"VA - Hampton Roads-SE Virginia",adjustment:.974},{value:"VA-WV - Winchester",adjustment:1.003},{value:"VA - Lexington - Buena Vista - Rockbridge",adjustment:.957},{value:"WA - Bellingham",adjustment:1.133},{value:"WA - Kennewick-Richland-Pasco",adjustment:.923},{value:"WA - Moses Lake",adjustment:.918},{value:"WA - Mount Vernon-Skagit County",adjustment:1.083},{value:"WA - Olympia",adjustment:1.003},{value:"WA - Everett",adjustment:1.116},{value:"WA - Seattle",adjustment:1.331},{value:"WA - Spokane",adjustment:.917},{value:"WA - Tacoma",adjustment:1.032},{value:"WA - Yakima",adjustment:.952},{value:"WV - Charleston",adjustment:.944},{value:"WV - Morgantown",adjustment:1.048},{value:"WI - Eau Claire",adjustment:.989},{value:"WI - Fond du Lac",adjustment:.965},{value:"WI - Green Bay",adjustment:.942},{value:"WI - Janesville",adjustment:.979},{value:"WI - Madison",adjustment:1.053},{value:"WI - Milwaukee-Waukesha",adjustment:1.004},{value:"WI - Marshfield",adjustment:.912},{value:"WY - Laramie",adjustment:.927}],Dt=Mt.map((function(t){return t.value;})),Ht=["Only Elementary","Elementary and Middle","Elementary, Middle, High","Only Middle","Middle & High","Only High"],Bt=["A school year program",{value:"The summer portion of a year roun
2d program",help:"This refers to the costs spent to provide the summer portion of a year-round program. This calculator should not be used to estimate costs for stand-alone summer programs as they have different operating structures and thus different costs. For example, they have fewer days over which to spread fixed costs. For more information, The Center for Summer Learning is publishing a report on the cost of summer programs."}],qt=Bt.map((function(t){return "string"==typeof t?t:t.value;})),Wt=["Academic","Non-academic","Multiple","I don't know yet"],Rt=["Community Based Organization","A School","I don't know yet"],Vt=["In a School","In the Community","I don't know yet"],$t=["Youth: Staff ratio is less than 11:1","Youth: Staff ratio is between 11:1 & 15:1","Youth: Staff ratio higher than 15:1","I don't know yet"],Ft=function(t){if(t){var e=[!1,!1,!1,!1],n=[!1,!1,!1];return t.age<=2?("0"===t.time&&("0"===t.focus&&("0"===t.operator&&(e=[!1,!1,!1,!1]),"1"===t.operator&&(e=[!0,!1,!0,!0]),"2"===t.operator&&(e=[!1,!1,!0,!1])),"1"===t.focus&&("0"===t.operator&&(e=[!1,!1,!1,!1]),"1"===t.operator&&(e=[!0,!1,!0,!0]),"2"===t.operator&&(e=[!1,!1,!1,!1])),"2"===t.focus&&("0"===t.operator&&(e=[!1,!1,!0,!1]),"1"===t.operator&&(e=[!0,!0,!1,!0]),"2"===t.operator&&(e=[!1,!1,!0,!1])),"3"===t.focus&&("0"===t.operator&&(e=[!1,!1,!1,!1]),"1"===t.operator&&(e=[!0,!1,!0,!0]),"2"===t.operator&&(e=[!1,!1,!1,!1]))),"1"===t.time&&("0"===t.focus&&("0"===t.operator&&(e=[!1,!1,!0,!1]),"1"===t.operator&&(e=[!1,!1,!1,!1]),"2"===t.operator&&(e=[!1,!1,!0,!1])),"1"===t.focus&&("0"===t.operator&&(e=[!1,!1,!1,!1]),"1"===t.operator&&(e=[!1,!1,!1,!1]),"2"===t.operator&&(e=[!1,!1,!1,!1])),"2"===t.focus&&("0"===t.operator&&(e=[!1,!1,!0,!1]),"1"===t.operator&&(e=[!1,!1,!1,!1]),"2"===t.operator&&(e=[!1,!1,!0,!1])),"3"===t.focus&&("0"===t.operator&&(e=[!1,!1,!1,!1]),"1"===t.operator&&(e=[!1,!1,!1,!1]),"2"===t.operator&&(e=[!1,!1,!1,!1])))):("0"===t.time&&("0"===t.focus&&(e=[!1,!1,!1,!1]),"1"===t.focus&&(e=[!0,!0,!1,!0]),"2"===t.focus&&(e=[!1,!1,!1,!1]),"3"===t.focus&&(e=[!1,!1,!1,!1])),"1"===t.time&&("0"===t.focus&&(e=[!0,!0,!1,!0]),"1"===t.focus&&(e=[!0,!0,!1,!0]),"2"===t.focus&&(e=[!1,!1,!1,!1]),"3"===t.focus&&(e=[!1,!1,!1,!1])),t.slots>199&&(e=[!0,!0,!1,!0]),n[1]=!0),{ratioDisable:e,operatorDisable:n};}};function Kt(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1;}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(t){u=!0,r=t;}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return;}finally{if(u)throw r;}}return s;}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ut(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ut(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function Ut(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o;}const Qt=function(t){var e=Kt(t.formState,2),n=e[0],o=e[1];return q("div",{className:""},q(St,{title:"About You",subtitle:"1. What is your role?"},q(Tt,{placeholder:"select...",value:n.role,onChange:function(t){return o("role",t);},options:["Program director","Multi-site director","Program administrator (Finance/COO)","Lead teacher / Program manager","Aftershool professional (working directly with children and youth)","Parent","Policymaker","Intermediary leader","Other"]})),q(St,{title:"Age of Participants",subtitle:"2. What level of children will you serve?"},q(Pt,{value:n.age,name:"age",onChange:function(t){return o("age",t);},options:Ht})),q(St,{title:"Time of Program",subtitle:"3. Do you want to budget for:"},q(Pt,{value:n.time,name:"time",onChange:function(t){return o("time",t);},options:Bt}),q("span",null,"Why is there no year-round option?",q(Nt,null,"Because of the different c
2osts associated with a school year program and the summer portion of a year round program, we do not present an option for a year round program. If you would like to calculate the cost for a year round program, please go through the calculator twice -- once to determine the cost for your school year program and once to determine the cost for your summer program -- and add the results together."))),q(St,{title:"Program Focus",subtitle:"4. What will be the program focus?"},q(Pt,{value:n.focus,onChange:function(t){return o("focus",t);},options:Wt})));};function zt(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1;}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(t){u=!0,r=t;}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return;}finally{if(u)throw r;}}return s;}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Gt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gt(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function Gt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o;}const Yt=function(t){var e=zt(t.formState,2),n=e[0],o=e[1],r=Ft(n).operatorDisable;return q("div",{className:""},q(St,{title:"Program Location and Operator Type",subtitle:"5. What is the nearest metro area to you or the one that has a cost of living comparable to yours?"},q(Tt,{placeholder:"select...",value:n.location,onChange:function(t){return o("location",t);},options:Dt})),q(St,{title:"Operator Type",subtitle:"6. What sort of organization will run the program?"},q(Pt,{value:n.operator,onChange:function(t){return o("operator",t);},options:Rt,name:"operator",disabled:r})),q(St,{subtitle:"7. Where will the program be located?"},q(Pt,{value:n.located,name:"located",onChange:function(t){return o("located",t);},options:Vt})));};const Xt=function(t){var e=t.label,n=t.help,o=t.value,r=t.onChange,i=t.max;return q("div",{class:"flex flex-row justify-between items-center py-[4px]"},e&&q("span",null,e," ",n&&q(Nt,null,n)),q("input",{type:"number",max:i,min:1,onChange:function(t){return r(parseInt(t.target.value,10));},value:o,className:"border border-wallace-gray px-[12px] py-[8px] w-[100px]"}));};function Jt(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1;}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(t){u=!0,r=t;}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return;}finally{if(u)throw r;}}return s;}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Zt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zt(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function Zt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o;}const te=function(t){var e=Jt(t.formState,2),n=e[0],o=e[1],r=Ft(n).ratioDisable;return q("div",{className:""},q(St,{title:"Program Size"},q(Xt,{label:"8. How many slots will the program have?",help:'The number of "slots" a program has is equivalent to a program\'s average daily attendance. A program with 10 more "slots" has the capacity to serve ten more children every day. Slots may be filled by the same youth every day or by a different youth each day. This is a program decision enforced by attendance requirements.<br><br>Under certain program parameters, the number of slots you\'ve selected will have been changed to the highest number that our research sample supports.',value:n.slots,onChange:function(t){return o("slots",t);},max:2e3}),q(Xt,{label:"9. How many hours per week will the program run?",value:n.hours,onChange:function(t){return o("hours",t);},max:168}),q(Xt,{label:"10. How many weeks per year will the program run?",value:n.weeks,onChange:function(t){return o("weeks",t);},max:52})),q(St,{title:"Youth to Staff Ratio",subtitle:"11. What youth/staff ratio do you expect to have?"},q(Pt,{value:n.ratio,name:"ratio",onChange:function(t){return o("ratio",t);},options:$t,disabled:r})));};var ee=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return n.reduce((function(e,n){return n&&void 0!==n[t]?e+n[t]:e;}
2),0);},ne=function(t){var e=Math.floor(t).toLocaleString(),n=t.toFixed(2).split(".")[1];return "".concat(e,".").concat(n);};function oe(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1;}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(t){u=!0,r=t;}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return;}finally{if(u)throw r;}}return s;}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return re(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return re(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function re(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o;}const ie=function(t){var e=oe(t.formState,2),n=e[0],o=e[1],r=function(t){if(!t.age||!t.time)return {};try{var e=t.slots,n=1.37,o="0"===t.time&&"1"===t.operator?3:2,r=t.age<3?1:0,i="1"===t.time?1:0,a=(L=parseInt(t.slots||"0",10))<=99?0:L>=100&&L<=149?1:L>=150&&L<=199?2:L>=200&&L<=299?3:L>=300&&L<=399?4:5,s=function(){var e=parseInt(t.slots||"0",10);return e<=99?[1,99]:e>=100&&e<=149?[100,149]:e>=150&&e<=199?[150,199]:e>=200&&e<=299?[200,299]:e>=300&&e<=399?[300,399]:[400,2e3];}(),l=[[[5.753272,7.11712,19.27172],[5.519687,6.7845131,16.115413]],[[3.04,3.61,6.54],[2.58,3.31,4.9]]][r][i],u=t.age?[[[0,0,0],[0,0,0]],[[.73,1.89,1.84],[.13,-.09,.39]],[[1.51,2.62,3.05],[.47,.74,1.73]],[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]],[[.52,.7,5.95],[.52,.7,5.95]]][t.age][i]:null,c=t.focus?[[[[.34,1.72,.72],[.34,1.72,.72]],[[1.64,.02,1.53],[1.75,.29,-1.68]]],[[[2.19,2.48,3.44],[2.19,2.48,3.44]],[[.89,.49,-.07],[0,-.77,-1.86]]],[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]],[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]][t.focus][r][i]:null,d=t.located?[[[[.14,-2.17,-4.83],[.14,-2.17,-4.83]],[[-1.86,-.97,-2.72],[.36,-1.23,.22]]],[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]],[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]][t.located][r][i]:null,p=t.ratio?[[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]],[[[.15,.47,-7.48],[.15,.47,-7.48]],[[1.45,.83,-1.47],[.3,-1.08,-1.47]]],[[[.84,-.43,-10.65],[.84,-.43,-10.65]],[[-1.42,2.97,1.52],[-.01,-2.07,-3.53]]]][t.ratio][r][i]:null,h=t.operator?[[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]],[[[],[]],[[-.45,-1.12,-1.94],[.05,.27,-2.55]]],[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]]][t.operator][r][i]:null,f=t.slots?[[[[0,0,0],[0,0,0]],[[0,0,0],[0,0,0]]],[[[0,0,0],[0,0,0]],[[-.45,1.19,.77],[-.41,.67,.77]]],[[[-2.43,-2.43,1.23],[-2.43,-2.43,1.23]],[[-.45,1.19,.77],[-.41,.67,.77]]],[[[-2.43,-2.43,1.23],[-2.43,-2.43,1.23]],[[-1.66,-1.21,-1.09],[-1.64,-.44,-2.89]]],[[[-1.32,-2.9,-6.12],[-1.32,-2.9,-6.12]],[[.58,.64,.98],[-.63,-.1,-1.41]]],[[[-1.32,-2.9,-6.12],[-1.32,-2.9,-6.12]],[[-1.32,-2.28,0],[-.22,-1.87,-3.84]]]][a][r][i]:null,m=t.slots?[[[-.0219497,-.0146828,-.0531695],[-.0219497,-.0146828,-.0531695]],[[-.0132788,.0247095,.0363246],[-.0129555,.019,.016363]]][r][i]:null,v=t.youth?99:150,g=t.location?Mt[t.location].adjustment:1,y=ee(0,u,c,d,p,h,f),_=ee(1,u,c,d,p,h,f),b=ee(2,u,c,d,p,h,f),w=m[0]*((e-s[0])%v),j=m[1]*((e-s[0])%v),E=m[2]*((e-s[0])%v),x=Math.max(o,l[0]+y+w),k=Math.max(o,l[1]+_+j),A=Math.max(o,l[2]+b+E);return x>k&&(k=x),k>A&&(A=k),{age:u,focus:c,location:d,operator:h,located:g,ratio:p,low:x=x*g*n,median:k=k*g*n,high:A=A*g*n,weeklySlot:{low:ne(x*t.hours),median:ne(k*t.hours),high:ne(A*t.hours)},weeklyTotal:{low:ne(x*t.hours*t.slots),median:ne(k*t.hours*t.slots),high:ne(A*t.hours*t.slots)},annualSlot:{low:ne(x*t.hours*t.weeks),median:ne(k*t.hours*t.weeks),high:ne(A*t.hours*t.weeks)},annualTotal:{low:ne(x*t.hours*t.weeks*t.slots),median:ne(k*t.hours*t.weeks*t.slots),high:ne(A*t.hours*t.weeks*t.slots)},hourlySlot:{low:ne(x),median:ne(k),high:ne(A)}
2,hourlyTotal:{low:ne(x*t.slots),median:ne(k*t.slots),high:ne(A*t.slots)},dailySlot:{low:ne(x*ne(t.hours/t.days)),median:ne(k*ne(t.hours/t.days)),high:ne(A*ne(t.hours/t.days))},dailyTotal:{low:ne(x*ne(t.hours/t.days)*t.slots),median:ne(k*ne(t.hours/t.days)*t.slots),high:ne(A*ne(t.hours/t.days)*t.slots)},monthlySlot:{low:ne(x*t.hours*4.33),median:ne(k*t.hours*4.33),high:ne(A*t.hours*4.33)},monthlyTotal:{low:ne(x*t.hours*t.slots*4.33),median:ne(k*t.hours*t.slots*4.33),high:ne(A*t.hours*t.slots*4.33)}};}catch(t){return console.error(t),{};}var L;}(n),i=Ft(n),a=i.ratioDisable,s=i.operatorDisable;return q("div",{className:""},q(St,{title:"Your Program Parameters"},q("span",null,"The boxes below contain your entries from the previous steps. You may adjust them below."),q("div",{className:"grid grid-cols-2 gap-[8px] mt-[10px]"},q(Tt,{value:n.age,onChange:function(t){return o("age",t);},options:Ht}),q(Tt,{placeholder:"select...",value:n.location,onChange:function(t){return o("location",t);},options:Dt}),q(Tt,{value:n.time,onChange:function(t){return o("time",t);},options:qt}),q(Tt,{value:n.focus,onChange:function(t){return o("focus",t);},options:Wt}),q(Tt,{value:n.operator,onChange:function(t){return o("operator",t);},options:Rt,disabled:s}),q("div",{className:"flex flex-row items-center justify-between px-[16px] border border-wallace-gray"},q("span",{className:"font-medium"},"Number of Slots"),q(Xt,{value:n.slots,onChange:function(t){return o("slots",t);},max:2e3})),q(Tt,{value:n.located,onChange:function(t){return o("located",t);},options:Vt}),q(Tt,{value:n.ratio,onChange:function(t){return o("ratio",t);},options:$t,disabled:a}))),q(St,{title:"Your Calculation Results"},q("div",{className:"font-semibold text-[14px] py-[20px]"},"Remember:do not navigate elsewhere in the site without saving the page. Your responses will not be saved in the calculator iteself."),q("table",{className:"w-full table table-fixed"},q("tr",null,q("td",{className:"p-[8px] w-[60%]"},"Cost Ranges",q(Nt,null,"The presented ranges are the estimated 25% and 75% percentile cost. If you order all the programs of a given type by cost, these figures represent the costs of the 25th and 75th percentiles programs (e.g., starting with the cheapest program, if there were 200 programs total, the 25th percentile cost would be program number 50 and the 75th percentile cost would be program number 150).")),q("td",null,"Low"),q("td",null,"Median",q(Nt,null,"If you order all the programs of a given type by their costs, the cost midpoint or median represents the cost of the program in the exact middle (e.g., program number 100 out of 200 programs). In other words, half of the programs have lower costs than the midpoint, and half have higher costs.")),q("td",null,"High")),q("tr",null,q("td",{colspan:"4",className:"bg-wallace-blue p-[8px] text-white"},"WEEKLY costs")),q("tr",null,q("td",{colspan:"4"},q("div",{class:"flex flex-row justify-between p-[8px] bg-wallace-lighttintedblue items-center"},q("span",null,"Hours per Week (projected)"),q(Xt,{max:168,value:n.hours,onChange:function(t){return o("hours",t);}})))),q("tr",null,q("td",{className:"p-[8px] font-semibold"},"Costs Per Slot"),q("td",{className:"p-[8px]"},"$",r.low?r.weeklySlot.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.weeklySlot.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.weeklySlot.high:0)),q("tr",{className:"bg-wallace-lighttintedblue"},q("td",{className:"p-[8px] font-semibold"},"Total Program Cost"),q("td",{className:"p-[8px]"},"$",r.low?r.weeklyTotal.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.weeklyTotal.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.weeklyTotal.high:0)),q("tr",null,q("td",{colspan:"4",className:"p-[8px]"},"Cost per SLOT vs Cost per CHILD SERVED",q(Nt,null,'The number of "slots" a program has is equivalent to a program\'s average daily attendance. A program with 10 more "slots" has the capacity to serve ten more children every day. Slots may be filled by the same youth every day or by a different youth each day. This is a program decision enforced by attendance requirements.',q("br",null),q("br",null),"To calculate ",q("strong",null,"cost per child served")," (as opposed to cost per slot), ",q("strong",null,"divide the total program cost")," by the number of unique individuals attending the program."))),q("tr",null,q("td",{colspan:"4",className:"bg-wallace-blue p-[8px] text-white"},"ANNUAL costs")),q("tr",null,q("td",{colspan:"4"},q("div",{class:"flex flex-row justify-between p-[8px] bg-wallace-lighttintedblue items-center"},q("span",null,"Weeks per Year (projected)"),q(Xt,{max:52,value:n.weeks,onChange:function(t){return o("weeks",t);}})))),q("tr",null,q("td",{className:"p-[8px] font-semibold"},"Costs Per Slot"),q("td",{className:"p-[8px]"},"$",r.low?r.annualSlot.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.annualSlot.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.annualSlot.high:0)),q("tr",{className:"bg-wallace-lighttintedblue"},q("td",{className:"p-[8px] font-semibold"},"Total Program Cost"),q("td",{className:"p-[8px]"},"$",r.low?r.annualTotal.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.annualTotal.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.annualTotal.high:0)),q("tr",null,q("td",{colspan:"4",className:"bg-wallace-blue p-[8px] text-white"},"HOURLY costs")),q("tr",null,q("td",{className:"p-[8px] font-semibold"},"Costs Per Slot"),q("td",{className:"p-[8px]"},"$",r.low?r.hourlySlot.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.hourlySlot.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.hourlySlot.high:0)),q("tr",{className:"bg-wallace-lighttintedblue"},q("td",{className:"p-[8px] font-semibold"},"Total Program Cost"),q("td",{className:"p-[8px]"},"$",r.low?r.hourlyTotal.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.hourlyTotal.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.hourlyTotal.high:0)),q("tr",null,q("td",{colspan:"4",className:"bg-wallace-blue p-[8px] text-white"},"Daily costs")),q("tr",null,q("td",{colspan:"4"},q("div",{class:"flex flex-row justify-between p-[8px] bg-wallace-lighttintedblue items-center"},q("span",null,"Days per Week (projected)"),q(Xt,{max:7,value:n.days,onChange:function(t){return o("days",t);}})))),q("tr",null,q("td",{className:"p-[8px] font-semibold"},"Costs Per Slot"),q("td",{className:"p-[8px]"},"$",r.low?r.dailySlot.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.dailySlot.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.dailySlot.high:0)),q("tr",{className:"bg-wallace-lighttintedblue"},q("td",{className:"p-[8px] font-semibold"},"Total Program Cost"),q("td",{className:"p-[8px]"},"$",r.low?r.dailyTotal.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.dailyTotal.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.dailyTotal.high:0)),q("tr",null,q("td",{colspan:"4",className:"bg-wallace-blue p-[8px] text-white"},"MONTHLY costs (assuming 4.33 weeks/month)")),q("tr",null,q("td",{className:"p-[8px] font-semibold"},"Costs Per Slot"),q("td",{className:"p-[8px]"},"$",r.low?r.monthlySlot.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.monthlySlot.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.monthlySlot.high:0)),q("tr",{className:"bg-wallace-lighttintedblue"},q("td",{className:"p-[8px] font-semibold"},"Total Program Cost"),q("td",{className:"p-[8px]"},"$",r.low?r.monthlyTotal.low:0),q("td",{className:"p-[8px]"},"$",r.median?r.monthlyTotal.median:0),q("td",{className:"p-[8px]"},"$",r.high?r.monthlyTotal.high:0)))));};function ae(t){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},ae(t);}function se(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;}))),n.push.apply(n,o);}return n;}function le(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?se(Object(n),!0).forEach((function(e){ue(t,e,n[e]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):se(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));}));}return t;}function ue(t,e,n){return (e=function(t){var e=function(t,e){if("object"!==ae(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==ae(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===e?String:Number)(t);}(t,"string");return "symbol"===ae(e)?e:String(e);}(e)) in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}function ce(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1;}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(t){u=!0,r=t;}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return;}finally{if(u)throw r;}}return s;}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return de(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return de(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function de(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o;}var pe=function(t){var e=t.selected,n=t.disabled,o=t.label,r=t.onClick;return q("button",{className:"flex-grow text-center \n border-b-[4px]\n py-[12px]\n font-medium\n disabled:text-wallace-midgray\n hover:enabled:border-b-wallace-lightgray\n transition-all\n mb-[-1px]\n ".concat(e?"border-b-wallace-orange":"border-b-transparent"),"aria-selected":e?"true":"false",disabled:n,onClick:r},o);};const he=function(){var t=ce(wt(0),2),e=t[0],n=t[1],o=ce(wt({slots:1,hours:1,weeks:1,days:1}),2),r=o[0],i=o[1],a=function(t,e){return pt=8,jt((function(){return t;}),e);}((function(t,e){i(le(le({},r),{},ue({},t,e)));}),[r]),s=[r,a],l=(r.role&&r.age&&r.time&&r.focus?1:0)+(r.location&&r.operator&&r.located?1:0)+(r.ratio?1:0);return q("div",{className:"area"},q("div",{className:"flex w-full flex-row justify-stretch border-b border-wallace-gray"},q(pe,{selected:0===e,onClick:function(){return n(0);},label:"Program Goals"}),q("div",{class:"w-[1px] h-[40px] bg-wallace-gray flex-shrink-0"}),q(pe,{selected:1===e,disabled:l<1,onClick:function(){return n(1);},label:"Implementation"}),q("div",{class:"w-[1px] h-[40px] bg-wallace-gray flex-shrink-0"}),q(pe,{selected:2===e,disabled:l<2,onClick:function(){return n(2);},label:"Size & Staffing"}),q("div",{class:"w-[1px] h-[40px] bg-wallace-gray flex-shrink-0"}),q(pe,{selected:3===e,disabled:l<3,onClick:function(){return n(3);},label:"Results"})),q("div",null,0===e&&q(Qt,{formState:s}),1===e&&q(Yt,{formState:s}),2===e&&q(te,{formState:s}),3===e&&q(ie,{formState:s})),q("span",{className:"py-[10px] flex flex-row gap-[20px] justify-between items-center"},"Reminder: all questions are required. You cannot proceed to the next step before you complete the current page.",q("div",{className:"flex flex-row gap-[20px]"},e>0&&q("button",{className:"button",onClick:function(){return n(e-1);}},"Previous"),3!==e&&q("button",{className:"button",disabled:l<=e,onClick:function(){return n(e+1);}},"Next"))));};function fe(t,e){return function(t){if(Array.isArray(t))return t;}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,r,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1;}else for(;!(l=(o=i.call(n)).done)&&(s.push(o.value),s.length!==e);l=!0);}catch(t){u=!0,r=t;}
2finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return;}finally{if(u)throw r;}}return s;}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return me(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return me(t,e);}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");}();}function me(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o;}const ve=function(t){var e=fe(wt(!1),2),n=e[0],o=e[1];return q("div",{className:"group/image relative"},q("img",t),q("div",{name:"Show Fullscreen",className:"absolute right-[8px] top-[8px] flex gap-[4px] rounded-md bg-black/40 p-[4px] opacity-0 transition-all duration-500 group-focus-within/image:opacity-100 group-hover/image:opacity-100"},q("button",{title:"Show full size","aria-label":"Show full size",className:"rounded-md bg-transparent p-[8px] transition-all hover:bg-black/40 focus:bg-black/40",onClick:function(){return o(!n);}},q("svg",{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg"},q("path",{d:"M4,12l0,-8l7,0 M20,4l8,0l0,8 M4,20l0,8l8,0 M20,28l8,0l0,-8",stroke:"white","stroke-width":"4",fill:"none",transform:"scale(0.75,0.75)"}))),q("a",{title:"Download Image","aria-label":"Download Image",className:"inline-block rounded-md bg-transparent p-[8px] transition-all hover:bg-black/40 focus:bg-black/40",download:t.src.split("/").reverse()[0],href:t.src},q("svg",{width:"24",height:"24"},q("path",{d:"M11,0l0,15 M3,8,l8,8 l8,-8 M4,20l14,0",stroke:"white","stroke-width":"3",fill:"none"})))),q("dialog",{className:"fixed inset-0 z-50 hidden h-full w-full items-center justify-center bg-black/30 opacity-0 transition-all open:flex open:opacity-100",open:n,onClick:function(){return o(!1);}},q("img",{src:t.src,alt:t.alt,className:"relative z-50 max-h-[98vh] max-w-[98vw] shadow-lg"})));};function ge(t){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t;}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t;},ge(t);}function ye(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable;}))),n.push.apply(n,o);}return n;}function _e(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ye(Object(n),!0).forEach((function(e){be(t,e,n[e]);})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e));}));}return t;}function be(t,e,n){return (e=function(t){var e=function(t,e){if("object"!==ge(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==ge(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.");}return ("string"===e?String:Number)(t);}(t,"string");return "symbol"===ge(e)?e:String(e);}(e)) in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;}var we=function(t,e){setTimeout((function(){var n,o=e.parentNode,r=q(t,(n=e.attributes,Array.from(n).reduce((function(t,e){return _e(_e({},t),{},be({},e.name,e.value));}),{})));st(r,o),o.removeChild(e);}));};window.addEventListener("load",(function(){document.querySelectorAll("img.show-controls").forEach((function(t){return we(ve,t);}));}));var je={CostCalculator:he};window.addEventListener("load",(function(){document.querySelectorAll("[data-preact-component]").forEach((function(t){var e=t.getAttribute("data-preact-component"),n=je[e];n&&we(n,t);}));}));n(125),n(421),n(351),n(779),n(781),n(723);const Ee=function(){function t(t,e){void 0===e&&(e=[]),this._eventType=t,this._eventFunctions=e;}return t.prototype.init=function(){var t=this;this._eventFunctions.forEach((function(e){"undefined"!=typeof window&&window.addEventListener(t._eventType,e);}));},t;}();var xe=function(){return xe=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},xe.apply(this,arguments);},ke={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},Ae=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=ke),this._items=t,this._options=xe(xe({},ke),e),this._init();}return t.prototype._init=function(){var t=this;this._items.length&&this._items.map((function(e){e.active&&t.open(e.id),e.triggerEl.addEventListener("click",(function(){t.toggle(e.id);}));}));},t.prototype.getItem=function(t){return this._items.filter((function(e){return e.id===t;}))[0];},t.prototype.open=function(t){var e,n,o=this,r=this.getItem(t);this._options.alwaysOpen||this._items.map((function(t){var e,n;t!==r&&((e=t.triggerEl.classList).remove.apply(e,o._options.activeClasses.split(" ")),(n=t.triggerEl.classList).add.apply(n,o._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-expanded","fal
2se"),t.active=!1,t.iconEl&&t.iconEl.classList.remove("rotate-180"));})),(e=r.triggerEl.classList).add.apply(e,this._options.activeClasses.split(" ")),(n=r.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-expanded","true"),r.targetEl.classList.remove("hidden"),r.active=!0,r.iconEl&&r.iconEl.classList.add("rotate-180"),this._options.onOpen(this,r);},t.prototype.toggle=function(t){var e=this.getItem(t);e.active?this.close(t):this.open(t),this._options.onToggle(this,e);},t.prototype.close=function(t){var e,n,o=this.getItem(t);(e=o.triggerEl.classList).remove.apply(e,this._options.activeClasses.split(" ")),(n=o.triggerEl.classList).add.apply(n,this._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"),this._options.onClose(this,o);},t;}();"undefined"!=typeof window&&(window.Accordion=Ae);var Le=function(){return Le=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},Le.apply(this,arguments);},Ce={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},Oe=function(){function t(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=Ce),this._targetEl=t,this._triggerEl=e,this._options=Le(Le({},Ce),n),this._visible=!1,this._init();}return t.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible="true"===this._triggerEl.getAttribute("aria-expanded"):this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",(function(){t.toggle();})));},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this);},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this);},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this);},t;}();"undefined"!=typeof window&&(window.Collapse=Oe);var Se=function(){return Se=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},Se.apply(this,arguments);},Te={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},Ne=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=Te),this._items=t,this._options=Se(Se(Se({},Te),e),{indicators:Se(Se({},Te.indicators),e.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init();}return t.prototype._init=function(){var t=this;
2this._items.map((function(t){t.el.classList.add("absolute","inset-0","transition-transform","transform");})),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map((function(e,n){e.el.addEventListener("click",(function(){t.slideTo(n);}));}));},t.prototype.getItem=function(t){return this._items[t];},t.prototype.slideTo=function(t){var e=this._items[t],n={left:0===e.position?this._items[this._items.length-1]:this._items[e.position-1],middle:e,right:e.position===this._items.length-1?this._items[0]:this._items[e.position+1]};this._rotate(n),this._setActiveItem(e),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this);},t.prototype.next=function(){var t=this._getActiveItem(),e=null;e=t.position===this._items.length-1?this._items[0]:this._items[t.position+1],this.slideTo(e.position),this._options.onNext(this);},t.prototype.prev=function(){var t=this._getActiveItem(),e=null;e=0===t.position?this._items[this._items.length-1]:this._items[t.position-1],this.slideTo(e.position),this._options.onPrev(this);},t.prototype._rotate=function(t){this._items.map((function(t){t.el.classList.add("hidden");})),t.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.left.el.classList.add("-translate-x-full","z-10"),t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),t.middle.el.classList.add("translate-x-0","z-20"),t.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.right.el.classList.add("translate-x-full","z-10");},t.prototype.cycle=function(){var t=this;"undefined"!=typeof window&&(this._intervalInstance=window.setInterval((function(){t.next();}),this._intervalDuration));},t.prototype.pause=function(){clearInterval(this._intervalInstance);},t.prototype._getActiveItem=function(){return this._activeItem;},t.prototype._setActiveItem=function(t){var e,n,o=this;this._activeItem=t;var r=t.position;this._indicators.length&&(this._indicators.map((function(t){var e,n;t.el.setAttribute("aria-current","false"),(e=t.el.classList).remove.apply(e,o._options.indicators.activeClasses.split(" ")),(n=t.el.classList).add.apply(n,o._options.indicators.inactiveClasses.split(" "));})),(e=this._indicators[r].el.classList).add.apply(e,this._options.indicators.activeClasses.split(" ")),(n=this._indicators[r].el.classList).remove.apply(n,this._options.indicators.inactiveClasses.split(" ")),this._indicators[r].el.setAttribute("aria-current","true"));},t;}();"undefined"!=typeof window&&(window.Carousel=Ne);var Ie=function(){return Ie=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},Ie.apply(this,arguments);},Pe={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},Me=function(){function t(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=Pe),this._targetEl=t,this._triggerEl=e,this._options=Ie(Ie({},Pe),n),this._init();}return t.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",(function(){t.hide();}));},t.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout((function(){t._targetEl.classList.add("hidden");}),this._options.duration),this._options.onHide(this,this._targetEl);},t;}();"undefined"!=typeof window&&(window.Dismiss=Me);function De(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window;}return t;}function He(t){return t instanceof De(t).Element||t instanceof Element;}function Be(t){return t instanceof De(t).HTMLElement||t instanceof HTMLElement;}function qe(t){return "undefined"!=typeof ShadowRoot&&(t instanceof De(t).ShadowRoot||t instanceof ShadowRoot);}var We=Math.max,Re=Math.min,Ve=Math.round;function $e(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version;})).join(" "):navigator.userAgent;}function Fe(){return !/^((?!chrome|android).)*safari/i.test($e());}function Ke(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var o=t.getBoundingClientRect(),r=1,i=1;e&&Be(t)&&(r=t.offsetWidth>0&&Ve(o.width)/t.offsetWidth||1,i=t.offsetHeight>0&&Ve(o.height)/t.offsetHeight||1);
2var a=(He(t)?De(t):window).visualViewport,s=!Fe()&&n,l=(o.left+(s&&a?a.offsetLeft:0))/r,u=(o.top+(s&&a?a.offsetTop:0))/i,c=o.width/r,d=o.height/i;return {width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u};}function Ue(t){var e=De(t);return {scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset};}function Qe(t){return t?(t.nodeName||"").toLowerCase():null;}function ze(t){return ((He(t)?t.ownerDocument:t.document)||window.document).documentElement;}function Ge(t){return Ke(ze(t)).left+Ue(t).scrollLeft;}function Ye(t){return De(t).getComputedStyle(t);}function Xe(t){var e=Ye(t),n=e.overflow,o=e.overflowX,r=e.overflowY;return /auto|scroll|overlay|hidden/.test(n+r+o);}function Je(t,e,n){void 0===n&&(n=!1);var o,r,i=Be(e),a=Be(e)&&function(t){var e=t.getBoundingClientRect(),n=Ve(e.width)/t.offsetWidth||1,o=Ve(e.height)/t.offsetHeight||1;return 1!==n||1!==o;}(e),s=ze(e),l=Ke(t,a,n),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return (i||!i&&!n)&&(("body"!==Qe(e)||Xe(s))&&(u=(o=e)!==De(o)&&Be(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:Ue(o)),Be(e)?((c=Ke(e,!0)).x+=e.clientLeft,c.y+=e.clientTop):s&&(c.x=Ge(s))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height};}function Ze(t){var e=Ke(t),n=t.offsetWidth,o=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-o)<=1&&(o=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:o};}function tn(t){return "html"===Qe(t)?t:t.assignedSlot||t.parentNode||(qe(t)?t.host:null)||ze(t);}function en(t){return ["html","body","#document"].indexOf(Qe(t))>=0?t.ownerDocument.body:Be(t)&&Xe(t)?t:en(tn(t));}function nn(t,e){var n;void 0===e&&(e=[]);var o=en(t),r=o===(null==(n=t.ownerDocument)?void 0:n.body),i=De(o),a=r?[i].concat(i.visualViewport||[],Xe(o)?o:[]):o,s=e.concat(a);return r?s:s.concat(nn(tn(a)));}function on(t){return ["table","td","th"].indexOf(Qe(t))>=0;}function rn(t){return Be(t)&&"fixed"!==Ye(t).position?t.offsetParent:null;}function an(t){for(var e=De(t),n=rn(t);n&&on(n)&&"static"===Ye(n).position;)n=rn(n);return n&&("html"===Qe(n)||"body"===Qe(n)&&"static"===Ye(n).position)?e:n||function(t){var e=/firefox/i.test($e());if(/Trident/i.test($e())&&Be(t)&&"fixed"===Ye(t).position)return null;var n=tn(t);for(qe(n)&&(n=n.host);Be(n)&&["html","body"].indexOf(Qe(n))<0;){var o=Ye(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||e&&"filter"===o.willChange||e&&o.filter&&"none"!==o.filter)return n;n=n.parentNode;}return null;}(t)||e;}var sn="top",ln="bottom",un="right",cn="left",dn="auto",pn=[sn,ln,un,cn],hn="start",fn="end",mn="clippingParents",vn="viewport",gn="popper",yn="reference",_n=pn.reduce((function(t,e){return t.concat([e+"-"+hn,e+"-"+fn]);}),[]),bn=[].concat(pn,[dn]).reduce((function(t,e){return t.concat([e,e+"-"+hn,e+"-"+fn]);}),[]),wn=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function jn(t){var e=new Map(),n=new Set(),o=[];function r(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var o=e.get(t);o&&r(o);}})),o.push(t);}return t.forEach((function(t){e.set(t.name,t);})),t.forEach((function(t){n.has(t.name)||r(t);})),o;}var En={placement:"bottom",modifiers:[],strategy:"absolute"};function xn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return !e.some((function(t){return !(t&&"function"==typeof t.getBoundingClientRect);}));}function kn(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,o=void 0===n?[]:n,r=e.defaultOptions,i=void 0===r?En:r;return function(t,e,n){void 0===n&&(n=i);var r,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},En,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],u=!1,c={state:s,setOptions:function(n){var r="function"==typeof n?n(s.options):n;d(),s.options=Object.assign({},i,s.options,r),s.scrollParents={reference:He(t)?nn(t):t.contextElement?nn(t.contextElement):[],popper:nn(e)};var a=function(t){var e=jn(t);return wn.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n;})));}),[]);}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t;}),{});return Object.keys(e).map((function(t){return e[t];}));}([].concat(o,s.options.modifiers)));return s.orderedModifiers=a.filter((function(t){return t.enabled;}
2)),s.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,o=void 0===n?{}:n,r=t.effect;if("function"==typeof r){var i=r({state:s,name:e,instance:c,options:o}),a=function(){};l.push(i||a);}})),c.update();},forceUpdate:function(){if(!u){var t=s.elements,e=t.reference,n=t.popper;if(xn(e,n)){s.rects={reference:Je(e,an(n),"fixed"===s.options.strategy),popper:Ze(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data);}));for(var o=0;o<s.orderedModifiers.length;o++)if(!0!==s.reset){var r=s.orderedModifiers[o],i=r.fn,a=r.options,l=void 0===a?{}:a,d=r.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:c})||s);}else s.reset=!1,o=-1;}}},update:(r=function(){return new Promise((function(t){c.forceUpdate(),t(s);}));},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(r());}));}))),a;}),destroy:function(){d(),u=!0;}};if(!xn(t,e))return c;function d(){l.forEach((function(t){return t();})),l=[];}return c.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t);})),c;};}var An={passive:!0};function Ln(t){return t.split("-")[0];}function Cn(t){return t.split("-")[1];}function On(t){return ["top","bottom"].indexOf(t)>=0?"x":"y";}function Sn(t){var e,n=t.reference,o=t.element,r=t.placement,i=r?Ln(r):null,a=r?Cn(r):null,s=n.x+n.width/2-o.width/2,l=n.y+n.height/2-o.height/2;switch(i){case sn:e={x:s,y:n.y-o.height};break;case ln:e={x:s,y:n.y+n.height};break;case un:e={x:n.x+n.width,y:l};break;case cn:e={x:n.x-o.width,y:l};break;default:e={x:n.x,y:n.y};}var u=i?On(i):null;if(null!=u){var c="y"===u?"height":"width";switch(a){case hn:e[u]=e[u]-(n[c]/2-o[c]/2);break;case fn:e[u]=e[u]+(n[c]/2-o[c]/2);}}return e;}var Tn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nn(t){var e,n=t.popper,o=t.popperRect,r=t.placement,i=t.variation,a=t.offsets,s=t.position,l=t.gpuAcceleration,u=t.adaptive,c=t.roundOffsets,d=t.isFixed,p=a.x,h=void 0===p?0:p,f=a.y,m=void 0===f?0:f,v="function"==typeof c?c({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),_=cn,b=sn,w=window;if(u){var j=an(n),E="clientHeight",x="clientWidth";if(j===De(n)&&"static"!==Ye(j=ze(n)).position&&"absolute"===s&&(E="scrollHeight",x="scrollWidth"),r===sn||(r===cn||r===un)&&i===fn)b=ln,m-=(d&&j===w&&w.visualViewport?w.visualViewport.height:j[E])-o.height,m*=l?1:-1;if(r===cn||(r===sn||r===ln)&&i===fn)_=un,h-=(d&&j===w&&w.visualViewport?w.visualViewport.width:j[x])-o.width,h*=l?1:-1;}var k,A=Object.assign({position:s},u&&Tn),L=!0===c?function(t,e){var n=t.x,o=t.y,r=e.devicePixelRatio||1;return {x:Ve(n*r)/r||0,y:Ve(o*r)/r||0};}({x:h,y:m},De(n)):{x:h,y:m};return h=L.x,m=L.y,l?Object.assign({},A,((k={})[b]=y?"0":"",k[_]=g?"0":"",k.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},A,((e={})[b]=y?m+"px":"",e[_]=g?h+"px":"",e.transform="",e));}const In={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,o=t.name,r=n.offset,i=void 0===r?[0,0]:r,a=bn.reduce((function(t,n){return t[n]=function(t,e,n){var o=Ln(t),r=[cn,sn].indexOf(o)>=0?-1:1,i="function"==typeof n?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[cn,un].indexOf(o)>=0?{x:s,y:a}:{x:a,y:s};}(n,e.rects,i),t;}),{}),s=a[e.placement],l=s.x,u=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=u),e.modifiersData[o]=a;}};var Pn={left:"right",right:"left",bottom:"top",top:"bottom"};function Mn(t){return t.replace(/left|right|bottom|top/g,(function(t){return Pn[t];}));}var Dn={start:"end",end:"start"};function Hn(t){return t.replace(/start|end/g,(function(t){return Dn[t];}));}function Bn(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return !0;if(n&&qe(n)){var o=e;do{if(o&&t.isSameNode(o))return !0;o=o.parentNode||o.host;}while(o);}return !1;}function qn(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height});}function Wn(t,e,n){return e===vn?qn(function(t,e){var n=De(t),o=ze(t),r=n.visualVie
vendor: 5,653 bytes, line 2
2wport,i=o.clientWidth,a=o.clientHeight,s=0,l=0;if(r){i=r.width,a=r.height;var u=Fe();(u||!u&&"fixed"===e)&&(s=r.offsetLeft,l=r.offsetTop);}return {width:i,height:a,x:s+Ge(t),y:l};}(t,n)):He(e)?function(t,e){var n=Ke(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n;}(e,n):qn(function(t){var e,n=ze(t),o=Ue(t),r=null==(e=t.ownerDocument)?void 0:e.body,i=We(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=We(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-o.scrollLeft+Ge(t),l=-o.scrollTop;return "rtl"===Ye(r||n).direction&&(s+=We(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:l};}(ze(t)));}function Rn(t,e,n,o){var r="clippingParents"===e?function(t){var e=nn(tn(t)),n=["absolute","fixed"].indexOf(Ye(t).position)>=0&&Be(t)?an(t):t;return He(n)?e.filter((function(t){return He(t)&&Bn(t,n)&&"body"!==Qe(t);})):[];}(t):[].concat(e),i=[].concat(r,[n]),a=i[0],s=i.reduce((function(e,n){var r=Wn(t,n,o);return e.top=We(r.top,e.top),e.right=Re(r.right,e.right),e.bottom=Re(r.bottom,e.bottom),e.left=We(r.left,e.left),e;}),Wn(t,a,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s;}function Vn(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t);}function $n(t,e){return e.reduce((function(e,n){return e[n]=t,e;}),{});}function Fn(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=void 0===o?t.placement:o,i=n.strategy,a=void 0===i?t.strategy:i,s=n.boundary,l=void 0===s?mn:s,u=n.rootBoundary,c=void 0===u?vn:u,d=n.elementContext,p=void 0===d?gn:d,h=n.altBoundary,f=void 0!==h&&h,m=n.padding,v=void 0===m?0:m,g=Vn("number"!=typeof v?v:$n(v,pn)),y=p===gn?yn:gn,_=t.rects.popper,b=t.elements[f?y:p],w=Rn(He(b)?b:b.contextElement||ze(t.elements.popper),l,c,a),j=Ke(t.elements.reference),E=Sn({reference:j,element:_,strategy:"absolute",placement:r}),x=qn(Object.assign({},_,E)),k=p===gn?x:j,A={top:w.top-k.top+g.top,bottom:k.bottom-w.bottom+g.bottom,left:w.left-k.left+g.left,right:k.right-w.right+g.right},L=t.modifiersData.offset;if(p===gn&&L){var C=L[r];Object.keys(A).forEach((function(t){var e=[un,ln].indexOf(t)>=0?1:-1,n=[sn,ln].indexOf(t)>=0?"y":"x";A[t]+=C[n]*e;}));}return A;}const Kn={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name;if(!e.modifiersData[o]._skip){for(var r=n.mainAxis,i=void 0===r||r,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,v=e.options.placement,g=Ln(v),y=l||(g===v||!f?[Mn(v)]:function(t){if(Ln(t)===dn)return [];var e=Mn(t);return [Hn(t),e,Hn(e)];}(v)),_=[v].concat(y).reduce((function(t,n){return t.concat(Ln(n)===dn?function(t,e){void 0===e&&(e={});var n=e,o=n.placement,r=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?bn:l,c=Cn(o),d=c?s?_n:_n.filter((function(t){return Cn(t)===c;})):pn,p=d.filter((function(t){return u.indexOf(t)>=0;}));0===p.length&&(p=d);var h=p.reduce((function(e,n){return e[n]=Fn(t,{placement:n,boundary:r,rootBoundary:i,padding:a})[Ln(n)],e;}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e];}));}(e,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:f,allowedAutoPlacements:m}):n);}),[]),b=e.rects.reference,w=e.rects.popper,j=new Map(),E=!0,x=_[0],k=0;k<_.length;k++){var A=_[k],L=Ln(A),C=Cn(A)===hn,O=[sn,ln].indexOf(L)>=0,S=O?"width":"height",T=Fn(e,{placement:A,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),N=O?C?un:cn:C?ln:sn;b[S]>w[S]&&(N=Mn(N));var I=Mn(N),P=[];if(i&&P.push(T[L]<=0),s&&P.push(T[N]<=0,T[I]<=0),P.every((function(t){return t;}))){x=A,E=!1;break;}j.set(A,P);}if(E)for(var M=function(t){var e=_.find((function(e){var n=j.get(e);if(n)return n.slice(0,t).every((function(t){return t;}));}));if(e)return x=e,"break";},D=f?3:1;D>0;D--)if("break"===M(D))break;e.placement!==x&&(e.modifiersData[o]._skip=!0,e.placement=x,e.reset=!0);}},requiresIfExists:["offset"],data:{_skip:!1}};function Un(t,e,n){return We(t,Re(e,n));}const Qn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,o=t.name,r=n.mainAxis,i=void 0===r||r,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,d=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,v=Fn(e,{boundary:l,rootBoundary:u,padding:d,altBoundary:c}),g=Ln(e.placement),y=Cn(e.placement),_=!y,b=On(g),w="x"===b?"y":"x",j=e.modifiersData.popperOffsets,E=e.rects.reference,x=e.rects.popper,k="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,A="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),L=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(j){if(i){var O,S="y"===b?sn:cn,T="y"===b?ln:un,N="y"===b?"height":"width",I=j[b],P=I+v[S],M=I-v[T],D=h?-x[N]/2:0,H=y===hn?E[N]:x[N],B=y===hn?-x[N]:-E[N],q=e.elements.arrow,W=h&&q?Ze(q):{width:0,height:0},R=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=R[S],$=R[T],F=Un(0,E[N],W[N]),K=_?E[N]/2-D-F-V-A.mainAxis:H-F-V-A.mainAxis,U=_?-E[N]/2+D+F+$+A.mainAxis:B+F+$+A.mainAxis,Q=e.elements.arrow&&an(e.elements.arrow),z=Q?"y"===b?Q.clientTop||0:Q.clientLeft||0:0,G=null!=(O=null==L?void 0:L[b])?O:0,Y=I+U-G,X=Un(h?Re(P,I+K-G-z):P,I,h?We(M,Y):M);j[b]=X,C[b]=X-I;}if(s){var J,Z="x"===b?sn:cn,tt="x"===b?ln:un,et=j[w],nt="y"===w?"height":"width",ot=et+v[Z],rt=et-v[tt],it=-1!==[sn,
2cn].indexOf(g),at=null!=(J=null==L?void 0:L[w])?J:0,st=it?ot:et-E[nt]-x[nt]-at+A.altAxis,lt=it?et+E[nt]+x[nt]-at-A.altAxis:rt,ut=h&&it?function(t,e,n){var o=Un(t,e,n);return o>n?n:o;}(st,et,lt):Un(h?st:ot,et,h?lt:rt);j[w]=ut,C[w]=ut-et;}e.modifiersData[o]=C;}},requiresIfExists:["offset"]};const zn={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,r=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=Ln(n.placement),l=On(s),u=[cn,un].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(t,e){return Vn("number"!=typeof (t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:$n(t,pn));}(r.padding,n),d=Ze(i),p="y"===l?sn:cn,h="y"===l?ln:un,f=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],m=a[l]-n.rects.reference[l],v=an(i),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=f/2-m/2,_=c[p],b=g-d[u]-c[h],w=g/2-d[u]/2+y,j=Un(_,w,b),E=l;n.modifiersData[o]=((e={})[E]=j,e.centerOffset=j-w,e);}},effect:function(t){var e=t.state,n=t.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=e.elements.popper.querySelector(o)))&&Bn(e.elements.popper,o)&&(e.elements.arrow=o);},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Gn(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x};}function Yn(t){return [sn,un,ln,cn].some((function(e){return t[e]>=0;}));}var Xn=kn({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,r=o.scroll,i=void 0===r||r,a=o.resize,s=void 0===a||a,l=De(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach((function(t){t.addEventListener("scroll",n.update,An);})),s&&l.addEventListener("resize",n.update,An),function(){i&&u.forEach((function(t){t.removeEventListener("scroll",n.update,An);})),s&&l.removeEventListener("resize",n.update,An);};},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Sn({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement});},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:Ln(e.placement),variation:Cn(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:r,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,Nn(Object.assign({},u,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,Nn(Object.assign({},u,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement});},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},r=e.elements[t];Be(r)&&Qe(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?r.removeAttribute(t):r.setAttribute(t,!0===e?"":e);})));}));},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],r=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t;}),{});Be(o)&&Qe(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(t){o.removeAttribute(t);})));}));};},requires:["computeStyles"]},In,Kn,Qn,zn,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,o=e.rects.reference,r=e.rects.popper,i=e.modifiersData.preventOverflow,a=Fn(e,{elementContext:"reference"}),s=Fn(e,{altBoundary:!0}),l=Gn(a,o),u=Gn(s,r,i),c=Yn(l),d=Yn(u);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d});}}]}),Jn=function(){return Jn=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},Jn.apply(this,arguments);},Zn=function(t,e,n){if(n||2===arguments.length)for(var o,r=0,i=e.length;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e));},to={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},eo=function(){function t(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=to),this._targetEl=t,this._triggerEl=e,this._options=Jn(Jn({},to),n),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init();}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners();},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();
2"click"===this._options.triggerType&&e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.toggle();}));})),"hover"===this._options.triggerType&&(e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){"click"===e?t.toggle():setTimeout((function(){t.show();}),t._options.delay);})),t._targetEl.addEventListener(e,(function(){t.show();}));})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){setTimeout((function(){t._targetEl.matches(":hover")||t.hide();}),t._options.delay);})),t._targetEl.addEventListener(e,(function(){setTimeout((function(){t._triggerEl.matches(":hover")||t.hide();}),t._options.delay);}));})));},t.prototype._createPopperInstance=function(){return Xn(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]});},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl);},document.body.addEventListener("click",this._clickOutsideEventListener,!0);},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0);},t.prototype._handleClickOutside=function(t,e){var n=t.target;n===e||e.contains(n)||this._triggerEl.contains(n)||!this.isVisible()||this.hide();},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case "hover":return {showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case "click":default:return {showEvents:["click"],hideEvents:[]};case "none":return {showEvents:[],hideEvents:[]};}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this);},t.prototype.isVisible=function(){return this._visible;},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions((function(t){return Jn(Jn({},t),{modifiers:Zn(Zn([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)});})),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this);},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions((function(t){return Jn(Jn({},t),{modifiers:Zn(Zn([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)});})),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this);},t;}();"undefined"!=typeof window&&(window.Dropdown=eo);var no=function(){return no=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},no.apply(this,arguments);},oo={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},ro=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=oo),this._targetEl=t,this._options=no(no({},oo),e),this._isHidden=!0,this._backdropEl=null,this._init();}return t.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map((function(e){t._targetEl.classList.add(e);}));},t.prototype._createBackdrop=function(){var t;if(this._isHidden){var e=document.createElement("div");e.setAttribute("modal-backdrop",""),(t=e.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(e),this._backdropEl=e;}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove();},t.prototype._setupModalCloseEventListeners=function(){var t=this;"dynamic"===this._options.backdrop&&(this._clickOutsideEventListener=function(e){t._handleOutsideClick(e.target);},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(e){"Escape"===e.key&&t.hide();}
2,document.body.addEventListener("keydown",this._keydownEventListener,!0);},t.prototype._removeModalCloseEventListeners=function(){"dynamic"===this._options.backdrop&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0);},t.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide();},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case "top-left":return ["justify-start","items-start"];case "top-center":return ["justify-center","items-start"];case "top-right":return ["justify-end","items-start"];case "center-left":return ["justify-start","items-center"];case "center":default:return ["justify-center","items-center"];case "center-right":return ["justify-end","items-center"];case "bottom-left":return ["justify-start","items-end"];case "bottom-center":return ["justify-center","items-end"];case "bottom-right":return ["justify-end","items-end"];}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this);},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this));},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this));},t.prototype.isVisible=function(){return !this._isHidden;},t.prototype.isHidden=function(){return this._isHidden;},t;}();"undefined"!=typeof window&&(window.Modal=ro);var io=function(t,e){return e.some((function(e){return e.id===t;}))?e.find((function(e){return e.id===t;})):null;};var ao=function(){return ao=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},ao.apply(this,arguments);},so={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},lo=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=so),this._targetEl=t,this._options=ao(ao({},so),e),this._visible=!1,this._init();}return t.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map((function(e){t._targetEl.classList.add(e);})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.isVisible()&&t.hide();}));},t.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.remove(e);})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.add(e);}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.remove(e);})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.add(e);}))),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this);},t.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.add(e);})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.remove(e);}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.add(e);})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.remove(e);}))),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this);},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show();},t.prototype._createBackdrop=function(){var t,e=this;if(!this._visible){var n=document.createElement("div");n.setAttribute("drawer-backdrop",""),(t=n.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),n.addEventListener("click",(function(){e.hide();}));}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove();},t.prototype._getPlacementClasses=function(t){switch(t){case "top":return {base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case "right":return {base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case "bottom":return {base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};
2case "left":default:return {base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case "bottom-edge":return {base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};}},t.prototype.isHidden=function(){return !this._visible;},t.prototype.isVisible=function(){return this._visible;},t;}();"undefined"!=typeof window&&(window.Drawer=lo);var uo=function(t,e){if(e.some((function(e){return e.id===t;})))return e.find((function(e){return e.id===t;}));};var co=function(){return co=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},co.apply(this,arguments);},po={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},ho=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=po),this._items=t,this._activeTab=e?this.getTab(e.defaultTabId):null,this._options=co(co({},po),e),this._init();}return t.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map((function(e){e.triggerEl.addEventListener("click",(function(){t.show(e.id);}));})));},t.prototype.getActiveTab=function(){return this._activeTab;},t.prototype._setActiveTab=function(t){this._activeTab=t;},t.prototype.getTab=function(t){return this._items.filter((function(e){return e.id===t;}))[0];},t.prototype.show=function(t,e){var n,o,r=this;void 0===e&&(e=!1);var i=this.getTab(t);(i!==this._activeTab||e)&&(this._items.map((function(t){var e,n;t!==i&&((e=t.triggerEl.classList).remove.apply(e,r._options.activeClasses.split(" ")),(n=t.triggerEl.classList).add.apply(n,r._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-selected","false"));})),(n=i.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(o=i.triggerEl.classList).remove.apply(o,this._options.inactiveClasses.split(" ")),i.triggerEl.setAttribute("aria-selected","true"),i.targetEl.classList.remove("hidden"),this._setActiveTab(i),this._options.onShow(this,i));},t;}();"undefined"!=typeof window&&(window.Tabs=ho);var fo=function(){return fo=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},fo.apply(this,arguments);},mo=function(t,e,n){if(n||2===arguments.length)for(var o,r=0,i=e.length;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e));},vo={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},go=function(){function t(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=vo),this._targetEl=t,this._triggerEl=e,this._options=fo(fo({},vo),n),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init();}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners();},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show();}));})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.hide();}));}));},t.prototype._createPopperInstance=function(){return Xn(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]});},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case "hover":default:return {showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case "click":return {showEvents:["click","focus"],hideEvents:["focusout","blur"]};case "none":return {showEvents:[],hideEvents:[]};}},t.prototype._setupKeydownListener=function(){var t=this;
2this._keydownEventListener=function(e){"Escape"===e.key&&t.hide();},document.body.addEventListener("keydown",this._keydownEventListener,!0);},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0);},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl);},document.body.addEventListener("click",this._clickOutsideEventListener,!0);},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0);},t.prototype._handleClickOutside=function(t,e){var n=t.target;n===e||e.contains(n)||this._triggerEl.contains(n)||!this.isVisible()||this.hide();},t.prototype.isVisible=function(){return this._visible;},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show();},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions((function(t){return fo(fo({},t),{modifiers:mo(mo([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)});})),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this);},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions((function(t){return fo(fo({},t),{modifiers:mo(mo([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)});})),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this);},t;}();"undefined"!=typeof window&&(window.Tooltip=go);var yo=function(){return yo=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},yo.apply(this,arguments);},_o=function(t,e,n){if(n||2===arguments.length)for(var o,r=0,i=e.length;r<i;r++)!o&&r in e||(o||(o=Array.prototype.slice.call(e,0,r)),o[r]=e[r]);return t.concat(o||Array.prototype.slice.call(e));},bo={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},wo=function(){function t(t,e,n){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=bo),this._targetEl=t,this._triggerEl=e,this._options=yo(yo({},bo),n),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init();}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners();},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show();})),t._targetEl.addEventListener(e,(function(){t.show();}));})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){setTimeout((function(){t._targetEl.matches(":hover")||t.hide();}),100);})),t._targetEl.addEventListener(e,(function(){setTimeout((function(){t._triggerEl.matches(":hover")||t.hide();}),100);}));}));},t.prototype._createPopperInstance=function(){return Xn(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]});},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case "hover":default:return {showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case "click":return {showEvents:["click","focus"],hideEvents:["focusout","blur"]};case "none":return {showEvents:[],hideEvents:[]};}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide();},document.body.addEventListener("keydown",this._keydownEventListener,!0);},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0);},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl);},document.body.addEventListener("click",this._clickOutsideEventListener,!0);},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0);},t.prototype._handleClickOutside=function(t,e){var n=t.target;n===e||e.contains(n)||this._triggerEl.contains(n)||!this.isVisible()||this.hide();},t.prototype.isVisible=function(){return this._visible;},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this);},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions((function(t){return yo(yo({},t),{modifiers:_o(_o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)});})),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(
2),this._visible=!0,this._options.onShow(this);},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions((function(t){return yo(yo({},t),{modifiers:_o(_o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)});})),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this);},t;}();"undefined"!=typeof window&&(window.Popover=wo);var jo=function(){return jo=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t;},jo.apply(this,arguments);},Eo={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},xo=function(){function t(t,e,n,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===n&&(n=null),void 0===o&&(o=Eo),this._parentEl=t,this._triggerEl=e,this._targetEl=n,this._options=jo(jo({},Eo),o),this._visible=!1,this._init();}return t.prototype._init=function(){var t=this;if(this._triggerEl){var e=this._getTriggerEventTypes(this._options.triggerType);e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show();})),t._targetEl.addEventListener(e,(function(){t.show();}));})),e.hideEvents.forEach((function(e){t._parentEl.addEventListener(e,(function(){t._parentEl.matches(":hover")||t.hide();}));}));}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this);},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this);},t.prototype.toggle=function(){this._visible?this.hide():this.show();},t.prototype.isHidden=function(){return !this._visible;},t.prototype.isVisible=function(){return this._visible;},t.prototype._getTriggerEventTypes=function(t){switch(t){case "hover":default:return {showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case "click":return {showEvents:["click","focus"],hideEvents:["focusout","blur"]};case "none":return {showEvents:[],hideEvents:[]};}},t;}();"undefined"!=typeof window&&(window.Dial=xo);var ko=new Ee("load",[function(){document.querySelectorAll("[data-accordion]").forEach((function(t){var e=t.getAttribute("data-accordion"),n=t.getAttribute("data-active-classes"),o=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach((function(t){var e={id:t.getAttribute("data-accordion-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-accordion-target")),iconEl:t.querySelector("[data-accordion-icon]"),active:"true"===t.getAttribute("aria-expanded")};r.push(e);})),new Ae(r,{alwaysOpen:"open"===e,activeClasses:n||ke.activeClasses,inactiveClasses:o||ke.inactiveClasses});}));},function(){document.querySelectorAll("[data-collapse-toggle]").forEach((function(t){var e=t.getAttribute("data-collapse-toggle"),n=document.getElementById(e);n?new Oe(n,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'));}));},function(){document.querySelectorAll("[data-carousel]").forEach((function(t){var e=t.getAttribute("data-carousel-interval"),n="slide"===t.getAttribute("data-carousel"),o=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map((function(t,e){o.push({position:e,el:t}),"active"===t.getAttribute("data-carousel-item")&&(r=e);}));var i=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map((function(t){i.push({position:parseInt(t.getAttribute("data-carousel-slide-to")),el:t});}));var a=new Ne(o,{defaultPosition:r,indicators:{items:i},interval:e||Te.interval});n&&a.cycle();var s=t.querySelector("[data-carousel-next]"),l=t.querySelector("[data-carousel-prev]");s&&s.addEventListener("click",(function(){a.next();})),l&&l.addEventListener("click",(function(){a.prev();}));}));},function(){document.querySelectorAll("[data-dismiss-target]").forEach((function(t){var e=t.getAttribute("data-dismiss-target"),n=document.querySelector(e);n?new Me(n,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'));}));},function(){document.querySelectorAll("[data-dropdown-toggle]").forEach((function(t){var e=t.getAttribute("data-dropdown-toggle"),n=document.getElementById(e);if(n){var o=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),i=t.getAttribute("data-dropdown-offset-distance"),a=t.getAttribute("data-dropdown-trigger"),s=t.getAttribute("data-dropdown-delay");new eo(n,t,{placement:o||to.placement,triggerType:a||to.triggerType,offsetSkidding:r?parseInt(r):to.offsetSkidding,offsetDistance:i?parseInt(i):to.offsetDistance,delay:s?parseInt(s):to.delay});}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'));}));},function(){var t=[];document.querySelectorAll("[data-modal-target]").forEach((function(e){var n=e.getAttribute("data-modal-target"),o=document.getElementById(n);if(o){var r=o.getAttribute("data-modal-placement"),i=o.getAttribute("data-modal-backdrop");io(n,t)||t.push({id:n,object:new ro(o,{placement:r||oo.placement,backdrop:i||oo.backdrop})});}
2else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."));})),document.querySelectorAll("[data-modal-toggle]").forEach((function(e){var n=e.getAttribute("data-modal-toggle"),o=document.getElementById(n);if(o){var r=o.getAttribute("data-modal-placement"),i=o.getAttribute("data-modal-backdrop"),a=io(n,t);a||(a={id:n,object:new ro(o,{placement:r||oo.placement,backdrop:i||oo.backdrop})},t.push(a)),e.addEventListener("click",(function(){a.object.toggle();}));}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"));})),document.querySelectorAll("[data-modal-show]").forEach((function(e){var n=e.getAttribute("data-modal-show");if(document.getElementById(n)){var o=io(n,t);o?e.addEventListener("click",(function(){o.object.isHidden&&o.object.show();})):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."));}
2else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"));})),document.querySelectorAll("[data-modal-hide]").forEach((function(e){var n=e.getAttribute("data-modal-hide");if(document.getElementById(n)){var o=io(n,t);o?e.addEventListener("click",(function(){o.object.isVisible&&o.object.hide();})):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."));}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"));}));},function(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach((function(e){var n=e.getAttribute("data-drawer-target"),o=document.getElementById(n);if(o){var r=e.getAttribute("data-drawer-placement"),i=e.getAttribute("data-drawer-body-scrolling"),a=e.getAttribute("data-drawer-backdrop"),s=e.getAttribute("data-drawer-edge"),l=e.getAttribute("data-drawer-edge-offset");uo(n,t)||t.push({id:n,object:new lo(o,{placement:r||so.placement,bodyScrolling:i?"true"===i:so.bodyScrolling,backdrop:a?"true"===a:so.backdrop,edge:s?"true"===s:so.edge,edgeOffset:l||so.edgeOffset})});}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"));})),document.querySelectorAll("[data-drawer-toggle]").forEach((function(e){var n=e.getAttribute("data-drawer-toggle");if(document.getElementById(n)){var o=uo(n,t);o?e.addEventListener("click",(function(){o.object.toggle();})):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."));}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"));})),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach((function(e){var n=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide");if(document.getElementById(n)){var o=uo(n,t);o?e.addEventListener("click",(function(){o.object.hide();})):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."));}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"));})),document.querySelectorAll("[data-drawer-show]").forEach((function(e){var n=e.getAttribute("data-drawer-show");if(document.getElementById(n)){var o=uo(n,t);o?e.addEventListener("click",(function(){o.object.show();})):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."));}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"));}));},function(){document.querySelectorAll("[data-tabs-toggle]").forEach((function(t){var e=[],n=null;t.querySelectorAll('[role="tab"]').forEach((function(t){var o="true"===t.getAttribute("aria-selected"),r={id:t.getAttribute("data-tabs-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-tabs-target"))};e.push(r),o&&(n=r.id);})),new ho(e,{defaultTabId:n});}));},function(){document.querySelectorAll("[data-tooltip-target]").forEach((function(t){var e=t.getAttribute("data-tooltip-target"),n=document.getElementById(e);if(n){var o=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new go(n,t,{placement:r||vo.placement,triggerType:o||vo.triggerType});}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'));}));},function(){document.querySelectorAll("[data-popover-target]").forEach((function(t){var e=t.getAttribute("data-popover-target"),n=document.getElementById(e);if(n){var o=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),i=t.getAttribute("data-popover-offset");new wo(n,t,{placement:r||bo.placement,offset:i?parseInt(i):bo.offset,triggerType:o||bo.triggerType});}else console.error('The popover element with id "'.concat(e,'" does not exist. Please check the data-popover-target attribute.'));}));},function(){document.querySelectorAll("[data-dial-init]").forEach((function(t){var e=t.querySelector("[data-dial-toggle]");if(e){var n=e.getAttribute("data-dial-toggle"),o=document.getElementById(n);if(o){var r=e.getAttribute("data-dial-trigger");new xo(t,e,o,{triggerType:r||Eo.triggerType});}
2else console.error("Dial with id ".concat(n," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"));}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"));}));}]);ko.init();n(854);})();})();; 3(function(Drupal,$,once,drupalSettings){Drupal.behaviors.grantees={attach:function(context,settings){once('toggleButton','.path-grantees .block-facets-ajax h2',context).forEach(function(toggleLink){$(toggleLink).on('click',function(){$(this).toggleClass('close');$(this).siblings(".facets-widget-checkbox, .facets-widget-range_slider").toggleClass('expanded').find("input").attr('tabindex',function(_,attr){return attr==="-1"?0:-1;});});});function adjustItemsPerPage(){if($(window).width()>767)$(".path-grantees form.views-exposed-form .form-item-items-per-page #edit-items-per-page").attr("size","4");else $(".path-grantees form.views-exposed-form .form-item-items-per-page #edit-items-per-page").removeAttr("size");}adjustItemsPerPage();$(window).resize(function(){adjustItemsPerPage();});$(once('RefineSearch','#openNav')).on('click',function(e){$(context).find('.path-grantees .content-middle .inner-content').addClass('open');});$(once('CloseSearch','.path-grantees #close_popup')).on('click',function(e){$(context).find('.path-grantees .content-middle .inner-content').removeClass('open');});$(once('SubmitSearch','#edit-submit-grantees-search')).on('click',function(e){$(context).find('.path-grantees .content-middle .inner-content').removeClass('open');});$(once('ConfirmFilters','#confirmfilters')).on('click',function(){$(context).find('.path-grantees .content-middle .inner-content').removeClass('open');});$(once('ResetSearch','#edit-reset-grantees-search, #edit-reset-grantees-search--2')).on('click',function(){$('.views-exposed-form').find('input[name="search_api_fulltext"]').val("");$(context).find('#block-exposedformgrantees-searchblock-2 form .area-group-large').removeClass('active-search');});$(document).ready(function(){$(once('ResetButton','.facet-summary-item--clear')).on('click',function(event){event.preventDefault();var $slider=$('#grant_amount');if($slider.length){$slider.slider('values',[0,$slider.slider('option','max')]);$slider.find('.ui-slider-handle').each(function(index){var $handle=$(this);var value=$slider.slider('values',index);$handle.find('.ui-slider-tip').text('$'+value);});}var url=window.location.origin+window.location.pathname;console.log('Attempting to update URL to:',url);try{window.history.pushState({},'',url);console.log('URL successfully updated to:',window.location.href);}catch(e){console.error('Error updating URL:',e);}$.ajax({url,method:'GET',cache:false,success:function(data){console.log('AJAX request succeeded.');$('body').addClass('resetallcontent');var newContent=$('<div>').html(data).find('body').html();if(newContent){console.log('New content found, updating...');$('body').html(newContent);if(Drupal&&Drupal.attachBehaviors)Drupal.attachBehaviors(document,drupalSettings);}else console.warn('No content found to update.');},error:function(jqXHR,textStatus,errorThrown){console.error('Failed to refresh the content. Status:',textStatus,'Error:',errorThrown);}});});});$(context).ajaxComplete(function(event,xhr,settings){setTimeout(function(){if($('input[name="search_api_fulltext"]',context).val()&&!$('.facet-summary-item--clear',context).length){$(context).find('.resetallcontent #edit-reset-grantees-search').trigger('click');$(context).find('body').removeClass("resetallcontent");}},1000);});if($('input[name="search_api_fulltext"]',context).val()){$(context).find('#edit-reset-grantees-search').css({'display':'flex'});$(context).find('#edit-reset-grantees-search').addClass('active-search');$('#block-exposedformgrantees-searchblock-2 form .area-group-large').addClass('active-search');}else{$(context).find('#edit-reset-grantees-search').css({'display':'none'});$(context).find('#edit-reset-grantees-search').removeClass('active-search');$(context).find('#block-exposedformgrantees-searchblock-2 form .area-group-large').removeClass('active-search');}if($('.facet-summary-item--clear',context).length){$('#edit-reset-grantees-search').css({'display':'none'});$('#block-exposedformgrantees-searchblock-2 form .area-group-large').removeClass('active-search');}}};Drupal.behaviors.accessibility={attach:function(context,settings){$(".path-grantees .block-facets-ajax h2").attr("tabindex","0");$(".path-grantees #block-wallace-content h1").attr("tabindex","0").next().attr("tabindex","0");$(".path-grantees #block-wallace-content .area img").attr("tabindex","0");$(".views-element-container .grantees-search-text.views-row").attr("tabindex","0");$(context).on("keydown",function(e){if(e.keyCode==9){if($(e.target).is("header #menu button.bg-wallace-lighttintedblue"))if(!e.shiftKey)setTimeout(function(){$("nav[aria-label|='Breadcrumbs']").find("ol li:first-child a").focus();},10);if($(e.target).is("nav[aria-label|='Breadcrumbs'] ol li:first-child a"))if(e.shiftKey){e.preventDefault();$("header #menu button.bg-wallace-lighttintedblue").focus();}if($(e.target).is("#block-exposedformgrantees-searchblock-1 .views-exposed-form .form-item-search-api-fulltext .form-text"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){$(".views-exposed-form .area-group-large").find("#edit-submit-grantees-search").focus();},10);}if($(e.target).is(".views-exposed-form .area-group-large #edit-submit-grantees-search"))if(e.shiftKey){e.preventDefault();setTimeout(function(){$(".views-exposed-form .form-item-search-api-fulltext .form-text").focus();},10);}
3if($(e.target).is(".content-middle #grant_amount .ui-slider-handle:nth-child(3)"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){$(".form-item-sort-by select").focus();},10);}if($(e.target).is(".layout-push-navigation .push-nav-wrapper #grant_amount .ui-slider-handle:nth-child(3)"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){$(".layout-push-navigation .push-nav-wrapper #confirmfilters").focus();},10);}if($(e.target).is(".layout-push-navigation .push-nav-wrapper #confirmfilters"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){$(".layout-push-navigation .push-nav-wrapper #closeNav").focus();},10);}if($(e.target).is(".layout-push-navigation .push-nav-wrapper #confirmfilters"))if(e.shiftKey){e.preventDefault();setTimeout(function(){if($('.layout-push-navigation .push-nav-wrapper .block-facet--range-slider h2').hasClass('close'))$('.layout-push-navigation .push-nav-wrapper .block-facet--range-slider h2.close').focus();else $(".layout-push-navigation .push-nav-wrapper #grant_amount .ui-slider-handle:nth-child(3)").focus();},10);}if($(e.target).is(".path-grantees .content-middle .block-facet--range-slider h2.close"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){$(".form-item-sort-by select").focus();},10);}if($(e.target).is(".layout-push-navigation .push-nav-wrapper .block-facet--range-slider h2.close"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){$(".layout-push-navigation .push-nav-wrapper #confirmfilters").focus();},10);}if($(e.target).is(".form-item-sort-by select"))if(e.shiftKey){e.preventDefault();setTimeout(function(){if($('.path-grantees .block-facet--range-slider h2').hasClass('close'))$('.path-grantees .block-facet--range-slider h2.close').focus();else $(".content-middle #grant_amount .ui-slider-handle:nth-child(3)").focus();},10);}if($(e.target).is(".form-item-items-per-page select"))if(!e.shiftKey){e.preventDefault();setTimeout(function(){if($('.content-bottom .summary-content ul').find('.facet-summary-item--facet').length>0)$(".summary-content .facet-summary-item--facet:first a").focus();else $(".pager ul li:first-child a").focus();},10);}if($(e.target).is(".pager ul li:first-child a"))if(e.shiftKey){e.preventDefault();setTimeout(function(){if($('.content-bottom .summary-content ul').find('.facet-summary-item--facet').length>0)$(".facet-summary-item--clear a").focus();else $(".form-item-items-per-page select").focus();},10);}}});$(context).on("keydown",function(e){if(e.keyCode==13){if($(e.target).is(".facets-widget-checkbox input"))$(e.target).trigger('click');if($(e.target).is("#block-granteesrefinesearch button#openNav")){$(e.target).trigger('click');setTimeout(function(){$(".layout-push-navigation .push-nav-wrapper #closeNav").focus();},600);}if($(e.target).is(".layout-push-navigation .push-nav-wrapper #closeNav"))setTimeout(function(){$("#block-granteesrefinesearch button#openNav").focus();},600);if($(e.target).is(".path-grantees .block-facets-ajax h2")){e.preventDefault();setTimeout(function(){$(e.target).trigger('click');},600);}if($(e.target).is("#block-granteesfocus a[href='#searchPage']")){e.preventDefault();setTimeout(function(){$(".views-element-container .grantees-search-text").first().focus();},10);}if($(e.target).is("#block-granteesfocus a[href='#searchFilters']")){e.preventDefault();setTimeout(function(){$(".path-grantees .content-middle .block-facets-ajax h2").first().focus();},10);}if($(e.target).is("#block-granteesfocus a[href='#searchSort']")){e.preventDefault();setTimeout(function(){$(".form-item-sort-by select").focus();},10);}}});}};if(document.getElementsByClassName('path-grantees'))$(document).ready(function(){document.getElementById('openNav').addEventListener('click',()=>{document.querySelector('.path-grantees .content-middle .inner-content').classList.add('open');});document.getElementById('close_popup').addEventListener('click',()=>{document.querySelector('.path-grantees .content-middle .inner-content').classList.remove('open');});document.getElementById('edit-submit-grantees-search').addEventListener('click',()=>
3{document.querySelector('.path-grantees .content-middle .inner-content').classList.remove('open');});if(document.querySelector('.facet-summary-item--clear a'))document.querySelector('.facet-summary-item--clear a').addEventListener('click',()=>{window.open('/grantees','_self');});});;})(Drupal,jQuery,once,drupalSettings);;
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.