1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[606],{49606:(t,e,s)=>{s.r(e),s.d(e,{default:()=>d});var r=s(29915),i=s(86490);class n extends r.ZP{constructor(){super(...arguments)}toggle(){this.active||(super.toggle(),this.emiter.emit("open",this))}}class o extends i.Z{constructor(t){super(),this.container=t instanceof HTMLElement?t:document.querySelector(t);var e=[...this.container.querySelectorAll("[data-target]")];this.items=e.map((t=>new n(t))),this.items.forEach((t=>t.on("open",this._hideOtherToggle.bind(this))))}openIndex(t){var e=this.items[t];if(!e)throw new Error("Element with index ".concat(t," not found"));e.show(),this._hideOtherToggle(e)}getActiveTab(){return this.items.find((t=>t.active))}_hideOtherToggle(t){this.items.forEach((e=>{e!==t&&e.hide()})),this.emit("change",t)}}class l{constructor(t){this.scrollContainer=document.querySelector(t.scrollContainer),this.scrollButtonRight=this.scrollContainer.querySelector(t.scrollButtonRight),this.wrapper=this.scrollContainer.closest(t.wrapper),this.scrollButtonRight&&(this.scrollContainer.scrollWidth<=this.scrollContainer.clientWidth?this.scrollContainer.classList.add("is-no-scroll"):this.initEvents())}initEvents(){this.scrollButtonRight.addEventListener("click",(()=>{var t=this.scrollContainer.scrollWidth-this.scrollContainer.clientWidth;this.scrollContainer.scrollBy({left:t,behavior:"smooth"})}))}}var c=s(60507);function a(t,e,s,r,i,n,o){try{var l=t[n](o),c=l.value}catch(t){return void s(t)}l.done?e(c):Promise.resolve(c).then(r,i)}var h=function(){var t,e=(t=function*(){var t=document.querySelectorAll(".js-by-stars-slider-wrapper"),e=document.querySelectorAll(".js-by-stars-slider-slide");t.forEach((t=>t.classList.add("swiper-wrapper"))),e.forEach((t=>t.classList.add("swiper-slide")));var{Swiper:r}=yield Promise.resolve().then(s.bind(s,78592));yield s.e(70).then(s.bind(s,85070)),new r(".js-by-stars-slider",{slidesPerView:"auto",speed:400,spaceBetween:10})},function(){var e=this,s=arguments;return new Promise((function(r,i){var n=t.apply(e,s);function o(t){a(n,r,i,o,l,"next",t)}function l(t){a(n,r,i,o,l,"throw",t)}o(void 0)}))});return function(){return e.apply(this,arguments)}}();const d=()=>{new o(".js-tabs").openIndex(0),travel.isMobile()&&(0,c.Z)(document.querySelector(".js-tabs-scroll-wrapper"),(()=>{new l({scrollContainer:".js-tabs-scroll",scrollButtonRight:".js-tabs-scroll-btn",wrapper:".js-tabs-scroll-wrapper"}),h()}))}}}]);
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.