1(()=>{"use strict";const t=(e,...a)=>a.length>=e.length?e(...a):t.bind(void 0,e,...a),e=t((t,e)=>Array.isArray(e)?e.map(t):t(e)),a=(t((t,e)=>Array.isArray(e)?e.filter(t):t(e)?e:void 0),(t,...e)=>t.bind(void 0,...e)),n=(...t)=>function(e){return t.reduce((t,e)=>e.apply(this,[t]),e)},i=t((t,e)=>e[t]),s=(t((t,e)=>e<t),t((t,e,a)=>(a[t]=e,a)),(t,e,a)=>t(a)?s(t,e,e(a)):a),o=(t((t,e)=>e/t),t((t,e)=>e*t),t((t,e)=>-1!==t.indexOf(e)),t((t,e)=>t<0?e[e.length+t]:e[t])),r=(n((o(1),o(-1)),t((t,e)=>e+t)(1)),t=>Array.prototype.slice.call(t)),l=t((t,a)=>e(e=>(e.classList.add(t),e),a)),c=(t((t,a)=>e(e=>t.appendChild(e),a)),t((t,e,a)=>(a.style[t]=e,a))("display","none"),t((t,e)=>getComputedStyle(e)[t]),i("clientHeight"),t((t,e)=>e.classList.contains(t)),(t,e)=>e.getAttribute(t)),d=(t(c),t((t,e,a)=>(a.setAttribute(t,e),a))),h=(t((t,e)=>{e.removeAttribute(t)}),t((t,e)=>c("data-"+t,e)),t((t,e,a)=>d("data-"+t,e,a)),(t,e,a,n)=>(n.addEventListener(t,e,a),n)),b=(t,e,a,n)=>(n.removeEventListener(t,e,a),n),g=(t,e)=>{const a=["matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector"];for(const n of a)if("function"==typeof e[n])return e[n](t);return!1},p=t((t,n,i)=>e(a(h,t,n,{}),i)),v=(t((t,n,i)=>e(a(b,t,n,{}),i)),t((t,n,i)=>e(a(h,t,n,{passive:!0}),i)),t((t,n,i)=>e(a(h,t,n,!0),i)),t((t,e)=>s(e=>e&&!g(t,e)&&e.parentNode,t=>t.parentNode===document?null:t.parentNode,e.parentNode)),(t,e,a,n)=>h(t,t=>{const i=s(t=>t&&t!==document&&!g(a,t)&&t.parentNode,t=>t.parentNode,t.target);i!==document&&g(a,i)&&e.apply(n,[t])},{},n)),u=(t((t,n,i,s)=>e(a(v,t,n,i),s)),t((t,a)=>e(e=>(e.classList.remove(t),e),a))),T=(t((t,a)=>e(e=>(e.classList.toggle(t),e),a)),(t,e=document)=>r(e.querySelectorAll(t))),f=(n(i("children"),r),i("parentNode"),i("offsetTop"),i("value"),"undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iPad|iPhone|iPod/.test(window.navigator.platform)||"MacIntel"===navigator.platform&&navigator),"tab-title"),m="active";class y extends HTMLElement{constructor(){super(),this.tabTriggers=T(f,this),this.tabContents=T("tab-content",this),this.tabInTab=this.dataset.tabInTab,this.tabTriggers.length>0&&this.tabContents.length>0&&(this.initActiveTab(),this.handleActiveTab(),this.tabInTab&&this.handleTabInTab())}initActiveTab(){const t=+this.getAttribute("data-active-index-default");this.activeTabByIndex(t)}activeTabByIndex(t){l(m,this.tabTriggers[t]),l(m,this.tabContents[t])}inactiveAllTab(){u(m,this.tabTriggers),u(m,this.tabContents)}handleActiveTab(){this.tabTriggers.forEach((t,e)=>{p("click",t=>{t.stopPropagation(),this.inactiveAllTab(),this.activeTabByIndex(e)},t)})}handleTabInTab(){var t;null===(t=this.tabContents)||void 0===t||t.forEach(t=>{const e=T("ul li",t),a=T("table",t);e.length>0&&l(m,e[0]),a.length>0&&l(m,a[0]),e.length>0&&a.length>0&&e.forEach((t,n)=>{p("click",()=>{u(m,e),u(m,a),l(m,e[n]),l(m,a[n])},t)}),this.wrapTableTabContent(a)})}wrapTableTabContent(t){const e=document.createElement("div");if(l("table-contents",e),(null==t?void 0:t.length)>0)for(let a=0;a<t.length;a++)t[a].parentNode.insertBefore(e,t[a]),e.appendChild(t[a])}}customElements.define("tab-list",y)})(); 2//# sourceMappingURL=module-tab-list.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.