!function(){function t(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(c){u=!0,o=c}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nr.top&&i.bottom>0,l.transform=u<0?u:0}else l.fixed=S.value>r.top;else{var f=document.documentElement.clientHeight;if(e){var s=A(e),d=f-s.top-S.value-l.height;l.fixed=f-S.values.top,l.transform=d<0?-d:0}else l.fixed=f-S.value0)}),{root:document.body}),u=function(){t.value&&a.unobserve(t.value)};r(u),o(u),i((function(){t.value&&a.observe(t.value)}))}}(c,z),function(){var t;return g("div",{ref:c,style:j.value},[g("div",{class:T({fixed:l.fixed}),style:O.value},[null==(t=u.default)?void 0:t.call(u)])])}}});e("S",S(B))}}}))}();