/*!
* Theia Sticky Sidebar v1.7.0
* #
*
* Glues your website's sidebars, making them permanently visible while scrolling.
*
* Copyright 2025-2025 WeCodePixels and other contributors
* Released under the MIT license
*/
(function($){$theiastickysidebar=function(options){var defaults={'containerSelector':'','additionalMarginTop':0,'additionalMarginBottom':0,'updateSidebarHeight':true,'minWidth':0,'disableOnResponsiveLayouts':true,'sidebarBehavior':'modern','defaultPosition':'relative','namespace':'TSS'};options=$.extend(defaults,options);additionalmargintop=parseInt(additionalmargintop)||0;additionalmarginbottom=parseInt(additionalmarginbottom)||0;tryInitOrHookIntoEvents(options,this);function tryInitOrHookIntoEvents(options,$that){var success=tryInit(options,$that);if(!success){log('TSS: Body width smaller than minwidth. Init is delayed.');$(document).on('scroll.'+namespace,function(options,$that){return function(evt){var success=tryInit(options,$that);if(success){$(this).unbind(evt);}};}(options,$that));$(window).on('resize.'+namespace,function(options,$that){return function(evt){var success=tryInit(options,$that);if(success){$(this).unbind(evt);}};}(options,$that))}}
function tryInit(options,$that){if(initialized===true){return true;}
if($('body').width()