This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
handingkang-ohmyweb/static/runtime-core.esm-bundler-1857aef3.js

2 lines
65 KiB
JavaScript
Raw Normal View History

function e(e,n){const t=Object.create(null),o=e.split(",");for(let s=0;s<o.length;s++)t[o[s]]=!0;return n?e=>!!t[e.toLowerCase()]:e=>!!t[e]}const n=e("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function t(e){if(F(e)){const n={};for(let o=0;o<e.length;o++){const s=e[o],r=I(s)?l(s):t(s);if(r)for(const e in r)n[e]=r[e]}return n}return I(e)||B(e)?e:void 0}const o=/;(?![^(]*\))/g,s=/:([^]+)/,r=/\/\*.*?\*\//gs;function l(e){const n={};return e.replace(r,"").split(o).forEach((e=>{if(e){const t=e.split(s);t.length>1&&(n[t[0].trim()]=t[1].trim())}})),n}function i(e){let n="";if(I(e))n=e;else if(F(e))for(let t=0;t<e.length;t++){const o=i(e[t]);o&&(n+=o+" ")}else if(B(e))for(const t in e)e[t]&&(n+=t+" ");return n.trim()}function c(e){if(!e)return null;let{class:n,style:o}=e;return n&&!I(n)&&(e.class=i(n)),o&&(e.style=t(o)),e}const a=e("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function u(e){return!!e||""===e}function f(e,n){if(e===n)return!0;let t=A(e),o=A(n);if(t||o)return!(!t||!o)&&e.getTime()===n.getTime();if(t=j(e),o=j(n),t||o)return e===n;if(t=F(e),o=F(n),t||o)return!(!t||!o)&&function(e,n){if(e.length!==n.length)return!1;let t=!0;for(let o=0;t&&o<e.length;o++)t=f(e[o],n[o]);return t}(e,n);if(t=B(e),o=B(n),t||o){if(!t||!o)return!1;if(Object.keys(e).length!==Object.keys(n).length)return!1;for(const t in e){const o=e.hasOwnProperty(t),s=n.hasOwnProperty(t);if(o&&!s||!o&&s||!f(e[t],n[t]))return!1}}return String(e)===String(n)}function p(e,n){return e.findIndex((e=>f(e,n)))}const d=e=>I(e)?e:null==e?"":F(e)||B(e)&&(e.toString===M||!T(e.toString))?JSON.stringify(e,h,2):String(e),h=(e,n)=>n&&n.__v_isRef?h(e,n.value):O(n)?{[`Map(${n.size})`]:[...n.entries()].reduce(((e,[n,t])=>(e[`${n} =>`]=t,e)),{})}:E(n)?{[`Set(${n.size})`]:[...n.values()]}:!B(n)||F(n)||L(n)?n:String(n),g={},v=[],m=()=>{},y=()=>!1,_=/^on[^a-z]/,b=e=>_.test(e),x=e=>e.startsWith("onUpdate:"),C=Object.assign,w=(e,n)=>{const t=e.indexOf(n);t>-1&&e.splice(t,1)},k=Object.prototype.hasOwnProperty,S=(e,n)=>k.call(e,n),F=Array.isArray,O=e=>"[object Map]"===V(e),E=e=>"[object Set]"===V(e),A=e=>"[object Date]"===V(e),R=e=>"[object RegExp]"===V(e),T=e=>"function"==typeof e,I=e=>"string"==typeof e,j=e=>"symbol"==typeof e,B=e=>null!==e&&"object"==typeof e,P=e=>B(e)&&T(e.then)&&T(e.catch),M=Object.prototype.toString,V=e=>M.call(e),U=e=>V(e).slice(8,-1),L=e=>"[object Object]"===V(e),N=e=>I(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,$=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),D=e=>{const n=Object.create(null);return t=>n[t]||(n[t]=e(t))},H=/-(\w)/g,z=D((e=>e.replace(H,((e,n)=>n?n.toUpperCase():"")))),W=/\B([A-Z])/g,K=D((e=>e.replace(W,"-$1").toLowerCase())),G=D((e=>e.charAt(0).toUpperCase()+e.slice(1))),q=D((e=>e?`on${G(e)}`:"")),Y=(e,n)=>!Object.is(e,n),J=(e,n)=>{for(let t=0;t<e.length;t++)e[t](n)},Z=(e,n,t)=>{Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value:t})},Q=e=>{const n=parseFloat(e);return isNaN(n)?e:n},X=e=>{const n=I(e)?Number(e):NaN;return isNaN(n)?e:n};let ee;const ne=()=>ee||(ee="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});let te;class oe{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=te,!e&&te&&(this.index=(te.scopes||(te.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=te;try{return te=this,e()}finally{te=n}}}on(){te=this}off(){te=this.parent}stop(e){if(this._active){let n,t;for(n=0,t=this.effects.length;n<t;n++)this.effects[n].stop();for(n=0,t=this.cleanups.length;n<t;n++)this.cleanups[n]();if(this.scopes)for(n=0,t=this.scopes.length;n<t;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.