@ckeditor/ckeditor5-ai
Version:
AI features for CKEditor 5.
23 lines • 18.6 kB
JavaScript
/*
* Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
*
*
*
*
* +---------------------------------------------------------------------------------+
* | |
* | Hello stranger! |
* | |
* | |
* | What you're currently looking at is the source code of a legally protected, |
* | proprietary software. Any attempts to deobfuscate / disassemble this code |
* | are forbidden and will result in legal consequences. |
* | |
* | |
* +---------------------------------------------------------------------------------+
*
*
*
*
*/
const _0xa66336=_0x1b83;(function(_0x901e23,_0x29df2d){const _0x201b19=_0x1b83,_0xaaa950=_0x901e23();while(!![]){try{const _0xe9af67=parseInt(_0x201b19(0x14f))/0x1+-parseInt(_0x201b19(0x13d))/0x2*(parseInt(_0x201b19(0x115))/0x3)+parseInt(_0x201b19(0x16e))/0x4+parseInt(_0x201b19(0x154))/0x5*(-parseInt(_0x201b19(0x122))/0x6)+parseInt(_0x201b19(0x114))/0x7*(-parseInt(_0x201b19(0x11a))/0x8)+parseInt(_0x201b19(0x104))/0x9*(parseInt(_0x201b19(0x12d))/0xa)+parseInt(_0x201b19(0xf8))/0xb*(-parseInt(_0x201b19(0x160))/0xc);if(_0xe9af67===_0x29df2d)break;else _0xaaa950['push'](_0xaaa950['shift']());}catch(_0x5e94a6){_0xaaa950['push'](_0xaaa950['shift']());}}}(_0x5f30,0xe4869));import{View as _0xa7c5c,BalloonPanelView as _0x4b0f99,ButtonView as _0x164cae,clickOutsideHandler as _0x1a40ad}from'ckeditor5/src/ui.js';import{Collection as _0x53970b}from'ckeditor5/src/utils.js';function _0x5f30(){const _0x189d10=['set','5QhnBYt','appendChild','_bodyCollection','querySelector','isConnected','_updateBalloonContent','visible','absolute','forEach','_locale','_checkAndHandleOverflow','maxVisibleRows','12TcKofB','pop','classList','visible\x20!important','disconnect','createElement','showMoreButtonView','visibility','setContainerElement','showMoreBalloon','block\x20!important','width','0px','pointerEvents','5299072zLIWNV','top','+\x201','toLowerCase','_renderChipsAndCountRows','rowDetectionTolerance','_showMoreBalloonPanelView','_createCalculationContainer','controlsButton','-9999px','_pendingCalculation','add','_ancestorsToRestore','_makeAncestorsVisible','300px','cloneNode','bottom','opacity','_config','from','_createShowMoreButtonView','cssClasses','div','execute','getComputedStyle','border-box','isOn','tagName','_distributeChips','element','_isContainerVisible','remove','3584141PbrAvd','right','children','label','_handleShowMoreButtonClick','_repinBalloonPanel','_calculateOverflowInContainer','_calculateContainerWidth','showMoreLabelPrefix','showBalloonPanel','extendTemplate','_applyCalculationStyles','270BQAUFl','_testButtonFit','reorganizeChips','hidden','overflowChips','pin','show','_targetContainer','parentElement','showMoreButton','zIndex','length','button','_setupVisibilityObserver','_containerElement','offsetWidth','14ovNrZJ','401061KBnDRx','block','clientWidth','destroy','_parentView','3502928gAiXLI','_applyOverflowResults','none','overflowContainer','auto','abs','observe','_overflowChips','5472066XJPxoQ','setTemplate','filter','_findTargetContainer','boxSizing','50px','hide','calculationContainer','push','_restoreAncestorVisibility','content','217850LxpKlN','_updateShowMoreButtonVisibility','getBoundingClientRect','isIntersecting','_createShowMoreButton','textContent','innerHTML','isVisible','left','className','ck-calculation-container','display','_visibleChips','height','_createMockButton','body','4wOEblL','clientHeight','style','position','clear','innerWidth','documentElement','slice','includes','hideBalloonPanel','_createShowMoreBalloonPanelView','_showMoreButtonView','innerHeight','_updateOverflowUI','some','.ck-ai-chat','undefined','render','1338671dvGFdq','_intersectionObserver','_createContainerElements','disableAnimationOnEnter'];_0x5f30=function(){return _0x189d10;};return _0x5f30();}function _0x1b83(_0x58d242,_0x30921b){const _0x5f300b=_0x5f30();return _0x1b83=function(_0x1b83d9,_0x3b8893){_0x1b83d9=_0x1b83d9-0xf6;let _0x1c1b68=_0x5f300b[_0x1b83d9];return _0x1c1b68;},_0x1b83(_0x58d242,_0x30921b);}const hn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},an=_0xa66336(0x17c);export class AIChatChipsOverflowManager{[_0xa66336(0x15d)];[_0xa66336(0x180)];[_0xa66336(0x139)];[_0xa66336(0x121)];[_0xa66336(0x148)]=null;[_0xa66336(0x174)]=null;[_0xa66336(0x112)]=null;[_0xa66336(0x156)];[_0xa66336(0x119)]=null;[_0xa66336(0x150)]=null;[_0xa66336(0x178)]=!0x1;constructor(_0x3f28c8,_0x10775e,_0x44638f,_0x80087c,_0xd15ed){const _0x37d09e=_0xa66336;this[_0x37d09e(0x15d)]=_0x3f28c8,this[_0x37d09e(0x139)]=_0x10775e,this[_0x37d09e(0x180)]={...hn,..._0x44638f,'cssClasses':{'controlsButton':'','calculationContainer':_0x37d09e(0x137),..._0x44638f[_0x37d09e(0x183)]}},this[_0x37d09e(0x121)]=new _0x53970b(),this[_0x37d09e(0x156)]=_0x80087c,this[_0x37d09e(0x119)]=_0xd15ed||null;}[_0xa66336(0x168)](_0x22cf5c){const _0x1b52e0=_0xa66336;this[_0x1b52e0(0x150)]&&(this[_0x1b52e0(0x150)][_0x1b52e0(0x164)](),this[_0x1b52e0(0x150)]=null),this[_0x1b52e0(0x112)]=_0x22cf5c,this[_0x1b52e0(0x111)]();}get[_0xa66336(0x166)](){const _0x23482d=_0xa66336;return this[_0x23482d(0x148)];}get[_0xa66336(0x108)](){const _0x1d562e=_0xa66336;return this[_0x1d562e(0x121)];}[_0xa66336(0x106)](){requestAnimationFrame(()=>{const _0x80d3d=_0x1b83;this[_0x80d3d(0x15e)]();});}[_0xa66336(0x101)](){const _0x125fd3=_0xa66336;this[_0x125fd3(0x148)]&&this[_0x125fd3(0x174)]&&(this[_0x125fd3(0x159)](),this[_0x125fd3(0x148)][_0x125fd3(0x188)]=!0x0,this[_0x125fd3(0x174)][_0x125fd3(0x10a)](),this[_0x125fd3(0x174)][_0x125fd3(0x109)]({'target':this[_0x125fd3(0x148)][_0x125fd3(0x18b)],'limiter':document[_0x125fd3(0x157)](_0x125fd3(0x14c))}));}[_0xa66336(0x146)](){const _0x2989fc=_0xa66336;this[_0x2989fc(0x148)]&&this[_0x2989fc(0x174)]&&(this[_0x2989fc(0x148)][_0x2989fc(0x188)]=!0x1,this[_0x2989fc(0x174)][_0x2989fc(0x128)]());}[_0xa66336(0x141)](){const _0x13969d=_0xa66336;this[_0x13969d(0x121)][_0x13969d(0x141)](),this[_0x13969d(0x146)](),this[_0x13969d(0x12e)](),this[_0x13969d(0x148)]&&(this[_0x13969d(0x148)][_0x13969d(0xfb)]=''),this[_0x13969d(0x174)]&&this[_0x13969d(0x174)][_0x13969d(0x12c)][_0x13969d(0x141)]();}[_0xa66336(0x118)](){const _0x19863f=_0xa66336;this[_0x19863f(0x150)]&&(this[_0x19863f(0x150)][_0x19863f(0x164)](),this[_0x19863f(0x150)]=null),this[_0x19863f(0x148)]&&(this[_0x19863f(0x148)][_0x19863f(0x118)](),this[_0x19863f(0x148)]=null),this[_0x19863f(0x174)]&&(this[_0x19863f(0x174)][_0x19863f(0x118)](),this[_0x19863f(0x174)]=null);}[_0xa66336(0x15e)](){const _0x5beb0a=_0xa66336;if(!this[_0x5beb0a(0x112)])return;if(!this[_0x5beb0a(0xf6)]())return void(this[_0x5beb0a(0x178)]=!0x0);this[_0x5beb0a(0x178)]=!0x1;const _0x38fa47=[...this[_0x5beb0a(0x139)],...this[_0x5beb0a(0x121)]],_0x4d9b23=this[_0x5beb0a(0x175)](),_0x178a5a=this[_0x5beb0a(0xfe)](_0x4d9b23,_0x38fa47),_0xe17ed6=_0x4d9b23[_0x5beb0a(0x17a)];_0xe17ed6&&this[_0x5beb0a(0x12b)](_0xe17ed6),_0x4d9b23[_0x5beb0a(0xf7)](),this[_0x5beb0a(0x11b)](_0x38fa47,_0x178a5a);}[_0xa66336(0x131)](){const _0xb05b3c=_0xa66336;this[_0xb05b3c(0x148)]=this[_0xb05b3c(0x182)](),this[_0xb05b3c(0x174)]=this[_0xb05b3c(0x147)](),this[_0xb05b3c(0x148)][_0xb05b3c(0x14e)](),this[_0xb05b3c(0x112)][_0xb05b3c(0x155)](this[_0xb05b3c(0x148)][_0xb05b3c(0x18b)]),this[_0xb05b3c(0x148)]['on'](_0xb05b3c(0x185),()=>{const _0x49bb00=_0xb05b3c;this[_0x49bb00(0xfc)]();}),_0x1a40ad({'emitter':this[_0xb05b3c(0x174)],'contextElements':[this[_0xb05b3c(0x174)][_0xb05b3c(0x18b)],this[_0xb05b3c(0x148)][_0xb05b3c(0x18b)]],'callback':()=>this[_0xb05b3c(0x146)](),'activator':()=>this[_0xb05b3c(0x148)][_0xb05b3c(0x188)]});}[_0xa66336(0x182)](){const _0x25835c=_0xa66336,_0x26f92e=new _0x164cae(this[_0x25835c(0x15d)]);_0x26f92e[_0x25835c(0x153)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x3f1785=[this[_0x25835c(0x180)][_0x25835c(0x183)][_0x25835c(0x10d)]];return this[_0x25835c(0x180)][_0x25835c(0x183)][_0x25835c(0x176)]&&_0x3f1785[_0x25835c(0x12a)](this[_0x25835c(0x180)][_0x25835c(0x183)][_0x25835c(0x176)]),_0x26f92e[_0x25835c(0x102)]({'attributes':{'class':_0x3f1785}}),_0x26f92e;}[_0xa66336(0x147)](){const _0x4ee7ff=_0xa66336,_0x1637f9=new _0x4b0f99(this[_0x4ee7ff(0x15d)]);return _0x1637f9[_0x4ee7ff(0x102)]({'attributes':{'class':this[_0x4ee7ff(0x180)][_0x4ee7ff(0x183)][_0x4ee7ff(0x169)]}}),this[_0x4ee7ff(0x156)][_0x4ee7ff(0x179)](_0x1637f9),_0x1637f9;}[_0xa66336(0x159)](){const _0x44ae57=_0xa66336;if(this[_0x44ae57(0x174)]&&(this[_0x44ae57(0x174)][_0x44ae57(0x12c)][_0x44ae57(0x141)](),this[_0x44ae57(0x121)][_0x44ae57(0x10f)]>0x0)){this[_0x44ae57(0x121)][_0x44ae57(0x15c)](_0x5636e3=>{const _0x45adb3=_0x44ae57;_0x5636e3[_0x45adb3(0x152)]();});const _0x45e66a=new _0xa7c5c(this[_0x44ae57(0x15d)]);_0x45e66a[_0x44ae57(0x123)]({'tag':_0x44ae57(0x184),'attributes':{'class':this[_0x44ae57(0x180)][_0x44ae57(0x183)][_0x44ae57(0x11d)]},'children':this[_0x44ae57(0x121)]}),this[_0x44ae57(0x174)][_0x44ae57(0x12c)][_0x44ae57(0x179)](_0x45e66a);}}[_0xa66336(0xfc)](){const _0x589cac=_0xa66336;this[_0x589cac(0x148)][_0x589cac(0x188)]?this[_0x589cac(0x146)]():this[_0x589cac(0x101)]();}[_0xa66336(0x12e)](){const _0x429ba8=_0xa66336,_0x184462=this[_0x429ba8(0x121)][_0x429ba8(0x10f)]>0x0;this[_0x429ba8(0x148)]?.[_0x429ba8(0x18b)]&&(this[_0x429ba8(0x148)][_0x429ba8(0x18b)][_0x429ba8(0x13f)][_0x429ba8(0x138)]=_0x184462?'':_0x429ba8(0x11c));}[_0xa66336(0xfd)](){const _0x2eb455=_0xa66336;this[_0x2eb455(0x148)]?.[_0x2eb455(0x188)]&&this[_0x2eb455(0x174)]?.[_0x2eb455(0x134)]&&this[_0x2eb455(0x148)][_0x2eb455(0x18b)]&&this[_0x2eb455(0x174)][_0x2eb455(0x109)]({'target':this[_0x2eb455(0x148)][_0x2eb455(0x18b)],'limiter':document[_0x2eb455(0x157)](_0x2eb455(0x14c))});}[_0xa66336(0x125)](_0x3676b5){const _0x398831=_0xa66336,_0x499d69=this[_0x398831(0x112)]?.[_0x398831(0x189)][_0x398831(0x171)]()||_0x398831(0x184),_0x5e27ee=this[_0x398831(0x112)]?.[_0x398831(0x162)];if(_0x5e27ee){const _0x4e755d=_0x5e27ee[0x0]||'',_0x27186a=_0x3676b5[_0x398831(0x157)]('.'+_0x4e755d),_0x16f76f=_0x3676b5[_0x398831(0x157)](_0x499d69);return _0x27186a||_0x16f76f||_0x3676b5;}return _0x3676b5[_0x398831(0x157)](_0x499d69)||_0x3676b5;}[_0xa66336(0xff)](){const _0x3f06b9=_0xa66336,_0x157fc1=this[_0x3f06b9(0x119)]?.[_0x3f06b9(0x18b)]||this[_0x3f06b9(0x112)];if(!_0x157fc1)return an;const _0x31e030=window[_0x3f06b9(0x186)](_0x157fc1)[_0x3f06b9(0x16b)];if(_0x3f06b9(0x11e)===_0x31e030||_0x3f06b9(0x16c)===_0x31e030||!_0x31e030){const _0x389822=_0x157fc1[_0x3f06b9(0x10c)];if(_0x389822){const _0x3e10ad=window[_0x3f06b9(0x186)](_0x389822);return _0x3f06b9(0x11e)!==_0x3e10ad[_0x3f06b9(0x16b)]?_0x3e10ad[_0x3f06b9(0x16b)]:an;}return an;}return _0x31e030;}[_0xa66336(0x103)](_0x52dfb3,_0x3d8cc8){const _0x2b3c4c=_0xa66336;this[_0x2b3c4c(0x180)][_0x2b3c4c(0x183)][_0x2b3c4c(0x129)]&&_0x52dfb3[_0x2b3c4c(0x162)][_0x2b3c4c(0x179)](this[_0x2b3c4c(0x180)][_0x2b3c4c(0x183)][_0x2b3c4c(0x129)]),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x16b)]=_0x3d8cc8,_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x140)]=_0x2b3c4c(0x15b),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x16f)]=_0x2b3c4c(0x177),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x135)]=_0x2b3c4c(0x177),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x17f)]='0',_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x16d)]=_0x2b3c4c(0x11c),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x10e)]='-1',_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x167)]=_0x2b3c4c(0x163),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x138)]=_0x2b3c4c(0x16a),_0x52dfb3[_0x2b3c4c(0x13f)][_0x2b3c4c(0x126)]=_0x2b3c4c(0x187);}[_0xa66336(0x12b)](_0x4d4320){const _0x342917=_0xa66336;_0x4d4320[_0x342917(0x15c)](({element:_0x4e4ba6,originalDisplay:_0x5c5199,originalVisibility:_0x3feaab})=>{const _0x514edb=_0x342917;_0x4e4ba6[_0x514edb(0x13f)][_0x514edb(0x138)]=_0x5c5199,_0x4e4ba6[_0x514edb(0x13f)][_0x514edb(0x167)]=_0x3feaab;});}[_0xa66336(0x17b)](_0x196e25){const _0x341508=_0xa66336,_0x1f155b=[];let _0x11a07=_0x196e25;for(;_0x11a07&&_0x11a07!==document[_0x341508(0x13c)];){const _0x4d0425=window[_0x341508(0x186)](_0x11a07);_0x341508(0x11c)!==_0x4d0425[_0x341508(0x138)]&&_0x341508(0x107)!==_0x4d0425[_0x341508(0x167)]||(_0x1f155b[_0x341508(0x12a)]({'element':_0x11a07,'originalDisplay':_0x11a07[_0x341508(0x13f)][_0x341508(0x138)],'originalVisibility':_0x11a07[_0x341508(0x13f)][_0x341508(0x167)]}),_0x11a07[_0x341508(0x13f)][_0x341508(0x138)]=_0x341508(0x116),_0x11a07[_0x341508(0x13f)][_0x341508(0x167)]=_0x341508(0x15a)),_0x11a07=_0x11a07[_0x341508(0x10c)];}return _0x1f155b;}[_0xa66336(0x151)](){const _0x5d0e11=_0xa66336;let _0x797ff8,_0x521fa5;return this[_0x5d0e11(0x119)]?.[_0x5d0e11(0x18b)]?(_0x797ff8=this[_0x5d0e11(0x119)][_0x5d0e11(0x18b)][_0x5d0e11(0x17d)](!0x0),_0x521fa5=this[_0x5d0e11(0x125)](_0x797ff8)):(_0x797ff8=document[_0x5d0e11(0x165)](_0x5d0e11(0x184)),_0x521fa5=_0x797ff8),{'calculationContainer':_0x797ff8,'targetContainer':_0x521fa5};}[_0xa66336(0x175)](){const _0x16739f=_0xa66336,{calculationContainer:_0x68d150,targetContainer:_0x171182}=this[_0x16739f(0x151)](),_0x28b232=this[_0x16739f(0xff)]();this[_0x16739f(0x103)](_0x68d150,_0x28b232);const _0x371a32=this[_0x16739f(0x119)]?.[_0x16739f(0x18b)]||this[_0x16739f(0x112)],_0x5a606f=_0x371a32?.[_0x16739f(0x10c)];_0x5a606f?_0x5a606f[_0x16739f(0x155)](_0x68d150):document[_0x16739f(0x13c)][_0x16739f(0x155)](_0x68d150),_0x68d150[_0x16739f(0x10b)]=_0x171182;const _0x12a4be=this[_0x16739f(0x17b)](_0x5a606f||null);return _0x68d150[_0x16739f(0x113)],_0x68d150[_0x16739f(0x17a)]=_0x12a4be,_0x68d150;}[_0xa66336(0xfe)](_0x1806f3,_0x5c720a){const _0x5e3ba3=_0xa66336,_0x6959f2=_0x1806f3[_0x5e3ba3(0x10b)]||_0x1806f3,_0x2316cc=[],{rowCount:_0x298378}=this[_0x5e3ba3(0x172)](_0x6959f2,_0x5c720a);if(_0x298378<=this[_0x5e3ba3(0x180)][_0x5e3ba3(0x15f)])return _0x2316cc;const _0x2d2290=_0x5c720a[_0x5e3ba3(0x144)]();for(;_0x2d2290[_0x5e3ba3(0x10f)]>0x0;){if(this[_0x5e3ba3(0x105)](_0x1806f3,_0x6959f2,_0x2d2290)){const _0x4f611d=_0x5c720a[_0x5e3ba3(0x124)](_0x2dd087=>!_0x2d2290[_0x5e3ba3(0x145)](_0x2dd087));_0x2316cc[_0x5e3ba3(0x12a)](..._0x4f611d);break;}if(!_0x2d2290[_0x5e3ba3(0x161)]())break;}return _0x2316cc;}[_0xa66336(0x172)](_0x25e06b,_0x35639e){const _0x1c39e1=_0xa66336;_0x25e06b[_0x1c39e1(0x133)]='',_0x35639e[_0x1c39e1(0x15c)](_0x3502c6=>{const _0xdd4f=_0x1c39e1;if(_0x3502c6[_0xdd4f(0x18b)]){const _0x1b7429=_0x3502c6[_0xdd4f(0x18b)][_0xdd4f(0x17d)](!0x0);_0x25e06b[_0xdd4f(0x155)](_0x1b7429);}}),_0x25e06b[_0x1c39e1(0x113)];const _0x530e3e=_0x25e06b[_0x1c39e1(0xfa)],_0x8d4b29=[];return Array[_0x1c39e1(0x181)](_0x530e3e)[_0x1c39e1(0x15c)](_0x58dc7a=>{const _0x2247fd=_0x1c39e1,_0xd764a=_0x58dc7a[_0x2247fd(0x12f)]()[_0x2247fd(0x16f)];_0x8d4b29[_0x2247fd(0x14b)](_0x5cd229=>Math[_0x2247fd(0x11f)](_0x5cd229-_0xd764a)<this[_0x2247fd(0x180)][_0x2247fd(0x173)])||_0x8d4b29[_0x2247fd(0x12a)](_0xd764a);}),{'rowCount':_0x8d4b29[_0x1c39e1(0x10f)]};}[_0xa66336(0x13b)](){const _0x56d97a=_0xa66336,_0x58171c=document[_0x56d97a(0x165)](_0x56d97a(0x110));return _0x58171c[_0x56d97a(0x136)]=this[_0x56d97a(0x180)][_0x56d97a(0x183)][_0x56d97a(0x10d)],this[_0x56d97a(0x180)][_0x56d97a(0x183)][_0x56d97a(0x176)]&&_0x58171c[_0x56d97a(0x162)][_0x56d97a(0x179)](this[_0x56d97a(0x180)][_0x56d97a(0x183)][_0x56d97a(0x176)]),_0x58171c[_0x56d97a(0x132)]=_0x56d97a(0x170),_0x58171c;}[_0xa66336(0x105)](_0x1726b4,_0x383ca0,_0x3acc60){const _0x3fbed1=_0xa66336;this[_0x3fbed1(0x172)](_0x383ca0,_0x3acc60);const _0x4faff7=this[_0x3fbed1(0x13b)]();_0x1726b4[_0x3fbed1(0x155)](_0x4faff7),_0x1726b4[_0x3fbed1(0x113)];const _0x3e2b64=[..._0x383ca0[_0x3fbed1(0xfa)],_0x4faff7],_0x1e5cb7=[];_0x3e2b64[_0x3fbed1(0x15c)](_0x373f55=>{const _0x39b23e=_0x3fbed1,_0x1d5d48=_0x373f55[_0x39b23e(0x12f)]()[_0x39b23e(0x16f)];_0x1e5cb7[_0x39b23e(0x14b)](_0x454b3f=>Math[_0x39b23e(0x11f)](_0x454b3f-_0x1d5d48)<this[_0x39b23e(0x180)][_0x39b23e(0x173)])||_0x1e5cb7[_0x39b23e(0x12a)](_0x1d5d48);});const _0x5be8df=_0x1e5cb7[_0x3fbed1(0x10f)];return _0x4faff7[_0x3fbed1(0xf7)](),_0x5be8df<=this[_0x3fbed1(0x180)][_0x3fbed1(0x15f)];}[_0xa66336(0x18a)](_0x5ada4f,_0x4b4b28){const _0x5ea79d=_0xa66336;this[_0x5ea79d(0x139)][_0x5ea79d(0x141)](),this[_0x5ea79d(0x121)][_0x5ea79d(0x141)](),_0x5ada4f[_0x5ea79d(0x15c)](_0xd67019=>{const _0x101aa6=_0x5ea79d;_0x4b4b28[_0x101aa6(0x145)](_0xd67019)?this[_0x101aa6(0x121)][_0x101aa6(0x179)](_0xd67019):this[_0x101aa6(0x139)][_0x101aa6(0x179)](_0xd67019);});}[_0xa66336(0x14a)](_0x1ced6d){const _0x4e785b=_0xa66336;if(_0x1ced6d>0x0&&!this[_0x4e785b(0x148)]&&this[_0x4e785b(0x131)](),_0x1ced6d>0x0&&this[_0x4e785b(0x148)]){const _0x421b20=''+this[_0x4e785b(0x180)][_0x4e785b(0x100)]+(_0x1ced6d<0x63?_0x1ced6d:'99');this[_0x4e785b(0x148)][_0x4e785b(0xfb)]=_0x421b20;}this[_0x4e785b(0x159)](),this[_0x4e785b(0x12e)](),this[_0x4e785b(0xfd)]();}[_0xa66336(0x11b)](_0x1b5a87,_0x3ec378){const _0x1f1e27=_0xa66336;this[_0x1f1e27(0x18a)](_0x1b5a87,_0x3ec378),this[_0x1f1e27(0x14a)](_0x3ec378[_0x1f1e27(0x10f)]);}[_0xa66336(0x111)](){const _0x26f21d=_0xa66336;this[_0x26f21d(0x112)]&&_0x26f21d(0x14d)!=typeof IntersectionObserver&&(this[_0x26f21d(0x150)]=new IntersectionObserver(_0x1ecabc=>{const _0xeed07e=_0x26f21d;_0x1ecabc[0x0][_0xeed07e(0x130)]&&this[_0xeed07e(0x178)]&&requestAnimationFrame(()=>{const _0x28301a=_0xeed07e;this[_0x28301a(0x15e)]();});},{'threshold':0.01,'rootMargin':_0x26f21d(0x127)}),this[_0x26f21d(0x150)][_0x26f21d(0x120)](this[_0x26f21d(0x112)]));}[_0xa66336(0xf6)](){const _0x335753=_0xa66336;if(!this[_0x335753(0x112)])return!0x1;if(!this[_0x335753(0x112)][_0x335753(0x158)])return!0x1;const _0x48c299=this[_0x335753(0x112)][_0x335753(0x12f)]();if(0x0===_0x48c299[_0x335753(0x16b)]||0x0===_0x48c299[_0x335753(0x13a)])return!0x1;const _0x270960=window[_0x335753(0x149)]||document[_0x335753(0x143)][_0x335753(0x13e)],_0x5ae70c=window[_0x335753(0x142)]||document[_0x335753(0x143)][_0x335753(0x117)],_0x1f325d=0xc8;return _0x48c299[_0x335753(0x17e)]>=-0xc8&&_0x48c299[_0x335753(0x16f)]<=_0x270960+_0x1f325d&&_0x48c299[_0x335753(0xf9)]>=-0xc8&&_0x48c299[_0x335753(0x135)]<=_0x5ae70c+_0x1f325d;}}