!function(){var t=document.createElement("style");t.innerHTML="._white_12gjh_1{background-color:#fff}._white_12gjh_1>div{padding:.4rem;box-shadow:0 0 .26667rem rgba(216,216,216,.5)}\n",document.head.appendChild(t),System.register(["./index-legacy.2ae28dc5.js"],(function(t){"use strict";var e,i,n;return{setters:[function(t){e=t.d,i=t.at,n=t.k}],execute:function(){var s={white:"_white_12gjh_1"};t("O",e({name:"o-sticky",props:{position:{type:String,default:"top"},background:{type:String,default:""}},data:function(){return{divStyle:{},sectionStyle:{width:"100%",height:"auto"}}},mounted:function(){"top"===this.position?this.divStyle.top="0px":this.divStyle.bottom="0px";var t=i(this.$refs.div).height;this.sectionStyle.height="".concat(t,"px")},render:function(){return n("div",{style:this.sectionStyle},[n("div",{ref:"div",class:["van-sticky van-sticky--fixed",s[this.background]],style:[this.divStyle,this.sectionStyle]},[this.$slots.default&&this.$slots.default()])])}}))}}}))}();
