PageSourceSearch

https://sonomacounty.gov/Content/js/MainSite.js

js sonomacounty.gov collected 2026-10-02 06:28:22 UTC 31,776 bytes, 2 lines download raw bytes

1!function(){function e(e,t,n,l){Object.defineProperty(e,t,{get:n,set:l,enumerable:!0,configurable:!0})}var t,n,l="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:"u">typeof global?global:{},r={},o={},a=l.parcelRequire44e7;null==a&&((a=function(e){if(e in r)return r[e].exports;if(e in o){var t=o[e];delete o[e];var n={id:e,exports:{}};return r[e]=n,t.call(n.exports,n,n.exports),n.exports}var l=Error("Cannot find module '"+e+"'");throw l.code="MODULE_NOT_FOUND",l}).register=function(e,t){o[e]=t},l.parcelRequire44e7=a);var i=a.register;i("hvZMf",function(t,n){e(t.exports,"_",function(){return s});var l=a("2zPWk"),r=a("91t4N"),o=a("eTJIp"),i=a("537SV");function s(e){return(0,l._)(e)||(0,r._)(e)||(0,i._)(e)||(0,o._)()}}),i("2zPWk",function(t,n){e(t.exports,"_",function(){return r});var l=a("a3d64");function r(e){if(Array.isArray(e))return(0,l._)(e)}}),i("a3d64",function(t,n){e(t.exports,"_",function(){return l});function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n<t;n++)l[n]=e[n];return l}}),i("91t4N",function(t,n){e(t.exports,"_",function(){return l});function l(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}}),i("eTJIp",function(t,n){e(t.exports,"_",function(){return l});function l(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}}),i("537SV",function(t,n){e(t.exports,"_",function(){return r});var l=a("a3d64");function r(e,t){if(e){if("string"==typeof e)return(0,l._)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,l._)(e,t)}}}),i("LCZef",function(t,n){e(t.exports,"show",function(){return r}),e(t.exports,"hide",function(){return o}),e(t.exports,"fadeIn",function(){return i}),e(t.exports,"fadeOut",function(){return s}),e(t.exports,"slideUp",function(){return d}),e(t.exports,"slideDown",function(){return u}),e(t.exports,"slideIn",function(){return c}),e(t.exports,"slideOut",function(){return f}),e(t.exports,"isVisible",function(){return v});var l=a("hvZMf"),r=function(e,t){if(e){e.style.removeProperty("display");var n,r,o=window.getComputedStyle(e).display;e.style.display="none"===o?"block":o,(null==t?void 0:t.addClasses)&&(n=e.classList).add.apply(n,(0,l._)(t.addClasses)),(null==t?void 0:t.removeClasses)&&(r=e.classList).remove.apply(r,(0,l._)(t.removeClasses)),e.offsetHeight}},o=function(e,t){if(e){var n,r;e.style.display="none",(null==t?void 0:t.addClasses)&&(n=e.classList).add.apply(n,(0,l._)(t.addClasses)),(null==t?void 0:t.removeClasses)&&(r=e.classList).remove.apply(r,(0,l._)(t.removeClasses))}},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2?arguments[2]:void 0;
1if(e&&((null==n?void 0:n.animateOnlyIfToggled)===void 0||(null==n?void 0:n.animateOnlyIfToggled)&&"none"===window.getComputedStyle(e).display)){e.style.removeProperty("display");var r,o,a=window.getComputedStyle(e).display;e.style.opacity="0",e.style.visibility="hidden",e.style.display="none"===a?"block":a,e.offsetHeight,e.style.transition="opacity ".concat(t,"ms linear"),e.style.visibility="visible",e.style.opacity="1",(null==n?void 0:n.addClasses)&&!n.addClassesAfterDuration&&(r=e.classList).add.apply(r,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&!n.removeClassesAfterDuration&&(o=e.classList).remove.apply(o,(0,l._)(n.removeClasses)),setTimeout(function(){var t,r,o;e.style.removeProperty("opacity"),e.style.removeProperty("visibility"),e.style.removeProperty("transition"),null==n||null==(o=n.callback)||o.call(n),(null==n?void 0:n.addClasses)&&n.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&n.removeClassesAfterDuration&&(r=e.classList).remove.apply(r,(0,l._)(n.removeClasses))},t)}},s=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=arguments.length>2?arguments[2]:void 0;e&&((null==o?void 0:o.animateOnlyIfToggled)===void 0||(null==o?void 0:o.animateOnlyIfToggled)&&"none"!==window.getComputedStyle(e).display)&&(e.style.transition="opacity ".concat(r,"ms linear"),e.style.opacity="0",e.offsetHeight,(null==o?void 0:o.addClasses)&&!o.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(o.addClasses)),(null==o?void 0:o.removeClasses)&&!o.removeClassesAfterDuration&&(n=e.classList).remove.apply(n,(0,l._)(o.removeClasses)),setTimeout(function(){var t,n,r;e.style.display="none",e.style.removeProperty("transition"),e.style.removeProperty("opacity"),null==o||null==(r=o.callback)||r.call(o),(null==o?void 0:o.addClasses)&&o.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(o.addClasses)),(null==o?void 0:o.removeClasses)&&o.removeClassesAfterDuration&&(n=e.classList).remove.apply(n,(0,l._)(o.removeClasses))},r))},d=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,o=arguments.length>2?arguments[2]:void 0;e&&(e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=r+"ms",e.style.height=e.offsetHeight+"px",e.offsetHeight,e.style.overflow="hidden",e.style.height="0",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.marginTop="0",e.style.marginBottom="0",(null==o?void 0:o.addClasses)&&!o.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(o.addClasses)),(null==o?void 0:o.removeClasses)&&!o.removeClassesAfterDuration&&(n=e.classList).remove.apply(n,(0,l._)(o.removeClasses)),setTimeout(function(){var t,n,r;e.style.display="none",e.style.removeProperty("height"),e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),null==o||null==(r=o.callback)||r.call(o),(null==o?void 0:o.addClasses)&&o.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(o.addClasses)),(null==o?void 0:o.removeClasses)&&o.removeClassesAfterDuration&&(n=e.classList).remove.apply(n,(0,l._)(o.removeClasses))},r))},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,n=arguments.length>2?arguments[2]:void 0;if(e){e.style.removeProperty("display");var r,o,a=window.getComputedStyle(e).display;e.style.display="none"===a?"block":a;var i=e.offsetHeight;e.style.overflow="hidden",e.style.height="0",e.style.paddingTop="0",e.style.paddingBottom="0",e.style.marginTop="0",e.style.marginBottom="0",e.offsetHeight,e.style.boxSizing="border-box",e.style.transitionProperty="height, margin, padding",e.style.transitionDuration=t+"ms",e.style.height=i+"px",e.style.removeProperty("padding-top"),e.style.removeProperty("padding-bottom"),e.style.removeProperty("margin-top"),e.style.removeProperty("margin-bottom"),(null==n?void 0:n.addClasses)&&!n.addClassesAfterDuration&&(r=e.classList).add.apply(r,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&!n.removeClassesAfterDuration&&(o=e.classList).remove.apply(o,(0,l._)(n.removeClasses)),setTimeout(function(){var t,r,o;e.style.removeProperty("height"),e.style.removeProperty("overflow"),e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),null==n||null==(o=n.callback)||o.call(n),(null==n?void 0:n.addClasses)&&n.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&n.removeClassesAfterDuration&&(r=e.classList).remove.apply(r,(0,l._)(n.removeClasses))},t)}},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=arguments.length>2?arguments[2]:void 0;if(e){e.style.removeProperty("display");var r,o,a=window.getComputedStyle(e).display;e.style.left="-".concat(e.offsetWidth,"px"),e.style.display="none",e.style.removeProperty("display"),e.style.left="-".concat(e.offsetWidth,"px"),e.style.display="none"===a?"block":a,e.style.transitionProperty="left",e.style.transitionDuration=t+"ms",e.style.left=(null==n?void 0:n.distance)!==void 0?"".concat(n.distance,"px"):"",document.documentElement.classList.add("mobile-behind"),(null==n?void 0:n.addClasses)&&!n.addClassesAfterDuration&&(r=e.classList).add.apply(r,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&!n.removeClassesAfterDuration&&(o=e.classList).remove.apply(o,(0,l._)(n.removeClasses)),setTimeout(function(){var t,r,o,a;e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),null==(o=e.querySelector("a, button"))||o.focus(),null==n||null==(a=n.callback)||a.call(n),(null==n?void 0:n.addClasses)&&n.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&n.removeClassesAfterDuration&&(r=e.classList).remove.apply(r,(0,l._)(n.removeClasses))},t)}},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,n=arguments.length>2?arguments[2]:void 0;if(e){var r,o,a="-".concat(window.getComputedStyle(e).width);e.style.transitionProperty="left",e.style.transitionDuration=t+"ms",e.style.left=a,document.documentElement.classList.remove("mobile-behind"),(null==n?void 0:n.addClasses)&&!n.addClassesAfterDuration&&(r=e.classList).add.apply(r,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&!n.removeClassesAfterDuration&&(o=e.classList).remove.apply(o,(0,l._)(n.removeClasses)),setTimeout(function(){var t,r,o,a;e.style.removeProperty("transition-duration"),e.style.removeProperty("transition-property"),e.style.display="none",null==n||null==(o=n.toggle)||o.focus(),null==n||null==(a=n.callback)||a.call(n),(null==n?void 0:n.addClasses)&&n.addClassesAfterDuration&&(t=e.classList).add.apply(t,(0,l._)(n.addClasses)),(null==n?void 0:n.removeClasses)&&n.removeClassesAfterDuration&&(r=e.classList).remove.apply(r,(0,l._)(n.removeClasses))},t)}},v=function(e){if(!e||!e.isConnected||0===e.getClientRects().length)return!1;var t=getComputedStyle(e);
1if("hidden"===t.visibility||"collapse"===t.visibility)return!1;var n=e.getBoundingClientRect();return 0!==n.width&&0!==n.height&&"0"!==t.opacity}}),i("kFRv0",function(t,n){e(t.exports,"initCommonHandlers",function(){return h});var l=a("hvZMf"),r=a("LCZef"),o=a("jm8jg"),i=function(){var e=document.querySelector(".side-menu .menu-toggle .menu-toggle-btn");null==e||e.addEventListener("click",function(){var t,n,l,o;e.classList.contains("opened")?(e.classList.remove("opened"),e.ariaExpanded="false",(0,r.slideUp)(null!=(n=null==(t=e.ariaControlsElements)?void 0:t[0])?n:null,200)):(e.classList.add("opened"),e.ariaExpanded="true",(0,r.slideDown)(null!=(o=null==(l=e.ariaControlsElements)?void 0:l[0])?o:null,200))})},s=function(){document.querySelectorAll(".side-menu .menu-lists .parent").forEach(function(e){var t=e.querySelector("button");null==t||t.addEventListener("click",function(){var n,l;e.classList.contains("opened")?(e.classList.remove("opened"),t.ariaExpanded="false",(0,r.slideUp)(null==(n=t.ariaControlsElements)?void 0:n[0],200)):(e.classList.add("opened"),t.ariaExpanded="true",(0,r.slideDown)(null==(l=t.ariaControlsElements)?void 0:l[0],200))})})},d=function(){document.querySelectorAll(".box-tabs").forEach(function(e){var t=e.querySelectorAll(".tabs .tab");t.forEach(function(e){var t;e!==(null==(t=e.parentElement)?void 0:t.firstElementChild)&&(e.style.display="none")});var n=e.querySelector(".box-tab-nav");if(n){var l=null==n?void 0:n.querySelectorAll("a");l.forEach(function(e){return e.addEventListener("click",function(n){n.preventDefault();var o=document.getElementById(e.href);l.forEach(function(e){return e.classList.remove("on")}),e.classList.add("on"),t.forEach(function(e){return e.style.display="none"}),(0,r.fadeIn)(o,200)})})}})},u=function(){document.querySelectorAll(".list-checklist li a").forEach(function(e){return null==e?void 0:e.addEventListener("click",function(t){t.preventDefault(),e.classList.contains("on")?e.classList.remove("on"):e.classList.add("on")})})},c=function(){document.querySelectorAll(".filter-box .toggle").forEach(function(e){return e.addEventListener("click",function(t){t.preventDefault(),e.classList.contains("opened")?(e.classList.remove("opened"),(0,r.slideUp)(e.nextElementSibling)):(e.classList.add("opened"),(0,r.slideDown)(e.nextElementSibling))})})},f=function(){var e;document.querySelectorAll("a.scroll-to").forEach(function(e){return e.addEventListener("click",function(t){t.preventDefault();var n,l=e.href.match(/#[^#\/]*$/);(null==l?void 0:l[0])&&(null==(n=document.querySelector(l[0]))||n.scrollIntoView({behavior:"smooth",block:"start"}))})}),null==(e=document.querySelector("a.skip-to-content"))||e.addEventListener("click",function(e){var t,n;e.preventDefault(),null==(t=document.querySelector("#content"))||t.scrollIntoView({behavior:"smooth",block:"start"}),null==(n=document.querySelector("#content a"))||n.focus()})},v=function(){document.querySelectorAll(".fit-embed-to-container > iframe").forEach(function(e){var t,n,l=parseInt(null!=(t=e.getAttribute("height"))?t:"0"),r=parseInt(null!=(n=e.getAttribute("width"))?n:"0");l&&r?e.parentElement.style.paddingBottom="".concat((l/r*100).toFixed(2),"%"):e.parentElement.style.paddingBottom="56.25%"})},p=function(){document.querySelectorAll(".body-copy table").forEach(function(e){if(!e.classList.contains("static")&&!e.parentElement.classList.contains("responsive-table")){var t=(0,o.createElement)("div",{classes:["responsive-table"]}),n=e.parentElement,l=e.nextElementSibling;t.appendChild(e),l?null==n||n.insertBefore(t,l):null==n||n.appendChild(t)}});var e=document.querySelectorAll(".responsive-table");e.forEach(function(e){return e.scrollWidth>e.offsetWidth&&e.classList.add("active")}),window.addEventListener("resize",function(){e.forEach(function(e){return e.scrollWidth>e.offsetWidth?e.classList.add("active"):e.classList.remove("active")})})},m=function(){window.addEventListener("scroll",function(){var e,t;return window.scrollY>0?null==(e=document.getElementById("page"))?void 0:e.classList.remove("top"):null==(t=document.getElementById("page"))?void 0:t.classList.add("top")})},y=function(){var e=document.querySelector(".switch-wrap"),t=(0,l._)(document.querySelectorAll(".switch-content-wrap .switch-content"));if(e){var n=(0,l._)(e.querySelectorAll("button"));e.addEventListener("keydown",function(e){var t=-1,l=-1;switch(e.key){case"ArrowLeft":e.preventDefault(),l=(t=n.findIndex(function(e){return"true"===e.ariaSelected}))-1>=0?t-1:n.length-1,o(),a(n[l]);break;case"ArrowRight":e.preventDefault(),l=(t=n.findIndex(function(e){return"true"===e.ariaSelected}))+1<n.length?t+1:0,o(),a(n[l]);break;case"End":e.preventDefault(),o(),a(n[n.length-1]);break;case"Home":e.preventDefault(),o(),a(n[0]);break;default:return}}
1),n.forEach(function(e){return e.addEventListener("click",function(){o(),a(e)})});var o=function(){n.forEach(function(e){e.tabIndex=-1,e.removeAttribute("aria-selected")})},a=function(e){if(e){var t;e.ariaSelected="true",e.removeAttribute("tabindex"),e.focus(),i(null==(t=e.ariaControlsElements)?void 0:t[0])}},i=function(e){e&&(t.filter(function(t){return t.id!==e.id}).forEach(function(e){return(0,r.hide)(e)}),(0,r.show)(e))}}},h=function(){i(),s(),d(),u(),c(),f(),v(),p(),m(),y()}}),i("jm8jg",function(t,n){e(t.exports,"createElement",function(){return r});var l=a("hvZMf"),r=function(e,t){var n=document.createElement(e);if((null==t?void 0:t.id)&&(n.id=t.id),(null==t?void 0:t.classes)&&(i=n.classList).add.apply(i,(0,l._)(t.classes)),(null==t?void 0:t.href)&&"href"in n&&(n.href=t.href),(null==t?void 0:t.src)&&"src"in n&&(n.src=t.src),null==t?void 0:t.style){var r=!0,o=!1,a=void 0;try{for(var i,s,d=Object.keys(t.style)[Symbol.iterator]();!(r=(s=d.next()).done);r=!0){var u=s.value;void 0!==t.style[u]&&(n.style[u]=t.style[u])}}catch(e){o=!0,a=e}finally{try{r||null==d.return||d.return()}finally{if(o)throw a}}}if((null==t?void 0:t.type)&&"type"in n&&(n.type=t.type),(null==t?void 0:t.ariaControls)&&n.setAttribute("aria-controls",t.ariaControls),(null==t?void 0:t.ariaHidden)!==void 0&&(n.ariaHidden=t.ariaHidden),(null==t?void 0:t.ariaExpanded)!==void 0&&(n.ariaExpanded=t.ariaExpanded),(null==t?void 0:t.tabIndex)!==void 0&&(n.tabIndex=t.tabIndex),(null==t?void 0:t.innerText)&&(n.innerText=t.innerText),(null==t?void 0:t.value)&&"value"in n&&(n.value=t.value),(null==t?void 0:t.title)&&(n.title=t.title),(null==t?void 0:t.alt)&&"alt"in n&&(n.alt=t.alt),(null==t?void 0:t.target)&&"target"in n&&(n.target=t.target),null==t?void 0:t.properties){var c=!0,f=!1,v=void 0;try{for(var p,m=t.properties[Symbol.iterator]();!(c=(p=m.next()).done);c=!0){var y=p.value;y.key&&y.key in n&&(n[y.key]=y.value)}}catch(e){f=!0,v=e}finally{try{c||null==m.return||m.return()}finally{if(f)throw v}}}if((null==t?void 0:t.role)&&(n.role=t.role),(null==t?void 0:t.ariaPosInSet)&&(n.ariaPosInSet=t.ariaPosInSet),(null==t?void 0:t.disabled)&&"disabled"in n&&(n.disabled=n.disabled),null==t?void 0:t.children){var h=!0,g=!1,E=void 0;try{for(var b,C=t.children[Symbol.iterator]();!(h=(b=C.next()).done);h=!0){var L=b.value;null!==L&&n.appendChild(L)}}catch(e){g=!0,E=e}finally{try{h||null==C.return||C.return()}finally{if(g)throw E}}}var w=!0,x=!1,S=void 0;if(null==t?void 0:t.handlers)try{for(var k,A=t.handlers[Symbol.iterator]();!(w=(k=A.next()).done);w=!0){var _=k.value;n.addEventListener(_.type,_.listener)}}catch(e){x=!0,S=e}finally{try{w||null==A.return||A.return()}finally{if(x)throw S}}return n}}),i("eDoRc",function(t,n){e(t.exports,"initPrintHandlers",function(){return o});var l=a("hvZMf"),r=a("jm8jg"),o=function(){var e=function(){var e=document.querySelectorAll(".order-lg-2 a, .body-copy a, .tile a, .box-blog a"),t=["#","tel:","mailto:"],n=(0,l._)(e).reduce(function(e,n){var r=n.getAttribute("href");return r&&!t.some(function(e){return null==r?void 0:r.startsWith(e)})&&(r.startsWith("/")&&(r="".concat(window.location).concat(r)),e.some(function(e){return e.url===r})||(e=(0,l._)(e).concat([{url:r,linkText:n.innerText}]))),e},[]);if(n.length){var o=document.getElementById("page");null==o||o.appendChild((0,r.createElement)("div",{id:"PrintedBibliography",children:[(0,r.createElement)("h2",{innerText:"Page Links"}),(0,r.createElement)("ol",{children:n.map(function(e){return(0,r.createElement)("li",{innerText:e.linkText?"".concat(e.linkText," - ").concat(e.url):e.url})})})]}))}},t=function(){var t=document.getElementById("PrintedBibliography");t?t.style.removeProperty("display"):e()},n=function(){var e=document.getElementById("PrintedBibliography");e&&(e.style.display="none")};void 0!==window.matchMedia&&window.matchMedia("print").addEventListener("change",function(e){return e.matches?t():n}),void 0!==window.onbeforeprint&&(window.onbeforeprint=t,window.onafterprint=n)}}),i("6fEYs",function(t,n){e(t.exports,"initTranslationHandlers",function(){return o});var l=a("1P2tS"),r=a("jm8jg"),o=function(){var e=function(){var e=(0,l.getCookie)("googtrans");if(e){var t=e.match(/\/en\/(([a-zA-Z]*(-[a-zA-Z]*)?))/);return null==t?void 0:t[1]}},t=function(){var e=document.getElementById("translate_widget_template");document.querySelectorAll(".translate-wrap").forEach(function(t){return(null==e?void 0:e.content)&&t.appendChild(e.content.cloneNode(!0))})},n=function(e){var t;(null==(t=e.firstElementChild)?void 0:t.innerText.toLowerCase())==="select language"&&e.removeChild(e.firstElementChild)},o=function(e){var t;(null==(t=e.firstElementChild)?void 0:t.innerText.toLowerCase())!=="select language"&&e.insertBefore((0,r.createElement)("option",{innerText:"Select Language",value:""}),e.firstElementChild)},a=function(e){if(null===e.querySelector('option[value="en"]')){var t=e.querySelector('option[value="et"]');t&&t.after((0,r.createElement)("option",{innerText:"English",value:"en"}))}},i=function(){var e=document.querySelector("#content h1:first-of-type"),t=document.getElementById("content");
1if(e||t){var n,l,o=(0,r.createElement)("div",{id:"remote-translate-container",classes:["translate-wrap"],tabIndex:0,style:{display:"none"}}),a=(0,r.createElement)("div",{classes:["content-translate-container"]}),i=(0,r.createElement)("div",{classes:["translate-button-input"]}),s=(0,r.createElement)("button",{type:"button",classes:["translate-toggle"],ariaControls:"remote-translate-container",ariaExpanded:"false",handlers:[{type:"focusout",listener:function(e){e.relatedTarget||i.contains(e.relatedTarget)||(i.classList.remove("active"),s.ariaExpanded="false",o.style.display="none")}}],children:[(0,r.createElement)("i",{classes:["fas","fa-globe"],ariaHidden:"true"}),(0,r.createElement)("span",{innerText:"Translate This Page"})]});i.appendChild(s),i.appendChild(o),a.appendChild(i),e&&e.nextElementSibling?null==(n=e.parentElement)||n.insertBefore(a,e.nextElementSibling):e?null==(l=e.parentElement)||l.append(a):null==t||t.insertBefore(a,t.firstElementChild)}},s=function(){var t=document.querySelectorAll(".remote-translate-element select"),l=document.querySelector("#google_translate_element select"),r=e();t.forEach(function(e){r&&"en"!==r&&(n(e),a(e),e.value=r),e.addEventListener("change",function(r){var o;n(e),a(e),(null==(o=r.target)?void 0:o.value)&&(t.forEach(function(e){return e.value=r.target.value}),l&&(l.value=r.target.value,l.dispatchEvent(new Event("change"))))})}),null==l||l.addEventListener("change",function(e){return Array.prototype.forEach.call(t,function(t){var n;(null==(n=e.target)?void 0:n.value)===""&&o(t),t.value=e.target.value})}),new MutationObserver(function(e){return e.forEach(function(e){"attributes"!==e.type||e.target.classList.contains("translated-rtl")||e.target.classList.contains("translated-ltr")||Array.prototype.forEach.call(t,function(e){o(e),e.value=""})})}).observe(document.documentElement,{attributeFilter:["class"]});var i=new MutationObserver(function(e){return e.forEach(function(e){var t=!0,n=!1,l=void 0;try{for(var r,o=e.addedNodes[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a,s=r.value;if("DIV"===s.tagName&&s.classList.contains("skiptranslate")&&(null==(a=s.firstElementChild)?void 0:a.tagName)==="IFRAME"&&s.firstElementChild.classList.contains("skiptranslate")){var d=s.firstElementChild;d.title||(d.title="Language Translate Widget"),i.disconnect()}}}catch(e){n=!0,l=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw l}}})});i.observe(document.documentElement,{childList:!0,subtree:!0})},d=function(){document.querySelectorAll(".translate-toggle").forEach(function(e){var t;if((null==(t=e.ariaControlsElements)?void 0:t[0])&&(e.addEventListener("click",function(){var t,n,l,r;"true"===e.ariaExpanded?(e.ariaExpanded="false",(null==(t=e.ariaControlsElements)?void 0:t[0])&&(e.ariaControlsElements[0].style.display="none"),(null==(n=e.parentElement)?void 0:n.classList.contains("translate-button-input"))&&e.parentElement.classList.remove("active")):(e.ariaExpanded="true",(null==(l=e.ariaControlsElements)?void 0:l[0])&&e.ariaControlsElements[0].style.removeProperty("display"),(null==(r=e.parentElement)?void 0:r.classList.contains("translate-button-input"))&&e.parentElement.classList.add("active"))}),e.classList.contains("desktop-translate-toggle"))){var n=document.querySelector("header .header-top")?document.querySelector("header .header-top"):document.querySelector("header");n&&(n.addEventListener("mouseleave",function(){var t,n;e.ariaExpanded="false",(null==(t=e.ariaControlsElements)?void 0:t[0])&&(e.ariaControlsElements[0].style.display="none"),(null==(n=e.parentElement)?void 0:n.classList.contains("translate-button-input"))&&e.parentElement.classList.remove("active")}),n.addEventListener("focusout",function(t){if(!t.relatedTarget||!n.contains(t.relatedTarget)){var l,r;e.ariaExpanded="false",(null==(l=e.ariaControlsElements)?void 0:l[0])&&(e.ariaControlsElements[0].style.display="none"),(null==(r=e.parentElement)?void 0:r.classList.contains("translate-button-input"))&&e.parentElement.classList.remove("active")}}))}})};window.googleTranslateElementInit=function(){new window.google.translate.TranslateElement({pageLanguage:"en"},"google_translate_element"),document.body.classList.contains("t-widget")&&i(),t(),s(),d()}}}),i("1P2tS",function(t,n){e(t.exports,"getCookie",function(){return l}),e(t.exports,"deleteCookie",function(){return r});var l=function(e){var t;return null==(t=document.cookie.split(";").map(function(e){return e.trim().split("=")}).find(function(t){return(null==t?void 0:t[0])===e}))?void 0:t[1]},r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";document.cookie="".concat(e,"=; Path=").concat(t,"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;")}});var s=a("hvZMf"),d=a("LCZef"),u=a("kFRv0"),c=a("eDoRc"),f=a("6fEYs"),v=document.querySelector("header .toggle-menu"),p=document.querySelector("header .toggle-search"),m=document.querySelector(".dropdowns"),y=document.querySelectorAll(".dropdowns .dropdown"),h=document.getElementById("dropdown-0"),g=document.getElementById("dropdown-search"),E=document.querySelector("#page header"),b=function(){document.documentElement.classList.remove("behind"),document.body.classList.remove("behind"),v&&(v.classList.remove("opened"),v.ariaExpanded="false"),p&&(p.classList.remove("opened"),p.ariaExpanded="false"),y.forEac
1h(function(e){return(0,d.hide)(e)}),(0,d.hide)(m,{removeClasses:["opened"]})},C=function(){document.documentElement.classList.remove("behind"),document.body.classList.remove("behind"),v&&(v.classList.remove("opened"),v.ariaExpanded="false"),p&&(p.classList.remove("opened"),p.ariaExpanded="false"),y.forEach(function(e){return(0,d.fadeOut)(e,200)}),(0,d.fadeOut)(m,200,{callback:function(){return null==m?void 0:m.classList.remove("opened")}})};null==v||v.addEventListener("click",function(){v.classList.contains("opened")?(v.classList.remove("opened"),v.ariaExpanded="false",document.documentElement.classList.remove("behind"),(0,d.fadeOut)(m,200,{removeClasses:["opened"]}),y.forEach(function(e){return(0,d.fadeOut)(e,200)})):(v.classList.add("opened"),v.ariaExpanded="true",document.documentElement.classList.add("behind"),(null==p?void 0:p.classList.contains("opened"))?(p.classList.remove("opened"),p.ariaExpanded="false",(0,d.fadeOut)(g,200,{callback:function(){y.forEach(function(e){return(0,d.hide)(e)}),(0,d.fadeIn)(h,200,{callback:function(){var e;return null==h||null==(e=h.querySelector("button, a"))?void 0:e.focus()}})}})):((0,d.fadeIn)(m,200,{addClasses:["opened"]}),(0,d.fadeIn)(h,200,{callback:function(){var e;return null==h||null==(e=h.querySelector("button, a"))?void 0:e.focus()}})))}),null==p||p.addEventListener("click",function(){p.classList.contains("opened")?(p.classList.remove("opened"),p.ariaExpanded="false",(0,d.fadeOut)(g,200,{callback:function(){document.documentElement.classList.remove("behind"),p.focus()}}),(0,d.fadeOut)(m,200,{removeClasses:["opened"]})):(p.classList.add("opened"),p.ariaExpanded="true",document.documentElement.classList.add("behind"),(null==v?void 0:v.classList.contains("opened"))?(v.classList.remove("opened"),v.ariaExpanded="false",y.forEach(function(e){return(0,d.fadeOut)(e)}),setTimeout(function(){return(0,d.fadeIn)(g,200,{callback:function(){var e;return null==(e=document.getElementById("search-terms-mobile"))?void 0:e.focus()}})},200)):(y.forEach(function(e){return(0,d.hide)(e)}),(0,d.fadeIn)(m,200,{addClasses:["opened"]}),(0,d.fadeIn)(g,200,{callback:function(){var e;return null==(e=document.getElementById("search-terms-mobile"))?void 0:e.focus()}})))}),window.addEventListener("resize",function(){return window.innerWidth>991&&b()}),(t=document.querySelectorAll("header .links-dropdowns button")).forEach(function(e){return e.addEventListener("click",function(){e.ariaExpanded="true",document.body.classList.add("behind"),(0,d.hide)(g),(0,d.show)(m,{addClasses:["opened"]});var t,n=null==(t=e.ariaControlsElements)?void 0:t[0];(0,d.fadeIn)(n,300,{callback:function(){var e;return null==n||null==(e=n.querySelector(".close-dropdowns"))?void 0:e.focus()}})})}),(n=document.querySelectorAll(".dropdowns .links-dropdowns button")).forEach(function(e){return e.addEventListener("click",function(t){var n;e.ariaExpanded="true",y.forEach(function(e){return(0,d.hide)(e)}),(0,d.fadeIn)(null==(n=e.ariaControlsElements)?void 0:n[0],300,{callback:function(){var t,n;return null==(n=e.ariaControlsElements)||null==(t=n[0].querySelector("button, a"))?void 0:t.focus()}})})}),document.querySelectorAll(".dropdowns .close-dropdowns").forEach(function(e){return e.addEventListener("click",function(){t.forEach(function(e){return e.ariaExpanded="false"}),n.forEach(function(e){return e.ariaExpanded="false"}),C();var e,l=(0,s._)(y).find(function(e){return(0,d.isVisible)(e)});
1l&&(null==(e=document.querySelector("button[aria-controls=".concat(l.id)))||e.focus())})}),document.querySelectorAll(".dropdowns .toggle-list").forEach(function(e){return e.addEventListener("click",function(){var t,n;"true"===e.ariaExpanded?(e.ariaExpanded="false",e.classList.remove("opened"),(0,d.slideUp)(null==(t=e.parentElement)?void 0:t.nextElementSibling,200)):(e.ariaExpanded="true",e.classList.add("opened"),(0,d.slideDown)(null==(n=e.parentElement)?void 0:n.nextElementSibling,200))})}),null==E||E.addEventListener("focusout",function(e){if(null==m?void 0:m.classList.contains("opened")){var t=(0,s._)(y).find(function(e){return(0,d.isVisible)(e)});e.relatedTarget&&((null==t?void 0:t.contains(e.relatedTarget))||E.contains(e.relatedTarget))||null==v||v.focus()}}),null==E||E.addEventListener("keydown",function(e){if((null==m?void 0:m.classList.contains("opened"))&&"Escape"===e.key){e.preventDefault();var t,n=(0,s._)(y).find(function(e){return(0,d.isVisible)(e)});C(),window.innerWidth<992?null==v||v.focus():n&&(null==(t=document.querySelector("button[aria-controls=".concat(n.id)))||t.focus())}}),null==v||v.addEventListener("keydown",function(e){if((null==m?void 0:m.classList.contains("opened"))&&"Tab"===e.key&&e.shiftKey){e.preventDefault();var t,n=(0,s._)(y).find(function(e){return(0,d.isVisible)(e)}),l=null==n?void 0:n.querySelectorAll("a, button, input");null==(t=(0,s._)(l).findLast(function(e){return(0,d.isVisible)(e)}))||t.focus()}}),null==p||p.addEventListener("keydown",function(e){if(null==m?void 0:m.classList.contains("opened")){var t,n=(0,s._)(y).find(function(e){return(0,d.isVisible)(e)});"Tab"!==e.key||e.shiftKey||(e.preventDefault(),null==n||null==(t=n.querySelector("a, button, input"))||t.focus())}}),y.forEach(function(e){e.addEventListener("keydown",function(t){if(null==m?void 0:m.classList.contains("opened"))if(window.innerWidth<992)if("Tab"===t.key){var n=null==e?void 0:e.querySelectorAll("a, button, input"),l=(0,s._)(n).findLast(function(e){return(0,d.isVisible)(e)}),r=(0,s._)(n).find(function(e){return(0,d.isVisible)(e)});t.shiftKey&&t.target===r?(t.preventDefault(),null==p||p.focus()):t.shiftKey||t.target!==l||(t.preventDefault(),null==v||v.focus())}else"Escape"===t.key&&(t.preventDefault(),C(),null==v||v.focus());else if("Tab"===t.key){var o,a=null==e?void 0:e.querySelectorAll("a, button, input"),i=(0,s._)(a).findLast(function(e){return(0,d.isVisible)(e)}),u=(0,s._)(a).find(function(e){return(0,d.isVisible)(e)});t.shiftKey&&t.target===u?(t.preventDefault(),null==i||i.focus()):t.shiftKey||t.target!==i||(t.preventDefault(),null==u||u.focus())}else"Escape"===t.key&&(t.preventDefault(),C(),null==(o=document.querySelector("button[aria-controls=".concat(e.id)))||o.focus())}),e.addEventListener("focusout",function(t){t.relatedTarget&&(e.contains(t.relatedTarget)||(null==E?void 0:E.contains(t.relatedTarget)))||null==v||v.focus()})}),(0,u.initCommonHandlers)(),(0,f.initTranslationHandlers)(),(0,c.initPrintHandlers)()}();
2//# sourceMappingURL=MainSite.js.map

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.