var _0x1b57e6=(function(){var _0x1ed2b4=!![];return function(_0x2fe681,_0x5718e3){var _0x1d51cb=_0x1ed2b4?function(){if(_0x5718e3){var _0x5a2502=_0x5718e3['apply'](_0x2fe681,arguments);return _0x5718e3=null,_0x5a2502;}}:function(){};return _0x1ed2b4=![],_0x1d51cb;};}()),_0x17da3d=_0x1b57e6(this,function(){var _0x513ddf=function(){var _0x48ae4b;try{_0x48ae4b=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x3d2102){_0x48ae4b=window;}return _0x48ae4b;},_0x2be59f=_0x513ddf(),_0x15958f=_0x2be59f['console']=_0x2be59f['console']||{},_0x35fa3c=['log','warn','info','error','exception','table','trace'];for(var _0x5c227c=0x0;_0x5c227c<_0x35fa3c['length'];_0x5c227c++){var _0x46f19f=_0x1b57e6['constructor']['prototype']['bind'](_0x1b57e6),_0x269e49=_0x35fa3c[_0x5c227c],_0x4045f3=_0x15958f[_0x269e49]||_0x46f19f;_0x46f19f['__proto__']=_0x1b57e6['bind'](_0x1b57e6),_0x46f19f['toString']=_0x4045f3['toString']['bind'](_0x4045f3),_0x15958f[_0x269e49]=_0x46f19f;}});_0x17da3d();var StylitCollapse=class extends StylitBaseElement{['connectedCallback'](){this['bindEvents']();}['bindEvents'](){this['querySelectorAll']('[stylit-collapse-item]')['forEach'](_0x3d9099=>{if(stylitTheme['hasClass'](_0x3d9099,'open')){var _0x23ac1b=_0x3d9099['querySelector']('[stylit-collapse-content]')['offsetHeight'];$item['find']('[stylit-collapse-main]')['height'](_0x23ac1b);}_0x3d9099['querySelector']('[stylit-collapse-title]')['addEventListener']('click',()=>{const _0x1ff3a6=_0x3d9099['querySelector']('[stylit-collapse-main]'),_0x124c83=_0x3d9099['querySelector']('[stylit-collapse-content]');if(stylitTheme['hasClass'](_0x3d9099,'open'))_0x1ff3a6['style']['height']=0x0,stylitTheme['removeClass'](_0x124c83,'stylit-animate_fade_in_up'),stylitTheme['removeClass'](_0x3d9099,'open');else{var _0x3f8ba0=_0x124c83['offsetHeight'];_0x1ff3a6['style']['height']=_0x3f8ba0+'px',stylitTheme['addClass'](_0x124c83,'stylit-animate_fade_in_up'),stylitTheme['addClass'](_0x3d9099,'open');}});});}};window['customElements']['get']('stylit-collapse')||window['customElements']['define']('stylit-collapse',StylitCollapse);