1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3236],{441:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var a=i(4911),n=i(7541),o=i.n(n);const s=(t,e,i,a)=>`\n\t<li class="Select__item">\n\t\t<div class="Select__button js-button" role="radio" aria-checked="false" data-label="${t}">\n\t\t\t<svg>\n\t\t\t\t<use xlink:href="#check-rounded" href="#check-rounded"></use>\n\t\t\t</svg>\n\t\t\t${t}\n\t\t\t<div class="d-none"><input type="radio" name="${a}" value="${e}"></div>\n\t\t</div>\n\t</li>\n`;class r extends a.oj{constructor(t){super(t,"RadioGroupBlock"),this.radiogroup=null}init(){super.init(),this.tagger=JSON.parse(this.rootElement.getAttribute("data-tagger"))||[],this.name=this.rootElement.getAttribute("data-name")||"",this.initPlugins()}initPlugins(){const{tagger:t,name:e}=this;this.radiogroup=new(o())(this.rootElement,{tagger:t,name:e,template:s}),this.radiogroup.init()}initEvents(){super.initEvents(),this.radiogroup.radios.map(t=>t.on("Radio.activate",t=>{const e=new CustomEvent("RadioGroupBlock.change",{detail:{item:t}});this.rootElement.dispatchEvent(e)})),this.rootElement.addEventListener("WidgetBookAFlight.activate",t=>{const{detail:e}=t;this.radiogroup.deactivateAll(),this.radiogroup.radios.forEach((t,i)=>{t.$input.value===e&&(t.activate(),t.emit("Radio.activate",t.rootElement),this.radiogroup.current=i)})})}}}}]);
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.