{"version":3,"sources":["../../src/app/components/accordion/accordion.ts"],"names":["idx","AccordionTab","accordion","changeDetector","this","cache","selectedChange","EventEmitter","transitionOptions","id","Object","defineProperty","prototype","_selected","val","loaded","markForCheck","ngAfterContentInit","_this","templates","forEach","item","getType","contentTemplate","template","headerTemplate","toggle","event","disabled","index","findTabIndex","selected","onClose","emit","originalEvent","multiple","i","tabs","length","onOpen","updateActiveIndex","preventDefault","headerFacet","onKeydown","which","ngOnDestroy","splice","Component","args","selector","animations","trigger","state","style","height","overflow","transition","animate","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","Inject","forwardRef","Accordion","ChangeDetectorRef","Input","Output","ContentChildren","Header","PrimeTemplate","el","expandIcon","collapseIcon","activeIndexChange","initTabs","tabListSubscription","tabList","changes","subscribe","_","toArray","updateSelectionState","getBlockableElement","nativeElement","children","_activeIndex","preventActiveIndexPropagation","includes","tab","push","unsubscribe","ElementRef","NgModule","imports","CommonModule","exports","SharedModule","declarations"],"mappings":"mhBAQA,IAAIA,EAAc,eAyFd,SAAAC,EAAiDC,EAAkBC,GAAAC,KAAAD,eAAAA,EAtC1DC,KAAAC,OAAiB,EAEhBD,KAAAE,eAAoC,IAAIC,EAAAA,aAEzCH,KAAAI,kBAA4B,uCA4BrCJ,KAAAK,GAAa,kBAAkBT,IAO3BI,KAAKF,UAAYA,SA3BrBQ,OAAAC,eAAaV,EAAAW,UAAA,WAAQ,KAArB,WACI,OAAOR,KAAKS,eAGhB,SAAaC,GACTV,KAAKS,UAAYC,EAEZV,KAAKW,SACFX,KAAKS,WAAaT,KAAKC,QACvBD,KAAKW,QAAS,GAGlBX,KAAKD,eAAea,iDAkB5Bf,EAAAW,UAAAK,mBAAA,WAAA,IAAAC,EAAAd,KACIA,KAAKe,UAAUC,SAAQ,SAACC,GACpB,OAAOA,EAAKC,WACR,IAAK,UACDJ,EAAKK,gBAAkBF,EAAKG,SAChC,MAEA,IAAK,SACDN,EAAKO,eAAiBJ,EAAK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AAA,0BAEAA,EAAAA,0BAEAA,EAAAA,4BAEAA,EAAAA,iCAEAC,EAAAA,wBAEAC,EAAAA,gBAAetB,KAAA,CAAC/C,wBA8BhBmE,EAAAA,eA2DL,iCALC2B,EAAAA,SAAQ/C,KAAA,CAAC,CACNgD,QAAS,CAACC,EAAAA,cACVC,QAAS,CAAChC,EAAUjE,EAAakG,EAAAA,cACjCC,aAAc,CAAClC,EAAUjE","sourcesContent":["import { NgModule, Component, ElementRef, AfterContentInit, OnDestroy, Input, Output, EventEmitter, \n ContentChildren, QueryList, ChangeDetectorRef, Inject, forwardRef, TemplateRef, ViewRef, ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';\nimport { trigger, state, style, transition, animate } from '@angular/animations';\nimport { CommonModule } from '@angular/common';\nimport { SharedModule, Header, PrimeTemplate } from 'primeng/api';\nimport { BlockableUI } from 'primeng/api';\nimport { Subscription } from 'rxjs';\n\nlet idx: number = 0;\n\n@Component({\n selector: 'p-accordionTab',\n template: `\n