From 347d05f6570aa98b7f01f38ace67439fb58cc7cc Mon Sep 17 00:00:00 2001 From: cycjimmy Date: Tue, 31 Oct 2017 16:02:25 +0800 Subject: [PATCH] rebuild --- build/H5VideoPlayer.js | 26 ++++++++++---------------- build/H5VideoPlayer.min.js | 2 +- 2 files changed, 11 insertions(+), 17 deletions(-) diff --git a/build/H5VideoPlayer.js b/build/H5VideoPlayer.js index 57bc2d6..bc0f9e0 100644 --- a/build/H5VideoPlayer.js +++ b/build/H5VideoPlayer.js @@ -449,13 +449,16 @@ var H5VideoPlayer = function () { orientation: this.options.orientation, _style: __WEBPACK_IMPORTED_MODULE_2__style_scss___default.a }); + this.container.appendChild(this.wrapper); // video this.videoWrapperForConstraintRatio = this.wrapper.querySelector('.' + __WEBPACK_IMPORTED_MODULE_2__style_scss___default.a.videoWrapperForConstraintRatio); this.video = this.wrapper.querySelector('.' + __WEBPACK_IMPORTED_MODULE_2__style_scss___default.a.video); // mask: used to control video - this.mask = this.wrapper.querySelector('.' + __WEBPACK_IMPORTED_MODULE_2__style_scss___default.a.mask); + this.mask = document.createElement('div'); + this.mask.classList.add(__WEBPACK_IMPORTED_MODULE_2__style_scss___default.a.mask); + this.container.appendChild(this.mask); // playButton if (this.options.control) { @@ -469,10 +472,8 @@ var H5VideoPlayer = function () { }); } - this.wrapper.appendChild(this.playButton); + this.container.appendChild(this.playButton); } - - this.container.appendChild(this.wrapper); }; H5VideoPlayer.prototype.init = function init() { @@ -610,24 +611,17 @@ var H5VideoPlayer = function () { }, 0); }, _changeOrientation = function _changeOrientation() { - window.removeEventListener(_orientationchangeEvt, function () { - return _changeOrientation(); - }); + window.removeEventListener(_orientationchangeEvt, _changeOrientation); setTimeout(function () { _changeStyle(); - window.addEventListener(_orientationchangeEvt, function () { - return _changeOrientation(); - }, false); - }, 500); + window.addEventListener(_orientationchangeEvt, _changeOrientation, false); + }, 400); }; if (this.options.disableRotation) { _changeStyle(); - - window.addEventListener(_orientationchangeEvt, function () { - return _changeOrientation(); - }, false); + window.addEventListener(_orientationchangeEvt, _changeOrientation, false); } else { _addStyles(this.wrapper, { width: containerRect().width + 'px', @@ -718,7 +712,7 @@ else if (typeof source === 'string' && source.constructor === String) { pug_html = pug_html + "\u003Csource" + (pug.attr("src", source, true, true)) + "\u003E"; } -pug_html = pug_html + "I'm sorry; your browser doesn't support HTML5 video.\u003C\u002Fvideo\u003E\u003C\u002Fdiv\u003E\u003Cdiv" + (pug.attr("class", pug.classes([_style.mask], [true]), false, true)) + "\u003E\u003C\u002Fdiv\u003E";}.call(this,"Array" in locals_for_with?locals_for_with.Array:typeof Array!=="undefined"?Array:undefined,"Object" in locals_for_with?locals_for_with.Object:typeof Object!=="undefined"?Object:undefined,"String" in locals_for_with?locals_for_with.String:typeof String!=="undefined"?String:undefined,"_style" in locals_for_with?locals_for_with._style:typeof _style!=="undefined"?_style:undefined,"orientation" in locals_for_with?locals_for_with.orientation:typeof orientation!=="undefined"?orientation:undefined,"source" in locals_for_with?locals_for_with.source:typeof source!=="undefined"?source:undefined));;return pug_html;}; +pug_html = pug_html + "I'm sorry; your browser doesn't support HTML5 video.\u003C\u002Fvideo\u003E\u003C\u002Fdiv\u003E";}.call(this,"Array" in locals_for_with?locals_for_with.Array:typeof Array!=="undefined"?Array:undefined,"Object" in locals_for_with?locals_for_with.Object:typeof Object!=="undefined"?Object:undefined,"String" in locals_for_with?locals_for_with.String:typeof String!=="undefined"?String:undefined,"_style" in locals_for_with?locals_for_with._style:typeof _style!=="undefined"?_style:undefined,"orientation" in locals_for_with?locals_for_with.orientation:typeof orientation!=="undefined"?orientation:undefined,"source" in locals_for_with?locals_for_with.source:typeof source!=="undefined"?source:undefined));;return pug_html;}; module.exports = template; /***/ }), diff --git a/build/H5VideoPlayer.min.js b/build/H5VideoPlayer.min.js index c221334..fc927d7 100644 --- a/build/H5VideoPlayer.min.js +++ b/build/H5VideoPlayer.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.H5VideoPlayer=e():t.H5VideoPlayer=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=1)}([function(t,e,n){"use strict";function o(t,e){if(1===arguments.length){for(var n=t[0],r=1;r ":" ")+n+"| "+t}).join("\n");throw t.path=e,t.message=(e||"Pug")+":"+o+"\n"+i+"\n\n"+t.message,t}var l=Object.prototype.hasOwnProperty;e.merge=o,e.classes=a,e.style=s,e.attr=c,e.attrs=function(t,e){var n="";for(var o in t)if(l.call(t,o)){var r=t[o];if("class"===o){n=c(o,r=a(r),!1,e)+n;continue}"style"===o&&(r=s(r)),n+=c(o,r,!1,e)}return n};var f=/["&<>]/;e.escape=u,e.rethrow=p},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n.n(r),a=n(4),s=n.n(a),c=n(5),u=n.n(c),p=function(){function t(e,n){var r=n.context,i=void 0===r?"body":r,a=n.control,s=void 0!==a&&a,c=n.autoPlay,u=void 0!==c&&c,p=n.autoClose,l=void 0===p||p,d=n.preload,h=void 0===d||d,v=n.orientation,y=void 0===v?"portrait":v,b=n.aspectRatio,m=void 0===b?9/16:b,g=n.disableRotation,w=void 0!==g&&g,x=n.picMode,_=void 0!==x&&x,j=n.fixAndroidWechatContinue,S=void 0!==j&&j,A=n.hookInPlay,L=void 0===A?function(){}:A,k=n.hookInPause,C=void 0===k?function(){}:k,I=n.hookInStop,R=void 0===I?function(){}:I;o(this,t),this.context=f(i)?document.querySelector(i):i,this.options={source:e,control:s,autoPlay:u,autoClose:l,preload:h,orientation:y,aspectRatio:m,disableRotation:w,picMode:_,fixAndroidWechatContinue:S,hookInPlay:L,hookInPause:C,hookInStop:R},this.container=null,this.wrapper=null,this.video=null,this.mask=null,this.playButton=null,this.initContainer(),this.initWrapper(),this.options.preload&&this.init()}return t.prototype.initContainer=function(){this.container=document.createElement("div"),this.container.classList.add(u.a.container)},t.prototype.initWrapper=function(){this.wrapper=document.createElement("div"),this.wrapper.classList.add(u.a.wrapper),this.wrapper.innerHTML=s()({source:this.options.source,orientation:this.options.orientation,_style:u.a}),this.videoWrapperForConstraintRatio=this.wrapper.querySelector("."+u.a.videoWrapperForConstraintRatio),this.video=this.wrapper.querySelector("."+u.a.video),this.mask=this.wrapper.querySelector("."+u.a.mask),this.options.control&&(this.playButton=document.createElement("div"),this.playButton.classList.add(u.a.playButtonWrapper),this.options.picMode||(this.playButton.innerHTML=i()({_style:u.a})),this.wrapper.appendChild(this.playButton)),this.container.appendChild(this.wrapper)},t.prototype.init=function(){this.context.appendChild(this.container)},t.prototype.load=function(){return this.context.contains(this.container)||this.init(),this.container.classList.add(u.a.show),this._assignWrapperStyle(),this.eventBind(),this.options.autoPlay&&this.play(),this},t.prototype.eventBind=function(){var t=this;this.options.control?(this.mask.addEventListener("click",function(){t._isPlaying()?t.pause():t.play()}),this.playButton.addEventListener("click",function(){t.play()})):this.options.fixAndroidWechatContinue&&this.video.addEventListener("click",function(){t._isPlaying()||t.play()}),this.video.addEventListener("ended",function(){t._showPlayBtn(),t.options.autoClose&&t._remove(),t.options.hookInStop()})},t.prototype.play=function(){this.video.play(),this._hiddenPlayBtn(),this.options.hookInPlay()},t.prototype.pause=function(){this.video.pause(),this._showPlayBtn(),this.options.hookInPause()},t.prototype._showPlayBtn=function(){this.playButton&&(this.playButton.style.display="block")},t.prototype._hiddenPlayBtn=function(){this.playButton&&(this.playButton.style.display="none")},t.prototype._isPlaying=function(){return this.video.currentTime>0&&!this.video.paused&&!this.video.ended&&this.video.readyState>2},t.prototype._remove=function(){this.context.removeChild(this.container)},t.prototype._assignWrapperStyle=function(){var t=this,e=function(){return t.container.getBoundingClientRect()},n=function(){var n=e().width,o=e().height;h()===t.options.orientation?l(t.wrapper,{width:n+"px",height:o+"px",transform:""}):l(t.wrapper,{width:o+"px",height:n+"px",transform:"rotate(-90deg)"}),setTimeout(function(){var e=Number.parseInt(t.wrapper.style.width),n=Number.parseInt(t.wrapper.style.height),o=e/t.options.aspectRatio;o>=n?l(t.videoWrapperForConstraintRatio,{width:e+"px",height:o+"px"}):l(t.videoWrapperForConstraintRatio,{width:n*t.options.aspectRatio+"px",height:n+"px"})},0)},o=function t(){window.removeEventListener(d,function(){return t()}),setTimeout(function(){n(),window.addEventListener(d,function(){return t()},!1)},500)};this.options.disableRotation?(n(),window.addEventListener(d,function(){return o()},!1)):l(this.wrapper,{width:e().width+"px",height:e().height+"px"})},t}();e.default=p;var l=function(t,e){for(var n in e)t.style[n]=e[n]},f=function(t){return"string"==typeof t&&t.constructor===String},d="onorientationchange"in window?"orientationchange":"resize",h=function(){return document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait"}},function(t,e,n){var o=n(0);t.exports=function(t){var e="",n=t||{};return function(t){e=e+"'}.call(this,"_style"in n?n._style:"undefined"!=typeof _style?_style:void 0),e}},function(t,e){},function(t,e,n){var o=n(0);t.exports=function(t){var e="",n=t||{};return function(t,n,r,i,a,s){e=e+"",s instanceof t?function(){var t=s;if("number"==typeof t.length)for(var n=0,r=t.length;n";else{r=0;for(var n in t){r++;var i=t[n];e=e+""}}}.call(this):s instanceof n?e=e+"":"string"==typeof s&&s.constructor===r&&(e=e+""),e=e+"I'm sorry; your browser doesn't support HTML5 video."}.call(this,"Array"in n?n.Array:"undefined"!=typeof Array?Array:void 0,"Object"in n?n.Object:"undefined"!=typeof Object?Object:void 0,"String"in n?n.String:"undefined"!=typeof String?String:void 0,"_style"in n?n._style:"undefined"!=typeof _style?_style:void 0,"orientation"in n?n.orientation:"undefined"!=typeof orientation?orientation:void 0,"source"in n?n.source:"undefined"!=typeof source?source:void 0),e}},function(t,e,n){var o=n(6);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0};r.transform=void 0,n(8)(o,r),o.locals&&(t.exports=o.locals)},function(t,e,n){(e=t.exports=n(7)(void 0)).push([t.i,"._1zZ_RhutIk,._2heUbr8G4K,._2jN4IoO8qs,._3V7mDASXLV,._3yg59pX2Hj,._22N4SRA1cT,.I2xujHhbJI{position:absolute}._1zZ_RhutIk,._2heUbr8G4K,._3yg59pX2Hj,._22N4SRA1cT{left:0;top:0;width:100%;height:100%}._2jN4IoO8qs,._3V7mDASXLV,.I2xujHhbJI{left:-100%;top:-100%;right:-100%;bottom:-100%;margin:auto}._2heUbr8G4K{z-index:9999;display:none;background-color:#000;overflow:hidden}._2heUbr8G4K._2Tgr7SlKBs{display:block}.I2xujHhbJI{background-color:#000;transform-origin:50% 50%}._2jN4IoO8qs,.I2xujHhbJI{z-index:1;overflow:hidden}._3yg59pX2Hj{z-index:-1;object-fit:fill;object-position:50% 50%}._22N4SRA1cT{z-index:10}._1zZ_RhutIk{z-index:100;background-color:rgba(0,0,0,.1)}._3V7mDASXLV{cursor:pointer;opacity:.6}._3V7mDASXLV,.MvAVwAhKfH{max-width:60px;max-height:60px}.MvAVwAhKfH{fill:#fff}",""]),e.locals={container:"_2heUbr8G4K",video:"_3yg59pX2Hj",mask:"_22N4SRA1cT",playButtonWrapper:"_1zZ_RhutIk",wrapper:"I2xujHhbJI",videoWrapperForConstraintRatio:"_2jN4IoO8qs",playButton:"_3V7mDASXLV",show:"_2Tgr7SlKBs",playButtonSvg:"MvAVwAhKfH"}},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=o(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r=0&&g.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),i(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function p(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var u=m++;n=b||(b=s(e)),o=l.bind(null,n,u,!1),r=l.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),o=d.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=f.bind(null,n),r=function(){a(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}function l(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function f(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=w(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),y=function(t){var e={};return function(n){if(void 0===e[n]){var o=t.call(this,n);if(o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[n]=o}return e[n]}}(function(t){return document.querySelector(t)}),b=null,m=0,g=[],w=n(9);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return o(n,e),function(t){for(var i=[],a=0;a ":" ")+n+"| "+t}).join("\n");throw t.path=e,t.message=(e||"Pug")+":"+o+"\n"+i+"\n\n"+t.message,t}var l=Object.prototype.hasOwnProperty;e.merge=o,e.classes=a,e.style=s,e.attr=c,e.attrs=function(t,e){var n="";for(var o in t)if(l.call(t,o)){var r=t[o];if("class"===o){n=c(o,r=a(r),!1,e)+n;continue}"style"===o&&(r=s(r)),n+=c(o,r,!1,e)}return n};var f=/["&<>]/;e.escape=u,e.rethrow=p},function(t,e,n){"use strict";function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(e,"__esModule",{value:!0});var r=n(2),i=n.n(r),a=n(4),s=n.n(a),c=n(5),u=n.n(c),p=function(){function t(e,n){var r=n.context,i=void 0===r?"body":r,a=n.control,s=void 0!==a&&a,c=n.autoPlay,u=void 0!==c&&c,p=n.autoClose,l=void 0===p||p,d=n.preload,h=void 0===d||d,v=n.orientation,y=void 0===v?"portrait":v,m=n.aspectRatio,b=void 0===m?9/16:m,g=n.disableRotation,w=void 0!==g&&g,x=n.picMode,_=void 0!==x&&x,j=n.fixAndroidWechatContinue,S=void 0!==j&&j,A=n.hookInPlay,L=void 0===A?function(){}:A,k=n.hookInPause,C=void 0===k?function(){}:k,I=n.hookInStop,R=void 0===I?function(){}:I;o(this,t),this.context=f(i)?document.querySelector(i):i,this.options={source:e,control:s,autoPlay:u,autoClose:l,preload:h,orientation:y,aspectRatio:b,disableRotation:w,picMode:_,fixAndroidWechatContinue:S,hookInPlay:L,hookInPause:C,hookInStop:R},this.container=null,this.wrapper=null,this.video=null,this.mask=null,this.playButton=null,this.initContainer(),this.initWrapper(),this.options.preload&&this.init()}return t.prototype.initContainer=function(){this.container=document.createElement("div"),this.container.classList.add(u.a.container)},t.prototype.initWrapper=function(){this.wrapper=document.createElement("div"),this.wrapper.classList.add(u.a.wrapper),this.wrapper.innerHTML=s()({source:this.options.source,orientation:this.options.orientation,_style:u.a}),this.container.appendChild(this.wrapper),this.videoWrapperForConstraintRatio=this.wrapper.querySelector("."+u.a.videoWrapperForConstraintRatio),this.video=this.wrapper.querySelector("."+u.a.video),this.mask=document.createElement("div"),this.mask.classList.add(u.a.mask),this.container.appendChild(this.mask),this.options.control&&(this.playButton=document.createElement("div"),this.playButton.classList.add(u.a.playButtonWrapper),this.options.picMode||(this.playButton.innerHTML=i()({_style:u.a})),this.container.appendChild(this.playButton))},t.prototype.init=function(){this.context.appendChild(this.container)},t.prototype.load=function(){return this.context.contains(this.container)||this.init(),this.container.classList.add(u.a.show),this._assignWrapperStyle(),this.eventBind(),this.options.autoPlay&&this.play(),this},t.prototype.eventBind=function(){var t=this;this.options.control?(this.mask.addEventListener("click",function(){t._isPlaying()?t.pause():t.play()}),this.playButton.addEventListener("click",function(){t.play()})):this.options.fixAndroidWechatContinue&&this.video.addEventListener("click",function(){t._isPlaying()||t.play()}),this.video.addEventListener("ended",function(){t._showPlayBtn(),t.options.autoClose&&t._remove(),t.options.hookInStop()})},t.prototype.play=function(){this.video.play(),this._hiddenPlayBtn(),this.options.hookInPlay()},t.prototype.pause=function(){this.video.pause(),this._showPlayBtn(),this.options.hookInPause()},t.prototype._showPlayBtn=function(){this.playButton&&(this.playButton.style.display="block")},t.prototype._hiddenPlayBtn=function(){this.playButton&&(this.playButton.style.display="none")},t.prototype._isPlaying=function(){return this.video.currentTime>0&&!this.video.paused&&!this.video.ended&&this.video.readyState>2},t.prototype._remove=function(){this.context.removeChild(this.container)},t.prototype._assignWrapperStyle=function(){var t=this,e=function(){return t.container.getBoundingClientRect()},n=function(){var n=e().width,o=e().height;h()===t.options.orientation?l(t.wrapper,{width:n+"px",height:o+"px",transform:""}):l(t.wrapper,{width:o+"px",height:n+"px",transform:"rotate(-90deg)"}),setTimeout(function(){var e=Number.parseInt(t.wrapper.style.width),n=Number.parseInt(t.wrapper.style.height),o=e/t.options.aspectRatio;o>=n?l(t.videoWrapperForConstraintRatio,{width:e+"px",height:o+"px"}):l(t.videoWrapperForConstraintRatio,{width:n*t.options.aspectRatio+"px",height:n+"px"})},0)};this.options.disableRotation?(n(),window.addEventListener(d,function t(){window.removeEventListener(d,t),setTimeout(function(){n(),window.addEventListener(d,t,!1)},400)},!1)):l(this.wrapper,{width:e().width+"px",height:e().height+"px"})},t}();e.default=p;var l=function(t,e){for(var n in e)t.style[n]=e[n]},f=function(t){return"string"==typeof t&&t.constructor===String},d="onorientationchange"in window?"orientationchange":"resize",h=function(){return document.documentElement.clientWidth>document.documentElement.clientHeight?"landscape":"portrait"}},function(t,e,n){var o=n(0);t.exports=function(t){var e="",n=t||{};return function(t){e=e+"'}.call(this,"_style"in n?n._style:"undefined"!=typeof _style?_style:void 0),e}},function(t,e){},function(t,e,n){var o=n(0);t.exports=function(t){var e="",n=t||{};return function(t,n,r,i,a,s){e=e+"",s instanceof t?function(){var t=s;if("number"==typeof t.length)for(var n=0,r=t.length;n";else{r=0;for(var n in t){r++;var i=t[n];e=e+""}}}.call(this):s instanceof n?e=e+"":"string"==typeof s&&s.constructor===r&&(e=e+""),e+="I'm sorry; your browser doesn't support HTML5 video."}.call(this,"Array"in n?n.Array:"undefined"!=typeof Array?Array:void 0,"Object"in n?n.Object:"undefined"!=typeof Object?Object:void 0,"String"in n?n.String:"undefined"!=typeof String?String:void 0,"_style"in n?n._style:"undefined"!=typeof _style?_style:void 0,"orientation"in n?n.orientation:"undefined"!=typeof orientation?orientation:void 0,"source"in n?n.source:"undefined"!=typeof source?source:void 0),e}},function(t,e,n){var o=n(6);"string"==typeof o&&(o=[[t.i,o,""]]);var r={hmr:!0};r.transform=void 0,n(8)(o,r),o.locals&&(t.exports=o.locals)},function(t,e,n){(e=t.exports=n(7)(void 0)).push([t.i,"._1zZ_RhutIk,._2heUbr8G4K,._2jN4IoO8qs,._3V7mDASXLV,._3yg59pX2Hj,._22N4SRA1cT,.I2xujHhbJI{position:absolute}._1zZ_RhutIk,._2heUbr8G4K,._3yg59pX2Hj,._22N4SRA1cT{left:0;top:0;width:100%;height:100%}._2jN4IoO8qs,._3V7mDASXLV,.I2xujHhbJI{left:-100%;top:-100%;right:-100%;bottom:-100%;margin:auto}._2heUbr8G4K{z-index:9999;display:none;background-color:#000;overflow:hidden}._2heUbr8G4K._2Tgr7SlKBs{display:block}.I2xujHhbJI{background-color:#000;transform-origin:50% 50%}._2jN4IoO8qs,.I2xujHhbJI{z-index:1;overflow:hidden}._3yg59pX2Hj{z-index:-1;object-fit:fill;object-position:50% 50%}._22N4SRA1cT{z-index:10}._1zZ_RhutIk{z-index:100;background-color:rgba(0,0,0,.1)}._3V7mDASXLV{cursor:pointer;opacity:.6}._3V7mDASXLV,.MvAVwAhKfH{max-width:60px;max-height:60px}.MvAVwAhKfH{fill:#fff}",""]),e.locals={container:"_2heUbr8G4K",video:"_3yg59pX2Hj",mask:"_22N4SRA1cT",playButtonWrapper:"_1zZ_RhutIk",wrapper:"I2xujHhbJI",videoWrapperForConstraintRatio:"_2jN4IoO8qs",playButton:"_3V7mDASXLV",show:"_2Tgr7SlKBs",playButtonSvg:"MvAVwAhKfH"}},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=o(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r=0&&g.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",u(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",u(e,t.attrs),i(t,e),e}function u(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function p(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var u=b++;n=m||(m=s(e)),o=l.bind(null,n,u,!1),r=l.bind(null,n,u,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),o=d.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=f.bind(null,n),r=function(){a(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}function l(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=x(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function f(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function d(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=w(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),y=function(t){var e={};return function(n){if(void 0===e[n]){var o=t.call(this,n);if(o instanceof window.HTMLIFrameElement)try{o=o.contentDocument.head}catch(t){o=null}e[n]=o}return e[n]}}(function(t){return document.querySelector(t)}),m=null,b=0,g=[],w=n(9);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=v()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return o(n,e),function(t){for(var i=[],a=0;a