{"version":3,"sources":["tabSwitcher.1.3.js"],"names":["TabSwitcher","Selector","UserOptions","_","this","DefaultOptions","Tabs","Divs","RemoveEmpty","BeforeSwitch","AfterSwitch","InArray","Needle","HayStack","indexOf","HasValue","Var","length","Merge","Object0","Object1","Object2","Keys0","Object","keys","Keys1","i","SingleSwitcher","Root","__","ActivePanel","SwitchHappening","NextFrame","CallBack","window","requestAnimationFrame","e","setTimeout","AnimateHeight","Element","Duration","Height","StartHeight","StartTime","offsetHeight","Date","now","scrollHeight","Ratio","Math","min","style","height","Options","toLowerCase","DoSwitch","event","preventDefault","stopImmediatePropagation","Clicked","Target","InitialHeight","target","msMatchesSelector","parentNode","matches","querySelector","getAttribute","Active","classList","remove","setAttribute","display","add","forEach","Tab","document","textContent","replace","removeChild","querySelectorAll","children","Initialise","ToActivate","overflow","id","addEventListener","Switcher"],"mappings":"AAmCA,IAAIA,YAAc,SAASC,EAAUC,GAEpC,IAAIC,EAAIC,KAERD,EAAEE,eAAiB,CAClBC,KAAO,WACPC,KAAO,YACPC,aAAc,EACdC,aAAe,KACfC,YAAc,MAGfP,EAAEQ,QAAU,SAASC,EAAQC,GAC5B,OAAmC,EAA5BA,EAASC,QAAQF,IAGzBT,EAAEY,SAAW,SAASC,GACrB,YAAmB,IAAV,IAES,OAARA,IAEQ,KAARA,IAEgB,iBAAV,IAEU,kBAAV,KAELA,EAAIC,YAOhBd,EAAEe,MAAQ,SAASC,EAASC,GAG3BA,OAA8B,IAAd,EAA4B,GAAKA,EAQjD,IANA,IAAIC,EAHJF,OAA8B,IAAd,EAA4B,GAAKA,EAMjDG,EAAQC,OAAOC,KAAKL,GACpBM,EAAQF,OAAOC,KAAKJ,GACpBM,EAAIJ,EAAML,OACJS,KACLA,EACGvB,EAAEQ,QAAQW,EAAMI,GAAID,IACnBtB,EAAEY,SAASK,EAAQE,EAAMI,OAC3BL,EAAQC,EAAMI,IAAMN,EAAQE,EAAMI,KAIrC,OAAOL,GAGRlB,EAAEwB,eAAiB,S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