pages/assets/chunks/framework.BIC8H_hJ.js

2 lines
90 KiB
JavaScript
Raw Normal View History

function _r(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return s=>!!n[s]}const te={},pt=[],Me=()=>{},di=()=>!1,hi=/^on[^a-z]/,Vt=e=>hi.test(e),yr=e=>e.startsWith("onUpdate:"),ce=Object.assign,vr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},pi=Object.prototype.hasOwnProperty,Y=(e,t)=>pi.call(e,t),k=Array.isArray,gt=e=>En(e)==="[object Map]",Ks=e=>En(e)==="[object Set]",W=e=>typeof e=="function",oe=e=>typeof e=="string",br=e=>typeof e=="symbol",ee=e=>e!==null&&typeof e=="object",Ws=e=>ee(e)&&W(e.then)&&W(e.catch),Vs=Object.prototype.toString,En=e=>Vs.call(e),gi=e=>En(e).slice(8,-1),qs=e=>En(e)==="[object Object]",wr=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=_r(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mi=/-(\w)/g,He=Cn(e=>e.replace(mi,(t,n)=>n?n.toUpperCase():"")),_i=/\B([A-Z])/g,at=Cn(e=>e.replace(_i,"-$1").toLowerCase()),xn=Cn(e=>e.charAt(0).toUpperCase()+e.slice(1)),an=Cn(e=>e?`on${xn(e)}`:""),Dt=(e,t)=>!Object.is(e,t),un=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},hn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},nr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},yi=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Jr;const rr=()=>Jr||(Jr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Er(e){if(k(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=oe(r)?Ei(r):Er(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(oe(e))return e;if(ee(e))return e}}const vi=/;(?![^(]*\))/g,bi=/:([^]+)/,wi=/\/\*[^]*?\*\//g;function Ei(e){const t={};return e.replace(wi,"").split(vi).forEach(n=>{if(n){const r=n.split(bi);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Cr(e){let t="";if(oe(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){const r=Cr(e[n]);r&&(t+=r+" ")}else if(ee(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ci="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xi=_r(Ci);function zs(e){return!!e||e===""}const ka=e=>oe(e)?e:e==null?"":k(e)||ee(e)&&(e.toString===Vs||!W(e.toString))?JSON.stringify(e,Ys,2):String(e),Ys=(e,t)=>t&&t.__v_isRef?Ys(e,t.value):gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Ks(t)?{[`Set(${t.size})`]:[...t.values()]}:ee(t)&&!k(t)&&!qs(t)?String(t):t;let be;class Ti{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=be;try{return be=this,t()}finally{be=n}}}on(){be=this}off(){be=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Ai(e,t=be){t&&t.active&&t.effects.push(e)}function Xs(){return be}function Si(e){be&&be.cleanups.push(e)}const xr=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Js=e=>(e.w&Xe)>0,Qs=e=>(e.n&Xe)>0,Oi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Ri=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Js(s)&&!Qs(s)?s.delete(e):t[n++]=s,s.w&=~Xe,s.n&=~Xe}t.length=n}},pn=new WeakMap;let It=0,Xe=1;const sr=30;let Se;const it=Symbol(""),or=Symbol("");class Tr{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ai(this,r)}run(){if(!this.active)return this.fn();let t=Se,n=ze;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Se,Se=this,ze=!0,Xe=1<<++It,It<=sr?Oi(this):Qr(this),this.fn()}finally{It<=sr&&Ri(this),Xe=1<<--It,Se=this.parent,ze=n,this.