gridstack-8.x-2.5/js/gridstack.native.min.js
js/gridstack.native.min.js
!function(t,e,i){"use strict";function a(e){var i=t.gridstack.native;i.init(e),i.buildOut(),i.cleanUp(),e.classList.add("gridstack--native--on")}t.gridstack=t.gridstack||{},t.gridstack.native=i.extend({},t.gridstack.fe||{},{fixAspectRatio:function(){var t=this,e=t.cellHeight>=t.options.cellHeight&&t.cellHeight<2*t.options.cellHeight;t.isEnabled()&&(t.cellHeight=e?t.cellHeight:t.options.cellHeight,t.$el.style.gridAutoRows=t.cellHeight+"px")},postUpdateGrid:function(){var t=this;if(t.isEnabled()){t.$el.style.gap=t.options.verticalMargin>0?t.options.verticalMargin/2:0;var i=[];e.each(e.range(0,t.column,1),function(){i.push(["1fr"])}),t.$el.style.msGridColumns=i.join(" "),t.$el.style.gridTemplateColumns="repeat("+t.column+", 1fr)"}e.isNull(t.$sizer)||e.isNull(t.$sizer.parentNode)||t.$sizer.parentNode.removeChild(t.$sizer)},updateAttribute:function(t,e){t.setAttribute("data-gs-width",e[2]),t.setAttribute("data-gs-height",e[3])}}),t.behaviors.gridStackNative={attach:function(t){"length"in t&&(t=t[0]);var e=t.querySelectorAll(".gridstack--native:not(.gridstack--native--on)");e.length>0&&i.once(i.forEach(e,a,t))}}}(Drupal,_,dBlazy);
