mirror of https://github.com/rocboss/paopao-ce
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.
811 lines
47 KiB
811 lines
47 KiB
2 years ago
|
import{b5 as V,bq as pe,y as D,r as z,as as ce,n as ve,d as C,q as fe,av as T,h as R,br as me,u as ye,v as L,a2 as he,p as ge,t as Q,ba as we,bd as W,be,bf as ke,C as $e,D as xe,bs as Z,W as a,Y as c,Z as E,ai as J,ab as g,ac as k,a4 as i,a5 as p,a3 as m,aa as q,a8 as $,af as ee,a6 as y,b4 as P,bt as ne,a7 as w,bu as te,bv as Se,bw as Ce,bx as _e,a9 as Ee,by as Be,bz as Re,K as ze,bA as je}from"./index.d4f5aad2.js";function Fe(e){if(typeof e=="number")return{"":e.toString()};const n={};return e.split(/ +/).forEach(l=>{if(l==="")return;const[s,u]=l.split(":");u===void 0?n[""]=s:n[s]=u}),n}function O(e,n){var l;if(e==null)return;const s=Fe(e);if(n===void 0)return s[""];if(typeof n=="string")return(l=s[n])!==null&&l!==void 0?l:s[""];if(Array.isArray(n)){for(let u=n.length-1;u>=0;--u){const o=n[u];if(o in s)return s[o]}return s[""]}else{let u,o=-1;return Object.keys(s).forEach(t=>{const d=Number(t);!Number.isNaN(d)&&n>=d&&d>=o&&(o=d,u=s[t])}),u}}function De(e){var n;const l=(n=e.dirs)===null||n===void 0?void 0:n.find(({dir:s})=>s===V);return!!(l&&l.value===!1)}const Me={xs:0,s:640,m:1024,l:1280,xl:1536,"2xl":1920};function Ie(e){return`(min-width: ${e}px)`}const U={};function Ne(e=Me){if(!pe)return D(()=>[]);if(typeof window.matchMedia!="function")return D(()=>[]);const n=z({}),l=Object.keys(e),s=(u,o)=>{u.matches?n.value[o]=!0:n.value[o]=!1};return l.forEach(u=>{const o=e[u];let t,d;U[o]===void 0?(t=window.matchMedia(Ie(o)),t.addEventListener?t.addEventListener("change",v=>{d.forEach(h=>{h(v,u)})}):t.addListener&&t.addListener(v=>{d.forEach(h=>{h(v,u)})}),d=new Set,U[o]={mql:t,cbs:d}):(t=U[o].mql,d=U[o].cbs),d.add(s),t.matches&&d.forEach(v=>{v(t,u)})}),ce(()=>{l.forEach(u=>{const{cbs:o}=U[e[u]];o.has(s)&&o.delete(s)})}),D(()=>{const{value:u}=n;return l.filter(o=>u[o])})}const K=1,re=ve("n-grid"),oe=1,Ae={span:{type:[Number,String],default:oe},offset:{type:[Number,String],default:0},suffix:Boolean,privateOffset:Number,privateSpan:Number,privateColStart:Number,privateShow:{type:Boolean,default:!0}};var ie=C({__GRID_ITEM__:!0,name:"GridItem",alias:["Gi"],props:Ae,setup(){const{isSsrRef:e,xGapRef:n,itemStyleRef:l,overflowRef:s,layoutShiftDisabledRef:u}=fe(re),o=me();return{overflow:s,itemStyle:l,layoutShiftDisabled:u,mergedXGap:D(()=>T(n.value||0)),deriveStyle:()=>{e.value;const{privateSpan:t=oe,privateShow:d=!0,privateColStart:v=void 0,privateOffset:h=0}=o.vnode.props,{value:r}=n,f=T(r||0);return{display:d?"":"none",gridColumn:`${v!=null?v:`span ${t}`} / span ${t}`,marginLeft:h?`calc((100% - (${t} - 1) * ${f}) / ${t} * ${h} + ${f} * ${h})`:""}}}},render(){var e,n;if(this.layoutShiftDisabled){const{span:l,offset:s,mergedXGap:u}=this;return R("div",{style:{gridColumn:`span ${l} / span ${l}`,marginLeft:s?`calc((100% - (${l} - 1) * ${u}) / ${l} * ${s} + ${u} * ${s})`:""}},this.$slots)}return R("div",{style:[this.itemStyle,this.deriveStyle()]},(n=(e=this.$slots).default)===null||n===void 0?void 0:n.call(e,{overflow:this.overflow}))}});const Te={xs:0,s:640,m:1024,l:1280,xl:1536,xxl:1920},se=24,H="__ssr__",Pe={layoutShiftDisabled:Boolean,responsive:{type:[String,Boolean],default:"self"},cols:{type:[Number,String],default:se},itemResponsive:Boolean,collapsed:Boolean,collapsedRows:{type:Number,default:1},itemStyle:[Object,String],xGap:{type:[Number,String],default:0},yGap:{type:[Number,String],default:0}};var ae=C({name:"Grid",inheritAttrs:!1,props:Pe,setup(e){const{mergedClsPrefixRef:n,mergedBreakpointsRef:l}=ye(e),s=/^\d+$/,u=z(void 0),o=Ne((l==null?void 0:l.value)||Te),t=L(()=>!!(e.itemResponsive||!s.test(e.cols.toString())||!s.test(e.xGap.toString())||!s.test(e.yGap.toString()))),d=D(()=>{if(!!t.value)return e.responsive==="self"?u.value:o.value}),v=L(()=>{var x;return(x=Number(O(e.cols.toString(),d.value)))!==null&&x!==void 0?x:se}),h=L(()=>O(e.xGap.toString(),d.value)),r=L(()=>O(e.yGap.toString(),d.value)),f=x=>{u.value=x.contentRect.width},S=x=>{ke(f,x)},M=z(!1),I=D(()=>{if(e.responsive==="self")return S}),_=z(!1),j=z();return he(()=>{const{value:x}=j;x&&x.hasAttribute(H)&&(x.removeAttribute(H),_.value=!0)}),ge(re,{layoutShiftD
|
||
|
|
||
|
/*! 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))
|
||
|
}
|
||
|
|
||
|
`;Bn(Rn);de.render=En;var zn=(()=>{const e=de;return e.install=n=>{n.component("Vue3PlayerVideo",e)},e})(),jn=zn;const Fn={key:0},qn=C({__name:"post-video",props:{videos:{default:()=>[]},full:{type:Boolean,default:!1}},setup(e){const n=e;return(l,s)=>{const u=ie,o=ae;return n.videos.length>0?(a(),c("div",Fn,[i(o,{"x-gap":4,"y-gap":4,cols:e.full?1:5},{default:p(()=>[i(u,{span:e.full?1:3},{default:p(()=>[(a(!0),c(g,null,k(n.videos,t=>(a(),y(m(jn),{onClick:s[0]||(s[0]=$(()=>{},["stop"])),key:t.id,src:t.content,colors:["#18a058","#2aca75"],hoverable:!0,theme:"gradient"},null,8,["src"]))),128))]),_:1},8,["span"])]),_:1},8,["cols"])])):w("",!0)}}});const Dn={class:"images-wrap"},Gn=C({__name:"post-image",props:{imgs:{default:()=>[]}},setup(e){const n=e,l="https://paopao-assets.oss-cn-shanghai.aliyuncs.com/public/404.png",s="?x-oss-process=image/resize,m_fill,w_300,h_300,limit_0/auto-orient,1/format,png";return(u,o)=>{const t=Ce,d=ie,v=ae,h=_e;return a(),c("div",Dn,[[1].includes(n.imgs.length)?(a(),y(h,{key:0},{default:p(()=>[i(v,{"x-gap":4,"y-gap":4,cols:2},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,r=>(a(),y(d,{key:r.id},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[0]||(o[0]=$(()=>{},["stop"])),class:"post-img x1","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),[2,3].includes(n.imgs.length)?(a(),y(h,{key:1},{default:p(()=>[i(v,{"x-gap":4,"y-gap":4,cols:3},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,r=>(a(),y(d,{key:r.id},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[1]||(o[1]=$(()=>{},["stop"])),class:"post-img x2","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),[4].includes(n.imgs.length)?(a(),y(h,{key:2},{default:p(()=>[i(v,{"x-gap":4,"y-gap":4,cols:4},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,r=>(a(),y(d,{key:r.id},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[2]||(o[2]=$(()=>{},["stop"])),class:"post-img x3","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024))),128))]),_:1})]),_:1})):w("",!0),[5].includes(n.imgs.length)?(a(),y(h,{key:3},{default:p(()=>[i(v,{"x-gap":4,"y-gap":4,cols:3},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,(r,f)=>(a(),c(g,{key:r.id},[f<3?(a(),y(d,{key:0},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[3]||(o[3]=$(()=>{},["stop"])),class:"post-img x2","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024)):w("",!0)],64))),128))]),_:1}),i(v,{"x-gap":4,"y-gap":4,cols:2,style:{"margin-top":"4px"}},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,(r,f)=>(a(),c(g,{key:r.id},[f>=3?(a(),y(d,{key:0},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[4]||(o[4]=$(()=>{},["stop"])),class:"post-img x1","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024)):w("",!0)],64))),128))]),_:1})]),_:1})):w("",!0),[6].includes(n.imgs.length)?(a(),y(h,{key:4},{default:p(()=>[i(v,{"x-gap":4,"y-gap":4,cols:3},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,(r,f)=>(a(),c(g,{key:r.id},[f<3?(a(),y(d,{key:0},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[5]||(o[5]=$(()=>{},["stop"])),class:"post-img x2","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024)):w("",!0)],64))),128))]),_:1}),i(v,{"x-gap":4,"y-gap":4,cols:3,style:{"margin-top":"4px"}},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,(r,f)=>(a(),c(g,{key:r.id},[f>=3?(a(),y(d,{key:0},{default:p(()=>[i(t,{onError:()=>r.content=m(l),onClick:o[6]||(o[6]=$(()=>{},["stop"])),class:"post-img x2","object-fit":"cover",src:r.content+m(s),"preview-src":r.content},null,8,["onError","src","preview-src"])]),_:2},1024)):w("",!0)],64))),128))]),_:1})]),_:1})):w("",!0),n.imgs.length===7?(a(),y(h,{key:5},{default:p(()=>[i(v,{"x-gap":4,"y-gap":4,cols:4},{default:p(()=>[(a(!0),c(g,null,k(n.imgs,(r,f)=
|