(window.webpackJsonp=window.webpackJsonp||[]).push([[43],{462:function(o,t,s){"use strict";var r=s(435),n=[{key:"putAt",name:"putAt"}].map((function(o){return{key:o.key,sourceKey:"plugins.movable."+o.name}})),e=function(){function o(o){this.scroll=o,this.handleBScroll(),this.handleHooks()}return o.prototype.handleBScroll=function(){this.scroll.proxy(n)},o.prototype.handleHooks=function(){var o=this;this.hooksFn=[];var t=this.scroll.scroller,s=t.scrollBehaviorX,r=t.scrollBehaviorY,n=function(o,t){o.maxScrollPos>0&&(o.minScrollPos=t.wrapperSize-t.contentSize,o.maxScrollPos=0)};this.registerHooks(s.hooks,s.hooks.eventTypes.ignoreHasScroll,(function(){return!0})),this.registerHooks(s.hooks,s.hooks.eventTypes.computeBoundary,(function(o){n(o,s)})),this.registerHooks(r.hooks,r.hooks.eventTypes.ignoreHasScroll,(function(){return!0})),this.registerHooks(r.hooks,r.hooks.eventTypes.computeBoundary,(function(o){n(o,r)})),this.registerHooks(this.scroll.hooks,this.scroll.hooks.eventTypes.destroy,(function(){o.destroy()}))},o.prototype.putAt=function(o,t,s,n){void 0===s&&(s=this.scroll.options.bounceTime),void 0===n&&(n=r.r.bounce);var e=this.resolvePostion(o,t);this.scroll.scrollTo(e.x,e.y,s,n)},o.prototype.resolvePostion=function(o,t){var s=this.scroll.scroller,r=s.scrollBehaviorX,n=s.scrollBehaviorY,e={left:function(){return 0},top:function(){return 0},right:function(){return r.minScrollPos},bottom:function(){return n.minScrollPos},center:function(o){return(0===o?r.minScrollPos:n.minScrollPos)/2}};return{x:"number"==typeof o?o:e[o](0),y:"number"==typeof t?t:e[t](1)}},o.prototype.destroy=function(){this.hooksFn.forEach((function(o){var t=o[0],s=o[1],r=o[2];t.off(s,r)})),this.hooksFn.length=0},o.prototype.registerHooks=function(o,t,s){o.on(t,s,this),this.hooksFn.push([o,t,s])},o.pluginName="movable",o.applyOrder=r.a.Pre,o}();t.a=e},530:function(o,t,s){},689:function(o,t,s){"use strict";s(530)},754:function(o,t,s){"use strict";s.r(t);var r=s(436),n=s(462);r.a.use(n.a);var e={data:function(){return{emojis:["😀 😁 😂 🤣 😃","😄 😅 😆 😉 😊","😫 😴 😌 😛 😜","👆🏻 😒 😓 😔 👇🏻"]}},mounted:function(){this.init()},beforeDestroy:function(){this.bs.destroy()},methods:{init:function(){this.bs=new r.a(this.$refs.scroll,{bindToTarget:!0,scrollX:!0,scrollY:!0,freeScroll:!0,movable:!0,startX:20,startY:20})}}},i=(s(689),s(41)),l=Object(i.a)(e,(function(){var o=this,t=o._self._c;return t("div",{staticClass:"movable-container"},[t("div",{ref:"scroll",staticClass:"scroll-wrapper"},[t("div",{staticClass:"scroll-content"},o._l(o.emojis,(function(s,r){return t("div",{key:r,staticClass:"scroll-item"},[o._v(o._s(s))])})),0)])])}),[],!1,null,"ccb95f7e",null);t.default=l.exports}}]);