1(function(){"use strict";if(window.ndsSelect&&typeof window.ndsSelect.scan=="function"){window.ndsSelect.scan();return}var O=500,q=300,_=8,u=[];function k(i){if(i.getAttribute("data-ds-select-ready")==="true")return;var r=i.querySelector("[data-ds-select-trigger]"),n=i.querySelector("[data-ds-select-list]"),d=i.querySelector("[data-ds-select-value]");if(!r||!n||r.disabled)return;var v=n.getAttribute("aria-multiselectable")==="true",c=Array.prototype.slice.call(i.querySelectorAll("[data-ds-select-input]")),g=d&&d.getAttribute("data-placeholder")||"",a=Array.prototype.slice.call(n.querySelectorAll('[role="option"]')),o=-1,A="",y=null;i.setAttribute("data-ds-select-ready","true");function m(){return!n.hidden}function R(){for(var e=0;e<a.length;e++)if(a[e].getAttribute("aria-selected")==="true")return e;return-1}function p(e){a.length!==0&&(e<0&&(e=0),e>a.length-1&&(e=a.length-1),o>=0&&a[o]&&a[o].removeAttribute("data-active"),o=e,a[e].setAttribute("data-active","true"),r.setAttribute("aria-activedescendant",a[e].id),F(a[e]))}function F(e){var t=e.offsetTop,l=t+e.offsetHeight,f=n.scrollTop,s=f+n.clientHeight;t<f?n.scrollTop=t:l>s&&(n.scrollTop=l-n.clientHeight)}function b(e){B(i),n.hidden=!1,P(),r.setAttribute("aria-expanded","true"),p(e)}function P(){var e=r.getBoundingClientRect(),t=M(r),l=t.bottom-e.bottom,f=e.top-t.top;n.style.maxHeight="";var s=parseFloat(window.getComputedStyle(n).maxHeight);(!(s>0)||!isFinite(s))&&(s=q);var w=s>l&&f>l,S=(w?f:l)-_;S<0&&(S=0),n.style.maxHeight=Math.min(s,S)+"px",w?n.setAttribute("data-placement","top"):n.removeAttribute("data-placement")}function h(){m()&&(n.hidden=!0,n.style.maxHeight="",n.removeAttribute("data-placement"),r.setAttribute("aria-expanded","false"),r.removeAttribute("aria-activedescendant"),o>=0&&a[o]&&a[o].removeAttribute("data-active"),o=-1)}function G(){for(var e=[],t=0;t<a.length;t++)a[t].getAttribute("aria-selected")==="true"&&e.push(a[t].getAttribute("data-label")||"");return e}function x(){var e=G();d&&(d.textContent=e.length?e.join(", "):g),r.setAttribute("data-filled",e.length?"true":"false"),e.length&&i.getAttribute("data-error")==="true"&&(i.setAttribute("data-error","false"),r.setAttribute("aria-invalid","false"))}function U(e){var t=a[e],l=t.getAttribute("aria-selected")!=="true";t.setAttribute("aria-selected",l?"true":"false"),c[e]&&(c[e].disabled=!l,c[e].dispatchEvent(new Event("change",{bubbles:!0}))),x()}function C(e){if(!(e<0||e>=a.length)){if(v){U(e),r.focus();return}for(var t=a[e],l=0;l<a.length;l++)a[l].setAttribute("aria-selected",l===e?"true":"false");c[0]&&(c[0].value=t.getAttribute("data-value")||"",c[0].dispatchEvent(new Event("change",{bubbles:!0}))),x(),h(),r.focus()}}function E(){var e=R();return e>=0?e:0}function H(e){if(a.length!==0){A+=e.toLowerCase(),y&&clearTimeout(y),y=setTimeout(function(){A=""},O);var t=o>=0?o+1:0,l=A;l.length>1&&/^(.)\1+$/.test(l)?l=l[0]:l.length>1&&(t=o>=0?o:0);for(var f=0;f<a.length;f++){var s=(t+f)%a.length,w=(a[s].getAttribute("data-label")||"").toLowerCase();if(w.indexOf(l)===0){p(s);return}}}}function X(e){var t=e.key,l=t.length===1&&!e.ctrlKey&&!e.metaKey&&!e.altKey;if(!m()){t==="Enter"||t===" "||t==="ArrowDown"||t==="ArrowUp"?(e.preventDefault(),b(E())):t==="Home"?(e.preventDefault(),b(0)):t==="End"?(e.preventDefault(),b(a.length-1)):l&&t!==" "&&(b(E()),H(t));return}t==="ArrowDown"?(e.preventDefault(),p(o+1)):t==="ArrowUp"?(e.preventDefault(),p(o-1)):t==="Home"?(e.preventDefault(),p(0)):t==="End"?(e.preventDefault(),p(a.length-1)):t==="Enter"||t===" "?(e.preventDefault(),C(o)):t==="Escape"?(e.preventDefault(),h()):t==="Tab"?h():l&&(e.preventDefault(),H(t))}r.addEventListener("click",function(){m()?h():b(E())}),r.addEventListener("keydown",X),a.forEach(function(e,t){e.addEventListener("click",function(){C(t)}),e.addEventListener("mousemove",function(){o!==t&&p(t)})}),u.push({root:i,close:h,isOpen:m})}function B(i){for(var r=0;r<u.length;r++)u[r].root!==i&&u[r].isOpen()&&u[r].close()}function I(i){for(var r=0;r<u.length;r++)u[r].isOpen()&&!u[r].root.contains(i.target)&&u[r].close()}function T(i){return i==="auto"||i==="scroll"||i==="hidden"}
1function K(){var i=0,r=window.innerHeight,n=window.visualViewport;return n&&(i=n.offsetTop,r=n.offsetTop+n.height),{top:i,bottom:r}}function M(i){for(var r=K(),n=r.top,d=r.bottom,v=i.parentElement;v&&v!==document.documentElement;){var c=window.getComputedStyle(v);if(T(c.overflowY)||T(c.overflowX)){var g=v.getBoundingClientRect();g.top>n&&(n=g.top),g.bottom<d&&(d=g.bottom)}v=v.parentElement}return{top:n,bottom:d}}function L(){for(var i=document.querySelectorAll("[data-ds-select]"),r=0;r<i.length;r++)k(i[r])}function D(){L(),document.addEventListener("pointerdown",I)}window.ndsSelect={scan:L},document.readyState==="loading"?document.addEventListener("DOMContentLoaded",D):D()})();
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.