Files
zyplayer-doc/zyplayer-doc-wiki/src/main/resources/dist/assets/vant-a2f25ba3.js

2 lines
183 KiB
JavaScript
Raw Normal View History

2023-08-15 17:02:02 +08:00
import{u as vi,a as de,b as Ee,c as Pe,o as on,g as Ml,d as ge,e as ka,r as ze,f as Ht,h as mi,i as mt,C as hi,j as ht,k as gi,l as bi,m as _n,n as yi,p as xi}from"./vendor-d51e6ee8.js";import{u as wi,r as A,a as Ce,i as Ta,w as W,o as Te,n as le,c as a,d as z,g as St,b as _,e as Wt,f as Ct,h as kt,p as Rn,j as Yt,m as ce,T as On,k as ke,v as Be,l as jt,F as xt,q as Si,s as Ci,t as ki,x as Ti,y as Ll,z as Fl,A as $i,B as Bi,C as Pi,D as Ii,E as Di,G as Ei}from"./vue-650a4d10.js";const ie=e=>e!=null,Nt=e=>typeof e=="function",ot=e=>e!==null&&typeof e=="object",$a=e=>ot(e)&&Nt(e.then)&&Nt(e.catch),an=e=>Object.prototype.toString.call(e)==="[object Date]"&&!Number.isNaN(e.getTime());function Nl(e){return e=e.replace(/[^-|\d]/g,""),/^((\+86)|(86))?(1)\d{10}$/.test(e)||/^0[0-9-]{10,13}$/.test(e)}const Hl=e=>typeof e=="number"||/^\d+(\.\d+)?$/.test(e),Ai=()=>Le?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1;function da(){}const q=Object.assign,Le=typeof window<"u";function ja(e,t){const n=t.split(".");let l=e;return n.forEach(o=>{var i;l=ot(l)&&(i=l[o])!=null?i:""}),l}function se(e,t,n){return t.reduce((l,o)=>((!n||e[o]!==void 0)&&(l[o]=e[o]),l),{})}const qe=(e,t)=>JSON.stringify(e)===JSON.stringify(t),Pn=e=>Array.isArray(e)?e:[e],me=null,F=[Number,String],V={type:Boolean,default:!0},Se=e=>({type:e,required:!0}),ve=()=>({type:Array,default:()=>[]}),be=e=>({type:Number,default:e}),Y=e=>({type:F,default:e}),H=e=>({type:String,default:e});function it(e){const t="scrollTop"in e?e.scrollTop:e.pageYOffset;return Math.max(t,0)}function In(e,t){"scrollTop"in e?e.scrollTop=t:e.scrollTo(e.scrollX,t)}function cn(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0}function Vn(e){In(window,e),In(document.body,e)}function Ua(e,t){if(e===window)return 0;const n=t?it(t):cn();return de(e).top+n}const _i=Ai();function Wl(){_i&&Vn(cn())}const Ba=e=>e.stopPropagation();function fe(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&Ba(e)}function wt(e){const t=wi(e);if(!t)return!1;const n=window.getComputedStyle(t),l=n.display==="none",o=t.offsetParent===null&&n.position!=="fixed";return l||o}const{width:nt,height:Me}=vi();function p(e){if(ie(e))return Hl(e)?`${e}px`:String(e)}function ct(e){if(ie(e)){if(Array.isArray(e))return{width:p(e[0]),height:p(e[1])};const t=p(e);return{width:t,height:t}}}function rt(e){const t={};return e!==void 0&&(t.zIndex=+e),t}let Kn;function Ri(){if(!Kn){const e=document.documentElement,t=e.style.fontSize||window.getComputedStyle(e).fontSize;Kn=parseFloat(t)}return Kn}function Oi(e){return e=e.replace(/rem/g,""),+e*Ri()}function Vi(e){return e=e.replace(/vw/g,""),+e*nt.value/100}function zi(e){return e=e.replace(/vh/g,""),+e*Me.value/100}function Pa(e){if(typeof e=="number")return e;if(Le){if(e.includes("rem"))return Oi(e);if(e.includes("vw"))return Vi(e);if(e.includes("vh"))return zi(e)}return parseFloat(e)}const Mi=/-(\w)/g,Yl=e=>e.replace(Mi,(t,n)=>n.toUpperCase()),Li=e=>e.replace(/([A-Z])/g,"-$1").toLowerCase().replace(/^-/,"");function je(e,t=2){let n=e+"";for(;n.length<t;)n="0"+n;return n}const $e=(e,t,n)=>Math.min(Math.max(e,t),n);function Ka(e,t,n){const l=e.indexOf(t);return l===-1?e:t==="-"&&l!==0?e.slice(0,l):e.slice(0,l+1)+e.slice(l).replace(n,"")}function fa(e,t=!0,n=!0){t?e=Ka(e,".",/\./g):e=e.split(".")[0],n?e=Ka(e,"-",/-/g):e=e.replace(/-/,"");const l=t?/[^-0-9.]/g:/[^-0-9]/g;return e.replace(l,"")}function jl(e,t){return Math.round((e+t)*1e10)/1e10}const{hasOwnProperty:Fi}=Object.prototype;function Ni(e,t,n){const l=t[n];ie(l)&&(!Fi.call(e,n)||!ot(l)?e[n]=l:e[n]=Ul(Object(e[n]),l))}function Ul(e,t){return Object.keys(t).forEach(n=>{Ni(e,t,n)}),e}var Hi={name:"姓名",tel:"电话",save:"保存",clear:"清空",cancel:"取消",confirm:"确认",delete:"删除",loading:"加载中...",noCoupon:"暂无优惠券",nameEmpty:"请填写姓名",addContact:"添加联系人",telInvalid:"请填写正确的电话",vanCalendar:{end:"结束",start:"开始",title:"日期选择",weekdays:["日","一","二","三","四","五","六"],monthTi