phizclip-uniapp-demo/finclip-uniapp-test/unpackage/resources/__UNI__87380BE/www/uni-app-view.umd.js

4 lines
296 KiB
JavaScript
Raw Normal View History

2022-06-08 11:57:35 +08:00
(function(Gn){typeof define=="function"&&define.amd?define(Gn):Gn()})(function(){"use strict";var Gn="",qT="",XT="",Lr={exports:{}},ha={exports:{}},ga={exports:{}},Fh=ga.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Fh);var pa={exports:{}};pa.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")(),typeof __g=="number"&&(__g=window);var $h=ga.exports,Ll="__core-js_shared__",Pl=window[Ll]||(window[Ll]={});(ha.exports=function(e,t){return Pl[e]||(Pl[e]=t!==void 0?t:{})})("versions",[]).push({version:$h.version,mode:"window",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"});var zh=0,Uh=Math.random(),Jn=function(e){return"Symbol(".concat(e===void 0?"":e,")_",(++zh+Uh).toString(36))},Qn=ha.exports("wks"),Hh=Jn,eo=pa.exports.Symbol,Nl=typeof eo=="function",Wh=Lr.exports=function(e){return Qn[e]||(Qn[e]=Nl&&eo[e]||(Nl?eo:Hh)("Symbol."+e))};Wh.store=Qn;var ma={},to=function(e){return typeof e=="object"?e!==null:typeof e=="function"},Vh=to,ro=function(e){if(!Vh(e))throw TypeError(e+" is not an object!");return e},_a=function(e){try{return!!e()}catch(t){return!0}},ui=!_a(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),Dl=to,io=pa.exports.document,jh=Dl(io)&&Dl(io.createElement),Bl=function(e){return jh?io.createElement(e):{}},Yh=!ui&&!_a(function(){return Object.defineProperty(Bl("div"),"a",{get:function(){return 7}}).a!=7}),ba=to,qh=function(e,t){if(!ba(e))return e;var r,i;if(t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e))||typeof(r=e.valueOf)=="function"&&!ba(i=r.call(e))||!t&&typeof(r=e.toString)=="function"&&!ba(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")},Fl=ro,Xh=Yh,Zh=qh,Kh=Object.defineProperty;ma.f=ui?Object.defineProperty:function(t,r,i){if(Fl(t),r=Zh(r,!0),Fl(i),Xh)try{return Kh(t,r,i)}catch(a){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[r]=i.value),t};var $l=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}},Gh=ma,Jh=$l,Pr=ui?function(e,t,r){return Gh.f(e,t,Jh(1,r))}:function(e,t,r){return e[t]=r,e},ao=Lr.exports("unscopables"),no=Array.prototype;no[ao]==null&&Pr(no,ao,{});var Qh=function(e){no[ao][e]=!0},eg=function(e,t){return{value:t,done:!!e}},oo={},tg={}.toString,rg=function(e){return tg.call(e).slice(8,-1)},ig=rg,ag=Object("z").propertyIsEnumerable(0)?Object:function(e){return ig(e)=="String"?e.split(""):Object(e)},zl=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e},ng=ag,og=zl,wa=function(e){return ng(og(e))},ya={exports:{}},sg={}.hasOwnProperty,xa=function(e,t){return sg.call(e,t)},lg=ha.exports("native-function-to-string",Function.toString),Sa=Pr,Ul=xa,so=Jn("src"),lo=lg,Hl="toString",ug=(""+lo).split(Hl);ga.exports.inspectSource=function(e){return lo.call(e)},(ya.exports=function(e,t,r,i){var a=typeof r=="function";a&&(Ul(r,"name")||Sa(r,"name",t)),e[t]!==r&&(a&&(Ul(r,so)||Sa(r,so,e[t]?""+e[t]:ug.join(String(t)))),e===window?e[t]=r:i?e[t]?e[t]=r:Sa(e,t,r):(delete e[t],Sa(e,t,r)))})(Function.prototype,Hl,function(){return typeof this=="function"&&this[so]||lo.call(this)});var Wl=function(e){if(typeof e!="function")throw TypeError(e+" is not a function!");return e},fg=Wl,cg=function(e,t,r){if(fg(e),t===void 0)return e;switch(r){case 1:return function(i){return e.call(t,i)};case 2:return function(i,a){return e.call(t,i,a)};case 3:return function(i,a,n){return e.call(t,i,a,n)}}return function(){return e.apply(t,arguments)}},Ea=ga.exports,vg=Pr,dg=ya.exports,Vl=cg,uo="prototype",je=function(e,t,r){var i=e&je.F,a=e&je.G,n=e&je.S,o=e&je.P,s=e&je.B,l=a?window:n?window[t]||(window[t]={}):(window[t]||{})[uo],u=a?Ea:Ea[t]||(Ea[t]={}),f=u[uo]||(u[uo]={}),d,p,g,y;a&&(r=t);for(d in r)p=!i&&l&&l[d]!==void 0,g=(p?l:r)[d],y=s&&p?Vl(g,window):o&&typeof g=="function"?Vl(Function.call,g):g,l&&dg(l,d,g,e&je.U),u[d]!=g&&vg(u,d,y),o&&f[d]!=g&&(f[d]=g)};window.core=Ea,je.F=1,je.G=2,je.S=4,je.P=8,je.B=16,je.W=32,je.U=64,je.R=128;var fo=je,hg=Math.ceil,gg=Math.flo
`,yu=44,Na="#007aff",Cp=/^([a-z-]+:)?\/\//i,Op=/^data:.*,.*/,xu="wxs://",Su="json://",Ap="wxsModules",Ip="renderjsModules",kp="onPageScroll",Mp="onReachBottom",Rp="onWxsInvokeCallMethod",ko=0;function Mo(e){var t=Date.now(),r=ko?t-ko:0;ko=t;for(var i=arguments.length,a=new Array(i>1?i-1:0),n=1;n<i;n++)a[n-1]=arguments[n];return"[".concat(t,"][").concat(r,"ms][").concat(e,"]\uFF1A").concat(a.map(o=>JSON.stringify(o)).join(" "))}function Lp(e){var t=Object.create(null);return r=>{var i=t[r];return i||(t[r]=e(r))}}function Pp(e){return Lp(e)}function Np(e){return e.indexOf("/")===0}function Ro(e){return Np(e)?e:"/"+e}function pi(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,r;return function(){if(e){for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];r=e.apply(t,a),e=null}return r}}function Eu(e,t){if(!!Ee(t)){t=t.replace(/\[(\d+)\]/g,".$1");var r=t.split("."),i=r[0];return e||(e={}),r.length===1?e[i]:Eu(e[i],r.slice(1).join("."))}}function Tu(e){return Ht(e.substring(5))}var Dp=pi(()=>{var e=HTMLElement.prototype,t=e.setAttribute;e.setAttribute=function(i,a){if(i.startsWith("data-")&&this.tagName.startsWith("UNI-")){var n=this.__uniDataset||(this.__uniDataset={});n[Tu(i)]=a}t.call(this,i,a)};var r=e.removeAttribute;e.removeAttribute=function(i){this.__uniDataset&&i.startsWith("data-")&&this.tagName.startsWith("UNI-")&&delete this.__uniDataset[Tu(i)],r.call(this,i)}});function Lo(e){return ce({},e.dataset,e.__uniDataset)}function mi(e){return{passive:e}}function Po(e){var{id:t,offsetTop:r,offsetLeft:i}=e;return{id:t,dataset:Lo(e),offsetTop:r,offsetLeft:i}}function Bp(e,t,r){var i=document.fonts;if(i){var a=new FontFace(e,t,r);return a.load().then(()=>{i.add&&i.add(a)})}return new Promise(n=>{var o=document.createElement("style"),s=[];if(r){var{style:l,weight:u,stretch:f,unicodeRange:d,variant:p,featureSettings:g}=r;l&&s.push("font-style:".concat(l)),u&&s.push("font-weight:".concat(u)),f&&s.push("font-stretch:".concat(f)),d&&s.push("unicode-range:".concat(d)),p&&s.push("font-variant:".concat(p)),g&&s.push("font-feature-settings:".concat(g))}o.innerText='@font-face{font-family:"'.concat(e,'";src:').concat(t,";").concat(s.join(";"),"}"),document.head.appendChild(o),n()})}function Fp(e,t,r){if(Ee(e)){var i=document.querySelector(e);if(i){var{height:a,top:n}=i.getBoundingClientRect();e=n+window.pageYOffset,r&&(e-=a)}}e<0&&(e=0);var o=document.documentElement,{clientHeight:s,scrollHeight:l}=o;if(e=Math.min(e,l-s),t===0){o.scrollTop=document.body.scrollTop=e;return}if(window.scrollY!==e){var u=f=>{if(f<=0){window.scrollTo(0,e);return}var d=e-window.scrollY;requestAnimationFrame(function(){window.scrollTo(0,window.scrollY+d/f*10),u(f-10)})};u(t)}}function $p(){return typeof __channelId__=="string"&&__channelId__}function zp(e,t){switch(To(t)){case"Function":return"function() { [native code] }";default:return t}}function Up(e,t,r){if($p())return r.push(t.replace("at ","uni-app:///")),console[e].apply(console,r);var i=r.map(function(a){var n=di(a).toLowerCase();if(["[object object]","[object array]","[object module]"].indexOf(n)!==-1)try{a="---BEGIN:JSON---"+JSON.stringify(a,zp)+"---END:JSON---"}catch(s){a=n}else if(a===null)a="---NULL---";else if(a===void 0)a="---UNDEFINED---";else{var o=To(a).toUpperCase();o==="NUMBER"||o==="BOOLEAN"?a="---BEGIN:"+o+"---"+a+"---END:"+o+"---":a=String(a)}return a});return i.join("---COMMA---")+" "+t}function Hp(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];var n=Up(e,t,i);n&&console[e](n)}function Nr(e){if(typeof e=="function"){if(window.plus)return e();document.addEventListener("plusready",e)}}function Wp(e,t){return t&&(t.capture&&(e+="Capture"),t.once&&(e+="Once"),t.passive&&(e+="Passive")),"on".concat(Oo(Ht(e)))}var Cu=/(?:Once|Passive|Capture)$/;function No(e){var t;if(Cu.test(e)){t={};for(var r;r=e.match(Cu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[Je(e.slice(2)),t]}var Do=(()=>({stop:1,prevent:1<<1,self:1<<2}))(),Ou="class",Bo="style",Vp="innerHTML",jp="textContent",Da=".vShow",Au=".
`+e.stack):console.error(e)}var Za=!1,ts=!1,tt=[],Pt=0,Ti=[],Ci=null,$r=0,Oi=[],Xt=null,zr=0,gf=Promise.resolve(),rs=null,is=null;function Ur(e){var t=rs||gf;return e?t.then(this?e.bind(this):e):t}function w0(e){for(var t=Pt+1,r=tt.length;t<r;){var i=t+r>>>1,a=Ai(tt[i]);a<e?t=i+1:r=i}return t}function pf(e){(!tt.length||!tt.includes(e,Za&&e.allowRecurse?Pt+1:Pt))&&e!==is&&(e.id==null?tt.push(e):tt.splice(w0(e.id),0,e),mf())}function mf(){!Za&&!ts&&(ts=!0,rs=gf.then(wf))}function y0(e){var t=tt.indexOf(e);t>Pt&&tt.splice(t,1)}function _f(e,t,r,i){ne(e)?r.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&r.push(e),mf()}function x0(e){_f(e,Ci,Ti,$r)}function S0(e){_f(e,Xt,Oi,zr)}function as(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(Ti.length){for(is=t,Ci=[...new Set(Ti)],Ti.length=0,$r=0;$r<Ci.length;$r++)Ci[$r]();Ci=null,$r=0,is=null,as(e,t)}}function bf(e){if(Oi.length){var t=[...new Set(Oi)];if(Oi.length=0,Xt){Xt.push(...t);return}for(Xt=t,Xt.sort((r,i)=>Ai(r)-Ai(i)),zr=0;zr<Xt.length;zr++)Xt[zr]();Xt=null,zr=0}}var Ai=e=>e.id==null?1/0:e.id;function wf(e){ts=!1,Za=!0,as(e),tt.sort((i,a)=>Ai(i)-Ai(a));var t=mt;try{for(Pt=0;Pt<tt.length;Pt++){var r=tt[Pt];r&&r.active!==!1&&qt(r,null,14)}}finally{Pt=0,tt.length=0,bf(),Za=!1,rs=null,(tt.length||Ti.length||Oi.length)&&wf(e)}}function E0(e,t){if(!e.isUnmounted){for(var r=e.vnode.props||Se,i=arguments.length,a=new Array(i>2?i-2:0),n=2;n<i;n++)a[n-2]=arguments[n];var o=a,s=t.startsWith("update:"),l=s&&t.slice(7);if(l&&l in r){var u="".concat(l==="modelValue"?"model":l,"Modifiers"),{number:f,trim:d}=r[u]||Se;d?o=a.map(m=>m.trim()):f&&(o=a.map(Ep))}var p,g=r[p=Ao(t)]||r[p=Ao(Ht(t))];!g&&s&&(g=r[p=Ao(Je(t))]),g&&vt(g,e,6,o);var y=r[p+"Once"];if(y){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,vt(y,e,6,o)}}}function yf(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,i=t.emitsCache,a=i.get(e);if(a!==void 0)return a;var n=e.emits,o={},s=!1;if(!oe(e)){var l=u=>{var f=yf(u,t,!0);f&&(s=!0,ce(o,f))};!r&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!n&&!s?(i.set(e,null),null):(ne(n)?n.forEach(u=>o[u]=null):ce(o,n),i.set(e,o),o)}function Ka(e,t){return!e||!Ma(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Je(t))||ie(e,t))}var dt=null,xf=null;function Ga(e){var t=dt;return dt=e,xf=e&&e.type.__scopeId||null,t}function T0(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:dt;if(!t||e._n)return e;var r=function(){r._d&&Yf(-1);var i=Ga(t),a=e(...arguments);return Ga(i),r._d&&Yf(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function ZT(){}function ns(e){var{type:t,vnode:r,proxy:i,withProxy:a,props:n,propsOptions:[o],slots:s,attrs:l,emit:u,render:f,renderCache:d,data:p,setupState:g,ctx:y,inheritAttrs:m}=e,w,h,b=Ga(e);try{if(r.shapeFlag&4){var c=a||i;w=St(f.call(c,c,d,n,g,p,y)),h=l}else{var v=t;w=St(v.length>1?v(n,{attrs:l,slots:s,emit:u}):v(n,null)),h=t.props?l:C0(l)}}catch(C){Xa(C,e,1),w=I(Hr)}var _=w;if(h&&m!==!1){var x=Object.keys(h),{shapeFlag:E}=_;x.length&&E&7&&(o&&x.some(xo)&&(h=O0(h,o)),_=Mi(_,h))}return r.dirs&&(_.dirs=_.dirs?_.dirs.concat(r.dirs):r.dirs),r.transition&&(_.transition=r.transition),w=_,Ga(b),w}var C0=e=>{var t;for(var r in e)(r==="class"||r==="style"||Ma(r))&&((t||(t={}))[r]=e[r]);return t},O0=(e,t)=>{var r={};for(var i in e)(!xo(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function A0(e,t,r){var{props:i,children:a,component:n}=e,{props:o,children:s,patchFlag:l}=t,u=n.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&l>=0){if(l&1024)return!0;if(l&16)return i?Sf(i,o,u):!!o;if(l&8)for(var f=t.dynamicProps,d=0;d<f.length;d++){var p=f[d];if(o[p]!==i[p]&&!Ka(u,p))return!0}}else return(a||s)&&(!s||!s.$stable)?!0:i===o?!1:i?o?Sf(i,o,u):!0:!!o;return!1}function Sf(e,t,r){var i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(var a=0;a<i.length;a++){var n=i[a];if(t[n]!==e[n]&&!Ka(r,n))return!0}return!1}function I0(e,t){for(var{vnode:r,parent:i}=e;i&&i.subTree===r;)(r=i.vnode).el=t,i=i.parent}v