You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
paopao-ce/web/dist/assets/nonesir-video-36879f7c.js

811 lines
28 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

import{d as m,o as s,K as l,L as r,M as p,z as d,v as u,N as f,O as v,P as h,Q as w}from"./@vue-0075cdd2.js";var b=m({name:"BasicTheme",props:{uuid:{type:String,required:!0},src:{type:String,required:!0},autoplay:{type:Boolean,required:!0},loop:{type:Boolean,required:!0},controls:{type:Boolean,required:!0},hoverable:{type:Boolean,required:!0},mask:{type:Boolean,required:!0},colors:{type:[String,Array],required:!0},time:{type:Object,required:!0},playing:{type:Boolean,default:!1},duration:{type:[String,Number],required:!0}},data(){return{hovered:!1,volume:!1,amount:1}},computed:{colorFrom(){var e;return typeof this.colors=="string"?this.colors?this.colors:"#fbbf24":(e=this.colors)!==null&&e!==void 0&&e[0]?this.colors[0]:"#fbbf24"},colorTo(){var e;return typeof this.colors=="string"?this.colors?this.colors:"#fbbf24":(e=this.colors)!==null&&e!==void 0&&e[1]?this.colors[1]:"#ec4899"}},mounted(){this.$emit("setPlayer",this.$refs[this.uuid])},methods:{setVolume(){this.$refs[this.uuid].volume=this.amount},stopVolume(){return this.amount>0?this.amount=0:this.amount=1}}});const k={class:"relative"},$={class:"flex items-center justify-start w-full"},S={class:"font-sans text-white text-xs w-24"},z={class:"mr-3 ml-2"},C={class:"relative"},B={class:"px-3 py-2 rounded-lg flex items-center transform translate-x-2",style:{"background-color":"rgba(0, 0, 0, .8)"}},x=r("img",{src:"https://en-zo.dev/vue-videoplayer/play.svg",alt:"Icon play video",class:"transform translate-x-0.5 w-12"},null,-1);function P(e,n,i,o,a,y){return s(),l("div",{class:"shadow-xl rounded-xl overflow-hidden relative",onMouseenter:n[15]||(n[15]=t=>e.hovered=!0),onMouseleave:n[16]||(n[16]=t=>e.hovered=!1),onKeydown:n[17]||(n[17]=h(t=>e.$emit("play"),["left"]))},[r("div",k,[r("video",{ref:e.uuid,class:"w-full",loop:e.loop,autoplay:e.autoplay,muted:e.autoplay,onTimeupdate:n[1]||(n[1]=t=>e.$emit("timeupdate",t.target)),onPause:n[2]||(n[2]=t=>e.$emit("isPlaying",!1)),onPlay:n[3]||(n[3]=t=>e.$emit("isPlaying",!0)),onClick:n[4]||(n[4]=t=>e.$emit("play"))},[r("source",{src:e.src,type:"video/mp4"},null,8,["src"])],40,["loop","autoplay","muted"]),e.controls?(s(),l("div",{key:0,class:[{"opacity-0 translate-y-full":!e.hoverable&&e.hovered,"opacity-0 translate-y-full":e.hoverable&&!e.hovered},"transition duration-300 transform absolute w-full bottom-0 left-0 flex items-center justify-between overlay px-5 pt-3 pb-5"]},[r("div",$,[r("p",S,p(e.time.display)+"/"+p(e.duration),1),r("div",z,[d(r("img",{src:"https://en-zo.dev/vue-videoplayer/pause.svg",alt:"Icon pause video",class:"w-5 cursor-pointer",onClick:n[5]||(n[5]=t=>e.$emit("play"))},null,512),[[u,e.playing]]),d(r("img",{src:"https://en-zo.dev/vue-videoplayer/play.svg",alt:"Icon play video",class:"w-5 cursor-pointer",onClick:n[6]||(n[6]=t=>e.$emit("play"))},null,512),[[u,!e.playing]])]),r("div",{class:"w-full h-1 bg-white bg-opacity-60 rounded-sm cursor-pointer",onClick:n[7]||(n[7]=t=>e.$emit("position",t))},[r("div",{class:"relative h-full pointer-events-none",style:`width: ${e.time.progress}%; transition: width .2s ease-in-out;`},[r("div",{class:"w-full rounded-sm h-full gradient-variable bg-gradient-to-r pointer-events-none absolute top-0 left-0",style:`--tw-gradient-from: ${e.colorFrom};--tw-gradient-to: ${e.colorTo};transition: width .2s ease-in-out`},null,4),r("div",{class:"w-full rounded-sm filter blur-sm h-full gradient-variable bg-gradient-to-r pointer-events-none absolute top-0 left-0",style:`--tw-gradient-from: ${e.colorFrom};--tw-gradient-to: ${e.colorTo};transition: width .2s ease-in-out`},null,4)],4)])]),r("div",{class:"ml-5 flex items-center justify-end",onMouseleave:n[13]||(n[13]=t=>e.volume=!1)},[r("div",C,[r("div",{class:`w-128 origin-left translate-x-2 -rotate-90 w-128 transition duration-200 absolute transform top-0 py-2 ${e.volume?"-translate-y-4":"opacity-0 -translate-y-1 pointer-events-none"}`},[r("div",B,[d(r("input",{"onUpdate:modelValue":n[8]||(n[8]=t=>e.amount=t),type:"range",step:"0.05",min:"0",max:"1",class:"rounded-lg overflow-hidden appearance-none bg-white bg-opacity-30 h-1 w-128 vertical-range",onInput:n[9]||(n[9]=(...t)=>e.setVolume&&e.setVolume(...t))},null,544),[[f,e.amount]])])],2),r("img",{src:`https://en-zo.dev/vue-videoplayer/volume-${Math.ceil(e.amount*2)}.svg`,alt:"High volume video",class:"w-5 cursor-pointer relative",style:{"z-index":"2"},onClick:n[10]||(n[10]=(...t)=>e.stopVolume&&e.stopVolume(...t)),onMouseenter:n[11]||(n[11]=t=>e.volume=!0)},null,40,["src"])]),r("img",{src:"https://en-zo.dev/vue-videoplayer/maximize.svg",alt:"Fullscreen",class:"w-3 ml-4 cursor-pointer",onClick:n[12]||(n[12]=t=>e.$emit("fullScreen"))})],32)],2)):v("",!0),!e.autoplay&&e.mask&&e.time.current===0?(s(),l("div",{key:1,class:`transition transform duration-300 absolute top-0 left-0 w-full h-full bg-black bg-opacity-50 backdrop-filter z-10 flex items-center justify-center ${e.playing?"opacity-0 pointer-events-none":""}`},[r("div",{class:"w-20 h-20 rounded-full bg-white bg-opacity-20 transition duration-200 hover:bg-opacity-40 flex items-center justify-center cursor-pointer",onClick:n[14]||(n[14]=t=>e.$emit("play"))},[x])],2)):v("",!0)])],32)}b.render=P;var c=m({name:"BasicTheme",props:{uuid:{type:String,required:!0},src:{type:String,required:!0},autoplay:{type:Boolean,required:!0},loop:{type:Boolean,required:!0},controls:{type:Boolean,required:!0},hoverable:{type:Boolean,required:!0},mask:{type:Boolean,required:!0},colors:{type:[String,Array],required:!0},time:{type:Object,required:!0},playing:{type:Boolean,default:!1},duration:{type:[String,Number],required:!0}},data(){return{hovered:!1,volume:!1,amount:1}},computed:{color(){var e;return typeof this.colors=="string"?this.colors?this.colors:"#8B5CF6":(e=this.colors)!==null&&e!==void 0&&e[0]?this.colors[0]:"#8B5CF6"}},mounted(){this.$emit("setPlayer",this.$refs[this.uuid])},methods:{setVolume(){this.$refs[this.uuid].volume=this.amount},stopVolume(){return this.amount>0?this.amount=0:this.amount=1}}});const T={class:"relative"},j={class:"mr-5"},I={class:"relative mr-6"},F={class:"px-3 py-3 rounded-xl flex items-center transform translate-x-9 bg-black bg-opacity-30"},q=r("img",{src:"https://en-zo.dev/vue-videoplayer/play.svg",alt:"Icon play video",class:"transform translate-x-0.5 w-12"},null,-1);function M(e,n,i,o,a,y){return s(),l("div",{class:"shadow-xl rounded-3xl overflow-hidden relative",onMouseenter:n[14]||(n[14]=t=>e.hovered=!0),onMouseleave:n[15]||(n[15]=t=>e.hovered=!1),onKeydown:n[16]||(n[16]=h(t=>e.$emit("play"),["left"]))},[r("div",T,[r("video",{ref:e.uuid,class:"w-full",loop:e.loop,autoplay:e.autoplay,muted:e.autoplay,onTimeupdate:n[1]||(n[1]=t=>e.$emit("timeupdate",t.target)),onPause:n[2]||(n[2]=t=>e.$emit("isPlaying",!1)),onPlay:n[3]||(n[3]=t=>e.$emit("isPlaying",!0)),onClick:n[4]||(n[4]=t=>e.$emit("play"))},[r("source",{src:e.src,type:"video/mp4"},null,8,["src"])],40,["loop","autoplay","muted"]),e.controls?(s(),l("div",{key:0,class:[{"opacity-0 translate-y-full":!e.hoverable&&e.hovered,"opacity-0 translate-y-full":e.hoverable&&!e.hovered},"absolute px-5 pb-5 bottom-0 left-0 w-full transition duration-300 transform"]},[r("div",{class:"w-full bg-black bg-opacity-30 px-5 py-4 rounded-xl flex items-center justify-between",onMouseleave:n[12]||(n[12]=t=>e.volume=!1)},[r("div",{class:"font-sans py-1 px-2 text-white rounded-md text-xs mr-5 whitespace-nowrap font-medium w-32 text-center",style:`font-size: 11px; background-color: ${e.color}`},p(e.time.display)+" / "+p(e.duration),5),r("div",j,[d(r("img",{src:"https://en-zo.dev/vue-videoplayer/basic/pause.svg",alt:"Icon pause video",class:"w-4 cursor-pointer filter-white transition duration-300",onClick:n[5]||(n[5]=t=>e.$emit("play"))},null,512),[[u,e.playing]]),d(r("img",{src:"https://en-zo.dev/vue-videoplayer/basic/play.svg",alt:"Icon play video",class:"w-4 cursor-pointer filter-white transition duration-300",onClick:n[6]||(n[6]=t=>e.$emit("play"))},null,512),[[u,!e.playing]])]),r("div",{class:"w-full h-1 bg-white bg-opacity-40 rounded-sm cursor-pointer mr-6",onClick:n[7]||(n[7]=t=>e.$emit("position",t))},[r("div",{class:"w-full rounded-sm h-full bg-white pointer-events-none",style:`width: ${e.time.progress}%; transition: width .2s ease-in-out;`},null,4)]),r("div",I,[r("div",{class:`w-128 origin-left translate-x-2 -rotate-90 w-128 transition duration-200 absolute transform top-0 py-2 ${e.volume?"-translate-y-4":"opacity-0 -translate-y-1 pointer-events-none"}`},[r("div",F,[d(r("input",{"onUpdate:modelValue":n[8]||(n[8]=t=>e.amount=t),type:"range",step:"0.05",min:"0",max:"1",class:"rounded-lg overflow-hidden appearance-none bg-white bg-opacity-30 h-1.5 w-128 vertical-range"},null,512),[[f,e.amount]])])],2),r("img",{src:`https://en-zo.dev/vue-videoplayer/basic/volume_${Math.ceil(e.amount*2)}.svg`,alt:"High volume video",class:"w-5 cursor-pointer filter-white transition duration-300 relative",style:{"z-index":"2"},onClick:n[9]||(n[9]=(...t)=>e.stopVolume&&e.stopVolume(...t)),onMouseenter:n[10]||(n[10]=t=>e.volume=!0)},null,40,["src"])]),r("img",{src:"https://en-zo.dev/vue-videoplayer/basic/fullscreen.svg",alt:"Fullscreen",class:"w-4 cursor-pointer filter-white transition duration-300",onClick:n[11]||(n[11]=t=>e.$emit("fullScreen"))})],32)],2)):v("",!0),!e.autoplay&&e.mask&&e.time.current===0?(s(),l("div",{key:1,class:`transition transform duration-300 absolute top-0 left-0 w-full h-full bg-black bg-opacity-50 backdrop-filter z-10 flex items-center justify-center ${e.playing?"opacity-0 pointer-events-none":""}`},[r("div",{class:"w-20 h-20 rounded-full bg-white bg-opacity-20 transition duration-200 hover:bg-opacity-40 flex items-center justify-center cursor-pointer",onClick:n[13]||(n[13]=t=>e.$emit("play"))},[q])],2)):v("",!0)])],32)}c.render=M;var g=m({name:"Vue3PlayerVideo",components:{basic:c,gradient:b},props:{src:{type:String,required:!0},autoplay:{type:Boolean,default:!1},loop:{type:Boolean,default:!1},controls:{type:Boolean,default:!0},mask:{type:Boolean,default:!0},colors:{type:[String,Array],default(){return["#8B5CF6","#ec4899"]}},hoverable:{type:Boolean,default:!1},theme:{type:String,default:"basic"}},data(){return{uuid:Math.random().toString(36).substr(2,18),player:null,duration:0,playing:!1,time:{progress:0,display:0,current:0}}},watch:{"time.current"(e){this.time.display=this.format(Number(e)),this.time.progress=e*100/this.player.duration}},methods:{isPlaying(e){this.playing=e},play(){return this.playing?this.player.pause():this.player.play()},setPlayer(e){this.player=e,this.player.addEventListener("loadeddata",()=>{this.player.readyState>=3&&(this.duration=this.format(Number(this.player.duration)),this.time.display=this.format(0))})},stop(){this.player.pause(),this.player.currentTime=0},fullScreen(){this.player.webkitEnterFullscreen()},position(e){this.player.pause();const n=e.target.getBoundingClientRect(),o=(e.clientX-n.left)*100/e.target.offsetWidth;this.player.currentTime=o*this.player.duration/100,this.player.play()},format(e){const n=Math.floor(e/3600),i=Math.floor(e%3600/60),o=Math.round(e%60);return[n,i>9?i:n?"0"+i:i||"00",o>9?o:"0"+o].filter(Boolean).join(":")}}});const V={class:"vue3-player-video"};function N(e,n,i,o,a,y){return s(),l("div",V,[(s(),l(w(e.theme),{uuid:e.uuid,src:e.src,autoplay:e.autoplay,loop:e.loop,controls:e.controls,mask:e.mask,colors:e.colors,time:e.time,playing:e.playing,duration:e.duration,hoverable:e.hoverable,onPlay:e.play,onStop:e.stop,onTimeupdate:n[1]||(n[1]=({currentTime:t})=>e.time.current=t),onPosition:e.position,onFullScreen:e.fullScreen,onSetPlayer:e.setPlayer,onIsPlaying:e.isPlaying},null,8,["uuid","src","autoplay","loop","controls","mask","colors","time","playing","duration","hoverable","onPlay","onStop","onPosition","onFullScreen","onSetPlayer","onIsPlaying"]))])}function R(e,n){n===void 0&&(n={});var i=n.insertAt;if(!(!e||typeof document>"u")){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",i==="top"&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}var A=`/*! tailwindcss v2.1.2 | MIT License | https://tailwindcss.com */
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
/*
Document
========
*/
/**
Use a better box model (opinionated).
*/
*,
::before,
::after {
box-sizing: border-box;
}
/**
Use a more readable tab size (opinionated).
*/
/**
1. Correct the line height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
*/
/*
Sections
========
*/
/**
Remove the margin in all browsers.
*/
/**
Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
*/
/*
Grouping content
================
*/
/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/
/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
/**
Add the correct font weight in Edge and Safari.
*/
/**
1. Improve consistency of default fonts in all browsers. (https://github.com/sindresorhus/modern-normalize/issues/3)
2. Correct the odd 'em' font sizing in all browsers.
*/
/**
Add the correct font size in all browsers.
*/
/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
/*
Tabular data
============
*/
/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
input {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
Remove the inheritance of text transform in Edge and Firefox.
1. Remove the inheritance of text transform in Firefox.
*/
/**
Correct the inability to style clickable types in iOS and Safari.
*/
[type='button'],
[type='reset'],
[type='submit'] {
-webkit-appearance: button;
}
/**
Remove the inner border and padding in Firefox.
*/
::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
Restore the focus styles unset by the previous rule.
*/
:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
Remove the additional ':invalid' styles in Firefox.
See: https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737
*/
:-moz-ui-invalid {
box-shadow: none;
}
/**
Remove the padding so developers are not caught out when they zero out 'fieldset' elements in all browsers.
*/
/**
Add the correct vertical alignment in Chrome and Firefox.
*/
progress {
vertical-align: baseline;
}
/**
Correct the cursor style of increment and decrement buttons in Safari.
*/
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
/**
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/
[type='search'] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
Remove the inner padding in Chrome and Safari on macOS.
*/
::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to 'inherit' in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/*
Interactive
===========
*/
/*
Add the correct display in Chrome and Safari.
*/
/**
* Manually forked from SUIT CSS Base: https://github.com/suitcss/base
* A thin layer on top of normalize.css that provides a starting point more
* suitable for web applications.
*/
/**
* Removes the default spacing and border for appropriate elements.
*/
p {
margin: 0;
}
/**
* Work around a Firefox/IE bug where the transparent \`button\` background
* results in a loss of the default \`button\` focus styles.
*/
/**
* Tailwind custom reset styles
*/
/**
* 1. Use the user's configured \`sans\` font-family (with Tailwind's default
* sans-serif font stack as a fallback) as a sane default.
* 2. Use Tailwind's default "normal" line-height so the user isn't forced
* to override it to ensure consistency even when using the default theme.
*/
/**
* Inherit font-family and line-height from \`html\` so users can set them as
* a class directly on the \`html\` element.
*/
/**
* 1. Prevent padding and border from affecting element width.
*
* We used to set this in the html element and inherit from
* the parent element for everything else. This caused issues
* in shadow-dom-enhanced elements like <details> where the content
* is wrapped by a div with box-sizing set to \`content-box\`.
*
* https://github.com/mozdevs/cssremedy/issues/4
*
*
* 2. Allow adding a border to an element by just adding a border-width.
*
* By default, the way the browser specifies that an element should have no
* border is by setting it's border-style to \`none\` in the user-agent
* stylesheet.
*
* In order to easily add borders to elements by just setting the \`border-width\`
* property, we change the default border-style for all elements to \`solid\`, and
* use border-width to hide them instead. This way our \`border\` utilities only
* need to set the \`border-width\` property instead of the entire \`border\`
* shorthand, making our border utilities much more straightforward to compose.
*
* https://github.com/tailwindcss/tailwindcss/pull/116
*/
*,
::before,
::after {
box-sizing: border-box; /* 1 */
border-width: 0; /* 2 */
border-style: solid; /* 2 */
border-color: #e5e7eb; /* 2 */
}
/*
* Ensure horizontal rules are visible by default
*/
/**
* Undo the \`border-style: none\` reset that Normalize applies to images so that
* our \`border-{width}\` utilities have the expected effect.
*
* The Normalize reset is unnecessary for us since we default the border-width
* to 0 on all elements.
*
* https://github.com/tailwindcss/tailwindcss/issues/362
*/
img {
border-style: solid;
}
input:-ms-input-placeholder {
opacity: 1;
color: #9ca3af;
}
input::placeholder {
opacity: 1;
color: #9ca3af;
}
[role="button"] {
cursor: pointer;
}
/**
* Reset links to optimize for opt-in styling instead of
* opt-out.
*/
/**
* Reset form element properties that are easy to forget to
* style explicitly so you don't inadvertently introduce
* styles that deviate from your design system. These styles
* supplement a partial reset that is already applied by
* normalize.css.
*/
input {
padding: 0;
line-height: inherit;
color: inherit;
}
/**
* Use the configured 'mono' font family for elements that
* are expected to be rendered with a monospace font, falling
* back to the system monospace stack if there is no configured
* 'mono' font family.
*/
/**
* Make replaced elements \`display: block\` by default as that's
* the behavior you want almost all of the time. Inspired by
* CSS Remedy, with \`svg\` added as well.
*
* https://github.com/mozdevs/cssremedy/issues/14
*/
img,
svg,
video {
display: block;
vertical-align: middle;
}
/**
* Constrain images and videos to the parent width and preserve
* their intrinsic aspect ratio.
*
* https://github.com/mozdevs/cssremedy/issues/14
*/
img,
video {
max-width: 100%;
height: auto;
}
.vue3-player-video .appearance-none{
-webkit-appearance: none;
appearance: none;
}
.vue3-player-video .bg-black{
--tw-bg-opacity: 1;
background-color: rgba(0, 0, 0, var(--tw-bg-opacity));
}
.vue3-player-video .bg-white{
--tw-bg-opacity: 1;
background-color: rgba(255, 255, 255, var(--tw-bg-opacity));
}
.vue3-player-video .bg-gradient-to-r{
background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.vue3-player-video .bg-opacity-20{
--tw-bg-opacity: 0.2;
}
.vue3-player-video .bg-opacity-30{
--tw-bg-opacity: 0.3;
}
.vue3-player-video .bg-opacity-40{
--tw-bg-opacity: 0.4;
}
.vue3-player-video .bg-opacity-50{
--tw-bg-opacity: 0.5;
}
.vue3-player-video .bg-opacity-60{
--tw-bg-opacity: 0.6;
}
.vue3-player-video .hover\\:bg-opacity-40:hover{
--tw-bg-opacity: 0.4;
}
.vue3-player-video .rounded-sm{
border-radius: 0.125rem;
}
.vue3-player-video .rounded-md{
border-radius: 0.375rem;
}
.vue3-player-video .rounded-lg{
border-radius: 0.5rem;
}
.vue3-player-video .rounded-xl{
border-radius: 0.75rem;
}
.vue3-player-video .rounded-3xl{
border-radius: 1.5rem;
}
.vue3-player-video .rounded-full{
border-radius: 9999px;
}
.vue3-player-video .cursor-pointer{
cursor: pointer;
}
.vue3-player-video .flex{
display: flex;
}
.vue3-player-video .items-center{
align-items: center;
}
.vue3-player-video .justify-start{
justify-content: flex-start;
}
.vue3-player-video .justify-end{
justify-content: flex-end;
}
.vue3-player-video .justify-center{
justify-content: center;
}
.vue3-player-video .justify-between{
justify-content: space-between;
}
.vue3-player-video .font-sans{
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.vue3-player-video .font-medium{
font-weight: 500;
}
.vue3-player-video .h-1{
height: 0.25rem;
}
.vue3-player-video .h-20{
height: 5rem;
}
.vue3-player-video .h-full{
height: 100%;
}
.vue3-player-video .text-xs{
font-size: 0.75rem;
line-height: 1rem;
}
.vue3-player-video .ml-2{
margin-left: 0.5rem;
}
.vue3-player-video .mr-3{
margin-right: 0.75rem;
}
.vue3-player-video .ml-4{
margin-left: 1rem;
}
.vue3-player-video .mr-5{
margin-right: 1.25rem;
}
.vue3-player-video .ml-5{
margin-left: 1.25rem;
}
.vue3-player-video .mr-6{
margin-right: 1.5rem;
}
.vue3-player-video .opacity-0{
opacity: 0;
}
.vue3-player-video .overflow-hidden{
overflow: hidden;
}
.vue3-player-video .py-1{
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.vue3-player-video .py-2{
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.vue3-player-video .px-2{
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.vue3-player-video .py-3{
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.vue3-player-video .px-3{
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.vue3-player-video .py-4{
padding-top: 1rem;
padding-bottom: 1rem;
}
.vue3-player-video .px-5{
padding-left: 1.25rem;
padding-right: 1.25rem;
}
.vue3-player-video .pt-3{
padding-top: 0.75rem;
}
.vue3-player-video .pb-5{
padding-bottom: 1.25rem;
}
.vue3-player-video .pointer-events-none{
pointer-events: none;
}
.vue3-player-video .absolute{
position: absolute;
}
.vue3-player-video .relative{
position: relative;
}
.vue3-player-video .top-0{
top: 0px;
}
.vue3-player-video .bottom-0{
bottom: 0px;
}
.vue3-player-video .left-0{
left: 0px;
}
*{
--tw-shadow: 0 0 #0000;
}
.vue3-player-video .shadow-xl{
--tw-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
*{
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
--tw-ring-offset-width: 0px;
--tw-ring-offset-color: #fff;
--tw-ring-color: rgba(59, 130, 246, 0.5);
--tw-ring-offset-shadow: 0 0 #0000;
--tw-ring-shadow: 0 0 #0000;
}
.vue3-player-video .text-center{
text-align: center;
}
.vue3-player-video .text-white{
--tw-text-opacity: 1;
color: rgba(255, 255, 255, var(--tw-text-opacity));
}
.vue3-player-video .whitespace-nowrap{
white-space: nowrap;
}
.vue3-player-video .w-3{
width: 0.75rem;
}
.vue3-player-video .w-4{
width: 1rem;
}
.vue3-player-video .w-5{
width: 1.25rem;
}
.vue3-player-video .w-12{
width: 3rem;
}
.vue3-player-video .w-20{
width: 5rem;
}
.vue3-player-video .w-24{
width: 6rem;
}
.vue3-player-video .w-32{
width: 8rem;
}
.vue3-player-video .w-full{
width: 100%;
}
.vue3-player-video .z-10{
z-index: 10;
}
.vue3-player-video .transform{
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.vue3-player-video .origin-left{
transform-origin: left;
}
.vue3-player-video .-rotate-90{
--tw-rotate: -90deg;
}
.vue3-player-video .translate-x-0{
--tw-translate-x: 0px;
}
.vue3-player-video .translate-x-2{
--tw-translate-x: 0.5rem;
}
.vue3-player-video .translate-x-9{
--tw-translate-x: 2.25rem;
}
.vue3-player-video .-translate-y-1{
--tw-translate-y: -0.25rem;
}
.vue3-player-video .-translate-y-4{
--tw-translate-y: -1rem;
}
.vue3-player-video .translate-y-full{
--tw-translate-y: 100%;
}
.vue3-player-video .transition{
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.vue3-player-video .ease-in-out{
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.vue3-player-video .duration-200{
transition-duration: 200ms;
}
.vue3-player-video .duration-300{
transition-duration: 300ms;
}
@keyframes spin{
to{
transform: rotate(360deg);
}
}
@keyframes ping{
75%, 100%{
transform: scale(2);
opacity: 0;
}
}
@keyframes pulse{
50%{
opacity: .5;
}
}
@keyframes bounce{
0%, 100%{
transform: translateY(-25%);
animation-timing-function: cubic-bezier(0.8,0,1,1);
}
50%{
transform: none;
animation-timing-function: cubic-bezier(0,0,0.2,1);
}
}
.vue3-player-video .filter{
--tw-blur: var(--tw-empty,/*!*/ /*!*/);
--tw-brightness: var(--tw-empty,/*!*/ /*!*/);
--tw-contrast: var(--tw-empty,/*!*/ /*!*/);
--tw-grayscale: var(--tw-empty,/*!*/ /*!*/);
--tw-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
--tw-invert: var(--tw-empty,/*!*/ /*!*/);
--tw-saturate: var(--tw-empty,/*!*/ /*!*/);
--tw-sepia: var(--tw-empty,/*!*/ /*!*/);
--tw-drop-shadow: var(--tw-empty,/*!*/ /*!*/);
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.vue3-player-video .blur-sm{
--tw-blur: blur(4px);
}
.vue3-player-video .blur{
--tw-blur: blur(8px);
}
.vue3-player-video .backdrop-filter{
--tw-backdrop-blur: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-brightness: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-contrast: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-grayscale: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-hue-rotate: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-invert: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-opacity: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-saturate: var(--tw-empty,/*!*/ /*!*/);
--tw-backdrop-sepia: var(--tw-empty,/*!*/ /*!*/);
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.overlay {
background: linear-gradient(0deg, rgba(0,0,0,0.41961), transparent)
}
.vertical-range::-webkit-slider-thumb {
width: 6px;
-webkit-appearance: none;
appearance: none;
height: 6px;
background-color: white;
cursor: ns-resize;
box-shadow: -405px 0 0 400px rgba(255, 255, 255, .6);
border-radius: 50%;
}
.backdrop-filter {
-webkit-backdrop-filter: blur(15px) !important;
backdrop-filter: blur(15px) !important;
}
.filter-white:hover {
filter: brightness(2);
}
.gradient-variable {
--tw-gradient-from: #fbbf24;
--tw-gradient-to: #ec4899;
--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(251, 191, 36, 0))
}
`;R(A);g.render=N;var E=(()=>{const e=g;return e.install=n=>{n.component("Vue3PlayerVideo",e)},e})();const O=E;export{O as N};