(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/app-video/app-video"],{"2d2a":function(t,e,n){"use strict";n.r(e);var r=n("da79"),o=n("c51c");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("e92d");var u,c=n("f0c5"),a=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,"2338f790",null,!1,r["a"],u);e["default"]=a.exports},"8c59":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=i(n("0680"));function o(){if("function"!==typeof WeakMap)return null;var t=new WeakMap;return o=function(){return t},t}function i(t){if(t&&t.__esModule)return t;if(null===t||"object"!==typeof t&&"function"!==typeof t)return{default:t};var e=o();if(e&&e.has(t))return e.get(t);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var u=r?Object.getOwnPropertyDescriptor(t,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=t[i]}return n.default=t,e&&e.set(t,n),n}var u={name:"app-video",data:function(){return{start:!1,fullScreen:!1,maxTop:0}},props:{picUrl:{type:String,default:function(){return""}},url:{type:String,default:function(){return""}},width:{type:String,default:function(){return"750rpx"}},height:{type:String,default:function(){return"422rpx"}}},methods:{fullscreenChange:function(t){this.fullScreen=t.detail.fullScreen},play:function(){var t=this;this.$nextTick().then((function(){t.start=!0})),r.trigger(this.$const.EVENT_VIDEO_END),this.$emit("videoStart",!0),r.on(this.$const.EVENT_VIDEO_END,!0).then((function(){t.start=!1,t.$emit("videoStart",!1)}))},autoEnd:function(){var t=this,e=null;e=this.createSelectorQuery(),e.select(".video").boundingClientRect(),e.selectViewport().scrollOffset(),e.exec((function(e){(e[0].top<=-200||e[0].top>=t.maxTop-57)&&r.trigger(t.$const.EVENT_VIDEO_END)}))},preventD:function(){}},computed:{scrollTop:function(){return this.$store.state.page.scrollTop}},created:function(){this.maxTop=t.getSystemInfoSync().windowHeight},watch:{scrollTop:{handler:function(){this.start&&!this.fullScreen&&this.$utils.throttle(this.autoEnd,500)},immediate:!0}}};e.default=u}).call(this,n("543d")["default"])},a0f4:function(t,e,n){},c51c:function(t,e,n){"use strict";n.r(e);var r=n("8c59"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},da79:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement;t._self._c},i=[]},e92d:function(t,e,n){"use strict";var r=n("a0f4"),o=n.n(r);o.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/page-component/app-video/app-video-create-component',
    {
        'components/page-component/app-video/app-video-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("2d2a"))
        })
    },
    [['components/page-component/app-video/app-video-create-component']]
]);
