PageSourceSearch

https://gohighlanders.com/_nuxt/BNGBAOvu.js

js gohighlanders.com collected 2026-10-02 08:33:30 UTC 8,682 bytes, 11 lines download raw bytes

1import{zt as e}from"./BaBhFZm2.js";import{S as t,at as n,y as r}from"./DGJ9b2SS.js";var i=e=>e?e.replace(/(<script([\s\S])*?<\/script>)|(<style([\s\S])*?<\/style>)|(<!--([\s\S])*?-->)|(<\/?([\s\S])*?>)/g,``):``,a=(e,t)=>{let n=t.value;e.innerHTML=i(n)},o={mounted(e,t){if(typeof t.value!=`function`){console.warn(`A function must be provided to the click outside directive`);return}e.vClickOutsideHandler=n=>{e==n.target||e.contains(n.target)||(t.modifiers.prevent?n.preventDefault():t.modifiers.stop&&n.stopPropagation(),t.value())},window.addEventListener(`click`,e.vClickOutsideHandler,!0)},beforeUnmount(e){window.removeEventListener(`click`,e.vClickOutsideHandler,!0)}},s=`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`,c=(e,t)=>{e.key===`Tab`&&e.shiftKey&&(e.preventDefault(),t.focus_trap_elements.last.focus())},l=(e,t)=>{e.key===`Tab`&&!e.shiftKey&&(e.preventDefault(),t.focus_trap_elements.first.focus())},u=e=>{let t=e.querySelectorAll(s);t.length&&(e.focus_trap_elements={first:t[0],last:t[t.length-1]},e.focus_trap_elements.first.addEventListener(`keydown`,t=>{c(t,e)}),e.focus_trap_elements.last.addEventListener(`keydown`,t=>{l(t,e)}))},d=e(null),f={mounted(e,t){u(e),(t?.value?.autofocus??!0)&&(d.value=document.activeElement,e?.focus_trap_elements?.first&&e.focus_trap_elements.first.focus())},beforeUpdate(e){e.focus_trap_elements&&(e.focus_trap_elements.first.removeEventListener(`keydown`,()=>{}),e.focus_trap_elements.first.removeEventListener(`keydown`,()=>{}),e.focus_trap_elements.first=null,e.focus_trap_elements.last=null)},updated(e){u(e)},beforeUnmount(){d.value&&document.activeElement!==d.value&&d.value.focus()}},p=`data-focus-trap-sentinel`,m=`button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([${p}])`,h=e=>Array.from(e.querySelectorAll(m)),g=(e,t)=>{if(t){let n=e.querySelector(t);if(n)return n}return h(e)[0]},_=()=>{let e=document.createElement(`span`);return e.setAttribute(`tabindex`,`0`),e.setAttribute(p,``),e.style.cssText=`position:fixed;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;`,e},v=e=>{e._focus_trap_first_sentinel?.remove(),e._focus_trap_last_sentinel?.remove(),e._focus_trap_focusin&&document.removeEventListener(`focusin`,e._focus_trap_focusin,!0),delete e._focus_trap_first_sentinel,delete e._focus_trap_last_sentinel,delete e._focus_trap_focusin},y=(e,t,n)=>{let r=!t,i=_();i.addEventListener(`focus`,()=>{let t=h(e);t[t.length-1]?.focus()});let a=_();a.addEventListener(`focus`,()=>{let t=h(e);(g(e,n)??t[0])?.focus()}),e._focus_trap_first_sentinel=i,e._focus_trap_last_sentinel=a,e.prepend(i),e.append(a);let o=t=>{let i=t.target;if(i){if(e.contains(i)){r=!0;return}r&&g(e,n)?.focus()}};e._focus_trap_focusin=o,document.addEventListener(`focusin`,o,!0)},b={mounted(e,t){let n=t?.value??{},r=n.autofocus??!0,i=n.focusTarget;y(e,r,i),e._focus_trap_return_focus=document.activeElement instanceof HTMLElement?document.activeElement:null,r&&g(e,i)?.focus()},updated(e,t){if(!e._focus_trap_first_sentinel?.isConnected||!e._focus_trap_last_sentinel?.isConnected){let n=t?.value??{},r=n.autofocus??!0,i=n.focusTarget;v(e),y(e,r,i)}},beforeUnmount(e){v(e),e._focus_trap_return_focus&&document.activeElement!==e._focus_trap_return_focus&&e._focus_trap_return_focus.focus(),delete e._focus_trap_return_focus}},x=(e,n=`DD`)=>e?t.fromISO(e.toString()).toFormat(n):``,S=(e,t)=>{t||=window?.location.origin;let n={youtube:e.youtube,Archive:e.archive,Id:e.endeavor,autoplay:e.autoplay,controls:e.controls,live:e.live};return Object.keys(n).forEach(e=>{(n[e]===void 0||n[e]===null)&&delete n[e]}),`${t}/showcase/embed.aspx?${r(n)}`},C=e=>{if(e.key!==`Enter`&&e.key!==` `)return;e.preventDefault();let t=e.target,n=t.tagName===`IFRAME`?t:t.querySelector(`iframe`);if(!n)return;let r=n.contentDocument||n.contentWindow?.document;if(r){let e=r.querySelector(`video`);e&&(e.paused?e.play():e.pause())}},w=new WeakMap,T=e=>{if(e.getElementById(`sidearm-jw-focus-styles`))return;let t=e.createElement(`style`);t.id=`sidearm-jw-focus-styles`,t.textContent=`
2    .jw-button-color:not(.jw-logo-button):focus-visible,
3    .jw-icon:focus-visible,
4    .jw-skip:focus-visible,
5    .jw-toggle:focus-visible {
6      box-shadow: 0 0 0 4px #000 !important;
7      outline: 2px solid #fff !important;
8      outline-offset: 2px;
9      z-index: 10;
10    }
11  `,e.head.appendChild(t)},E={mounted(e,t){let n=t.value.showcase,r=t.value.baseURL,i=t.value.options,a=document.querySelector(`button.c-featured__modal__close`);if(!n||e.querySelector(`.showcase-video-player`))return;let o=document.createElement(`iframe`);if(o.addEventListener(`load`,()=>{try{let e=o.contentDocument;if(!e||!e.head)return;w.get(o)?.disconnect(),w.delete(o),T(e);let t=new MutationObserver(n=>{if(!n.some(e=>[...e.addedNodes].some(e=>{let t=e.tagName;return t===`STYLE`||t===`LINK`})))return;let r=e.getElementById(`sidearm-jw-focus-styles`);r&&r!==e.head.lastElementChild&&(t.disconnect(),r.remove(),T(e),t.observe(e.head,{childList:!0}))});t.observe(e.head,{childList:!0}),w.set(o,t)}catch(e){if(e instanceof DOMException&&e.name===`SecurityError`)console.warn(`[showcase-player] style injection skipped (cross-origin iframe)`);else throw e}}),o.src=S(n,r),o.allowFullscreen=!0,o.classList.add(`showcase-video-player`),o.frameBorder=`0`,o.title=`Video Player`,n.autoplay&&(o.allow=`auto
11play`),i&&i.append_button){n.append_button=!0;let t=document.createElement(`button`);t.type=`button`,t.addEventListener(`click`,e=>{e.preventDefault()}),t.innerText=`Play Video`,o.style.display=`none`,e.appendChild(t)}n.element=e,n.target=o,e.appendChild(o),e.addEventListener(`keydown`,C),o.addEventListener(`load`,()=>{try{let t=o.contentWindow;if(!t)return;t.addEventListener(`focusin`,()=>e.classList.add(`has-video-focus`),!0),t.addEventListener(`focusout`,t=>{t.relatedTarget||e.classList.remove(`has-video-focus`)},!0)}catch{}}),o.addEventListener(`focus`,()=>e.classList.add(`has-video-focus`)),o.addEventListener(`blur`,()=>e.classList.remove(`has-video-focus`));let s=()=>{a?a.focus():e.focus()},c=t=>{let n=t.target;n&&(e.contains(n)||s())};document.addEventListener(`focusin`,c,!0),o._showcase_focus_restore=s,o._showcase_focus_focusin=c},updated(e,t){let n=t.value.showcase,r=t.value.baseURL,i=e.querySelector(`.showcase-video-player`);if(!n){i&&i.remove();return}i?.getAttribute(`src`)!==S(n,r)&&i?.setAttribute(`src`,S(n,r))},unmounted(e){e.removeEventListener(`keydown`,C);let t=e.querySelector(`.showcase-video-player`);if(t){let e=t._showcase_focus_focusin;e&&document.removeEventListener(`focusin`,e,!0),delete t._showcase_focus_restore,delete t._showcase_focus_focusin,w.get(t)?.disconnect(),w.delete(t)}}},D=e=>e.nodeType===document.TEXT_NODE?e.textContent?e.textContent.length:0:[...e.childNodes].map(e=>D(e)).reduce((e,t)=>e+t,0),O=(e,t=50)=>{if(!e)return[];let n=[],r=0,i=!1,a=new DOMParser().parseFromString(e,`text/html`).body;try{if(a){a.querySelectorAll(`img`).forEach(e=>e.remove());let e=a.childNodes;if(e.length&&(e.forEach(e=>{if(e.nodeType===a.TEXT_NODE){if(e.textContent){let a=e.textContent.split(` `);for(let[e,o]of a.entries()){let a=document.createTextNode(e>0?` ${o}`:o);r<t?(n.push(a),r+=D(a)):i=!0}}}else r<t?(r+=D(e),n.push(e)):i=!0}),i)){let e=n.pop();e&&(e.textContent=`${e?.textContent}...`,n.push(e))}}}catch(e){console.warn(e)}return n},k=(e,t=50)=>{let n=document.createElement(`div`),r=O(e,t);return r.length&&r.forEach(e=>{n.append(e)}),n.innerHTML},A=(e,t)=>{let n=t.value;e.innerHTML=k(n,t.arg?Number.parseInt(t.arg):50)},j=(e,t=50)=>{if(!e)return null;let n=``,r=new DOMParser().parseFromString(e,`text/html`).body;try{r&&(r.querySelectorAll(`img`).forEach(e=>e.remove()),r.textContent&&(n=r.textContent.substr(0,t)))}catch(e){console.warn(e)}return n},M=(e,t)=>{let n=t.value;e.innerText=j(n,t.arg?Number.parseInt(t.arg):50)||n},N=``,P={mounted(e,t){if(n()){let n=e;N=t.value;let r=document.createElement(`span`);r.classList.add(`sidearm-tooltip`),r.innerText=`Copied`,r.setAttribute(`aria-hidden`,`true`),n.prepend(r);let i=e=>{if(e instanceof KeyboardEvent){if(e.key&&e.keyCode!==13)return}else e.preventDefault();let t=document.createElement(`textarea`);t.value=N,t.style.position=`fixed`,document.body.appendChild(t),t.focus(),t.select(),document.execCommand(`copy`),document.body.removeChild(t),e.currentTarget.focus(),n.classList.add(`is-copied`),setTimeout(function(){n.classList.remove(`is-copied`)},1500)};n.addEventListener(`keydown`,i),n.addEventListener(`click`,i)}},updated(e,t){N=t.value}};export{i as a,o as c,M as i,b as l,E as n,a as o,P as r,f as s,x as t,A as u};

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.