minutool 1.0.17 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
- (function(o,S){typeof exports=="object"&&typeof module<"u"?S(exports):typeof define=="function"&&define.amd?define(["exports"],S):(o=typeof globalThis<"u"?globalThis:o||self,S(o.Minutool={}))})(this,function(o){"use strict";const S=(e,t)=>{let n=[];for(let i in e)n.push(e[i][t]);return n},Ge=(e,t)=>{for(let n in e)if(e[n]===t)return n;return null},We=(e,t)=>{let n=new Map;return e.filter((i,a)=>{let l=t?t(i,a):i;if(!n.has(l))return n.set(l,!0),!0})},Ke=(e,t,n)=>{if(!e||!e.length)return e;let i={};if(e.forEach(l=>{let u=l[t];i[u]||(i[u]=[]),i[u].push(l)}),!n)return i;let a={};for(let l in i)a[l]=i[l][0];return a},Je=e=>Object.keys(e).sort().reduce(function(t,n){return t[n]=e[n],t},{}),Ve=(e,t)=>{let n=e.length;if(t<1||!n)return[];if(t>n)return[e];let i=[],a=Math.floor(n/t),l=n%t;for(let u=1;u<=a;u++)i.push(e.splice(0,t));return l&&i.push(e.splice(0,l)),i},Qe=e=>{let t=-1;for(let n=e.length-1;n>=0;n--)if(e[n]){t=n;break}return e.slice(0,t+1)},Xe=(1+Math.sqrt(5))/2-1,I=96,Ze=(e,t=I)=>e/25.4*t,et=e=>Math.round(e*56.6929),tt=e=>e*2.83464566929,nt=e=>e/2.83464566929,it=(e,t=I)=>25.4*e/t,at=(e,t,n)=>Math.min(Math.max(e,t),n),T=(e,t,n,i=!0)=>i?e>=t&&e<=n:e>t&&e<n,ot=(e,t)=>Math.floor(Math.random()*(t+1-e))+e,rt=(e,t=2)=>{let n=Math.pow(10,t);return Math.round(e*n)/n},_=e=>typeof e=="number"?!!isFinite(e):typeof e!="string"?!1:!isNaN(parseFloat(e)),lt=(...e)=>{let t=0;return e.forEach(n=>{if(typeof n=="number"&&_(n)){const i=n.toString().split(".")[1];i&&(t=Math.max(t,i.length))}}),t},ct=e=>(e=Math.abs(Number(e)),e===0?1:Math.floor(Math.log10(e))+1);function ne(e){return e&&e.charAt(0).toUpperCase()+e.slice(1)}const st=(e,t="")=>{if(typeof e=="number")return{val:e,unit:t};if(_(e))return{val:parseFloat(e),unit:t};const n=/^(-?[\d.]+)([a-z%]+)$/i,i=e.trim().match(n);if(!i)throw new Error("unit parse fail:"+e);return{val:parseFloat(i[1]),unit:i[2].toLowerCase()}},ie=(e,t=0)=>_(e)?parseFloat(e):t,pt=e=>(e+"").replace(/\\(.?)/g,function(t,n){switch(n){case"\\":return"\\";case"0":return"\0";case"":return"";default:return n}}),ut=(e,t,n="...")=>{let i=/[^\x00-\xff]/g;if(e.replace(i,"mm").length<=t)return e;let a=Math.floor(t/2);for(let l=a;l<e.length;l++)if(e.substr(0,l).replace(i,"mm").length>=t)return e.substr(0,l)+n;return e},mt=(e,t)=>{const n=Object.keys(t),i=Object.values(t);return new Function(...n,`return \`${e}\`;`)(...i)};function dt(e){return e.replace(/[-_](.)/g,(t,n)=>n.toUpperCase())}function ft(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function gt(e,t,n="..."){return e.length<=t?e:e.slice(0,t)+n}const O=e=>(e+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1"),ae=e=>{let t="",n=0,i=0,a=0,l=0;for(;n<e.length;)i=e.charCodeAt(n),i<128?(t+=String.fromCharCode(i),n++):i>191&&i<224?(a=e.charCodeAt(n+1),t+=String.fromCharCode((i&31)<<6|a&63),n+=2):(a=e.charCodeAt(n+1),l=e.charCodeAt(n+2),t+=String.fromCharCode((i&15)<<12|(a&63)<<6|l&63),n+=3);return t},L=e=>{e=e.replace(/\r\n/g,"n");let t="";for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):i>127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(i&63|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(i&63|128))}return t},ht=e=>{let t=0,n=e.length,i=-1;for(let a=0;a<n;a++)i=e.charCodeAt(a),i>=0&&i<=128?t+=1:t+=3;return t},Tt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890",oe=(e=6,t=Tt)=>{let n="";for(let i=0;i<e;i++){let a=Math.round(Math.random()*(t.length-1));n+=t.substring(a,a+1)}return n},wt=(e=1,t=8)=>{let n=[];const i="bcdfghjklmnpqrstvwxyz",a="aeiou";for(;e-- >0;){let l="";for(let u=0;u<t;u=u+3)l+=i[Math.floor(Math.random()*i.length)],l+=a[Math.floor(Math.random()*a.length)],l+=i[Math.floor(Math.random()*i.length)];n.push(l)}return n},Et=(e,t=!1)=>{let n=[];return e.replace(/[-_\s+]/g," ").split(" ").forEach((i,a)=>{n.push(a===0&&!t?i:ne(i))}),n.join("")},H=0,k=1,re=2,bt=(e,t="",n=H)=>{if(t.length){let i=new RegExp("^["+O(t)+"]+"),a=new RegExp("["+O(t)+"]+$");return n===k?e.replace(i,""):n===re?e.replace(a,""):e.replace(i,"").replace(a,"")}else return n===H?e.trim():n===k?e.trimStart():e.trimEnd()},yt=(e,t)=>{let n=[];for(let i=0;i<e.length;i+=t)n.push(e.slice(i,i+t));return n},Mt=e=>/[\u4e00-\u9fa5]/.test(e),E="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",vt=e=>{let t="",n,i,a,l,u,r,s,c=0;for(e=e.replace(/\+\+[++^A-Za-z0-9+/=]/g,"");c<e.length;)l=E.indexOf(e.charAt(c++)),u=E.indexOf(e.charAt(c++)),r=E.indexOf(e.charAt(c++)),s=E.indexOf(e.charAt(c++)),n=l<<2|u>>4,i=(u&15)<<4|r>>2,a=(r&3)<<6|s,t=t+String.fromCharCode(n),r!==64&&(t=t+String.fromCharCode(i)),s!==64&&(t=t+String.fromCharCode(a));return t=ae(t),t},At=e=>L(e).replace("+","-").replace("/","_"),St=e=>{let t="",n,i,a,l,u,r,s,c=0;for(e=L(e);c<e.length;)n=e.charCodeAt(c++),i=e.charCodeAt(c++),a=e.charCodeAt(c++),l=n>>2,u=(n&3)<<4|i>>4,r=(i&15)<<2|a>>6,s=a&63,isNaN(i)?r=s=64:isNaN(a)&&(s=64),t=t+E.charAt(l)+E.charAt(u)+E.charAt(r)+E.charAt(s);return t},le=async e=>await _t(e),_t=e=>new Promise((t,n)=>{const i=new FileReader;i.readAsDataURL(e),i.onload=()=>t(i.result),i.onerror=a=>n(a)}),ce=96,Nt=window.devicePixelRatio*ce,Ot=()=>window.innerWidth>window.innerHeight,Ct=()=>window.innerHeight>window.innerWidth,se=e=>{if(e.requestFullscreen)return e.requestFullscreen();if(e.webkitRequestFullScreen)return e.webkitRequestFullScreen();throw e.mozRequestFullScreen&&e.mozRequestFullScreen(),e.msRequestFullScreen&&e.msRequestFullScreen(),"Browser no allow full screen"},pe=()=>document.exitFullscreen(),Dt=e=>new Promise((t,n)=>{ue()?pe().then(t).catch(n):se(e).then(t).catch(n)}),ue=()=>!!document.fullscreenElement,xt=e=>{const t=navigator.language||navigator.userLanguage;if(e.includes(t))return t;const n=t.split("-")[0],i=e.find(a=>a.startsWith(n));return i||e[0]},me=()=>navigator.userAgent.toLowerCase().indexOf("firefox")>-1,Rt=(e,t,n,i="/",a)=>{let l="";if(n){let r=new Date;r.setTime(Date.now()+n*24*60*60*1e3),l="; expires="+r.toUTCString()}let u=e+"="+(t||"")+l+"; path="+i;a&&(u+="; domain="+a),document.cookie=u},It=e=>{let t=e+"=",n=document.cookie.split(";");for(let i=0;i<n.length;i++){let a=n[i];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},C=(e,t="/",n)=>{let i=e+"=; Path="+t+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";n&&(i+=" Domain="+n+";"),document.cookie=i},Lt=(e,t)=>{const n=(t||(location==null?void 0:location.hostname)).split(".");for(;n.length>1;)C(e,"/",n.join(".")),C(e,"/","."+n.join(".")),n.shift();C(e)};let Ht=0;const de=(e="")=>"guid_"+(e||oe(6))+ ++Ht,kt=(e,t)=>{let n,i,a=0;return function(){let l=+new Date;n=this,i=arguments,l-a>t&&(e.apply(n,i),a=l)}},Ft=(e,t)=>{let n,i,a=0,l=!1;return function(){if(l)return;let u=+new Date;n=this,i=arguments;let r=t-(u-a);r<=0?(e.apply(n,i),a=u):(l=!0,setTimeout(()=>{e.apply(n,i),l=!1,a=u},r))}},Pt=(e,t)=>{let n;return function(){let i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){e.apply(i,a)},t)}},Ut=e=>e&&typeof e=="object"&&e.then&&typeof e.then=="function",Bt=e=>{let t=!1;try{JSON.parse(e),t=!0}catch{}return t},Yt=e=>e&&typeof e=="object"&&!Array.isArray(e),$t=e=>e?Object.prototype.toString.call(e)==="[object Function]"||typeof e=="function"||e instanceof Function:!1,fe=e=>typeof e!="string"||e.trim()===""?!1:/^(https?:\/\/|\/\/|\/|\.\.?\/*)/i.test(e),qt=e=>{let t=!1;try{JSON.parse(e),t=!0}catch{}return t},jt=()=>{let e=new Error().stack;console.log(e)},zt=e=>{const t=M(e);t&&(t.style.display="none")},Gt=e=>{const t=M(e);t&&(t.style.display="")},Wt=e=>{let t=M(e);return t&&t.parentNode&&t.parentNode.removeChild(t)},F="disabled",ge=(e,t="")=>P(e,t,!1),he=(e,t="")=>P(e,t,!0),P=(e,t="",n=null)=>{let i=M(e),a=n===null?!i.classList.contains(F):!n;a&&we(`.${F} {pointer-event:none !important;}`,"__element_lock_style__"),i.classList.toggle(F,a),i[a?"setAttribute":"removeAttribute"]("disabled","disabled"),i[a?"setAttribute":"removeAttribute"]("data-disabled","disabled"),t&&i.classList.toggle(t,a)},Kt=(e,t,n)=>{e=M(e);let i=!1;e.addEventListener("mouseenter",()=>{i||(i=!0,t&&t())}),e.addEventListener("mouseleave",()=>{i&&(i=!1,n&&n())})},Jt=(e,t)=>{ge(e),t(()=>{he(e)})},Vt=e=>e.parentNode?Array.prototype.indexOf.call(e.parentNode.children,e):-1,U=(e,t=document)=>{if(typeof e=="string")return e=e.trim(),e.indexOf(":scope")!==0&&(e=":scope "+e),Array.from(t.querySelectorAll(e));if(Array.isArray(e)){let n=[];return e.forEach(i=>{n.push(...U(i))}),n}else return NodeList.prototype.isPrototypeOf(e)||HTMLCollection.prototype.isPrototypeOf(e)?Array.from(e):e instanceof HTMLElement?[e]:e},M=(e,t=document)=>typeof e=="string"?t.querySelector(e):e,Qt=e=>{let t=document.getElementsByTagName("*"),n=[];for(n=[];e&&e.nodeType===1;e=e.parentNode)if(e.hasAttribute("id")){let i=0;for(let a=0;a<t.length&&(t[a].hasAttribute("id")&&t[a].id===e.id&&i++,!(i>1));a++);if(i===1)return n.unshift('id("'+e.getAttribute("id")+'")'),n.join("/");n.unshift(e.localName.toLowerCase()+'[@id="'+e.getAttribute("id")+'"]')}else if(e.hasAttribute("class"))n.unshift(e.localName.toLowerCase()+'[@class="'+e.getAttribute("class")+'"]');else{let i,a;for(i=1,a=e.previousSibling;a;a=a.previousSibling)a.localName===e.localName&&i++;n.unshift(e.localName.toLowerCase()+"["+i+"]")}return n.length?"/"+n.join("/"):null},Xt=(e,t,n=!0)=>{const i="ON_DOM_TREE_CHANGE_BIND_"+de();let a=()=>{U(`input:not([${i}]), textarea:not([${i}]), select:not([${i}])`,e).forEach(l=>{l.setAttribute(i,"1"),l.addEventListener("change",t)})};Te(e,{attributes:!0,subtree:!0,childList:!0},()=>{n&&a(),t()},10),n&&a()},Te=(e,t,n,i=10)=>{let a=0,l=!1,u=new MutationObserver(()=>{if(l)return;let r=i-(Date.now()-a);r>0?(l=!0,setTimeout(()=>{l=!1,a=Date.now(),n(u)},r)):(a=Date.now(),n(u))});u.observe(e,t)},Zt=(e,t={left:0,top:0,width:window.innerWidth,height:window.innerHeight})=>{let n={left:e.left,top:e.top};return e.width>t.width||e.height>t.height||(e.width+e.left>t.width+t.left&&(n.left=e.left-(e.width+e.left-(t.width+t.left))),e.height+e.top>t.height+t.top&&(n.top=e.top-(e.height+e.top-(t.height+t.top))),e.left<t.left&&(n.left=t.left),e.top<t.top&&(n.top=t.top)),n},en=(e,t)=>e.left<=t.left?e.left+e.width>=t.left&&(T(t.top,e.top,e.top+e.height)||T(t.top+t.height,e.top,e.top+e.height)||t.top>=e.top&&t.height>=e.height):t.left+t.width>=e.left&&(T(e.top,t.top,t.top+t.height)||T(e.top+e.height,t.top,t.top+t.height)||e.top>=t.top&&e.height>=t.height),tn=e=>e?!!(e.tabIndex>=0||e instanceof HTMLAnchorElement&&e.href||e instanceof HTMLButtonElement&&!e.disabled||e instanceof HTMLInputElement&&!e.disabled||e instanceof HTMLTextAreaElement&&!e.disabled):!1;let b={};const nn=(e,t=!1)=>(!t&&e in b||(b[e]=new Promise((n,i)=>{let a=document.createElement("link");a.rel="stylesheet",a.href=e,a.onload=()=>{n()},a.onerror=()=>{i()},document.head.append(a)})),b[e]),an=(e,t=!1)=>(!t&&e in b||(b[e]=new Promise((n,i)=>{let a=document.createElement("script");a.src=e,a.onload=()=>{n()},a.onerror=()=>{i()},document.head.append(a)})),b[e]),on=e=>{let t=e.style.visibility,n=e.style.display,i,a;return e.style.visibility="hidden",e.style.display="block",i=e.clientWidth,a=e.clientHeight,e.style.visibility=t,e.style.display=n,{width:i,height:a}},we=(e,t="",n=document)=>{if(t&&n.querySelector(`#${t}`))return n.querySelector(`#${t}`);let i=n.createElement("style");return n.head.appendChild(i),i.innerHTML=e,t&&(i.id=t),i},rn=(e,t)=>T(e.top,t.top,t.top+t.height)&&T(e.left,t.left,t.left+t.width)&&T(e.top+e.height,t.top,t.top+t.height)&&T(e.left+e.width,t.left,t.left+t.width),ln=e=>Math.pow(10,-e),cn=(e,t)=>{try{return new URL(e,t).href}catch{return e}},sn=(e,t=null)=>{let n=document.createElement("template");e=e.trim(),n.innerHTML=e;let i=[];return t?n.content.childNodes.forEach(a=>{i.push(t.appendChild(a))}):i=Array.from(n.content.childNodes),i.length===1?i[0]:i},Ee=(e,t=!1)=>{if(!e)throw new Error("el is null");const n=e.getBoundingClientRect();if(t&&!n.height){const i=e.style.visibility,a=e.style.display;e.style.visibility="hidden",e.style.display="block";const l=Ee(e);return e.style.visibility=i,e.style.display=a,l}return{top:n.top,left:n.left,right:n.right,bottom:n.bottom,width:n.width,height:n.height}},pn=e=>{let t={};for(let n in e){const i=e[n];i!=null&&(t[`--${n}`]=`${i}`)}return t},B=new EventTarget,un=new Map,Y=new Map;let mn=0;const dn="__MINUTOOL_SYM_EVENT__";function $(e){if(!Y.has(e)){const t=`${dn}${++mn}`;Y.set(e,t),un.set(t,e)}return Y.get(e)}const fn=(e,t)=>{const n=e.map(i=>be(i,t));return()=>n.forEach(i=>i())},be=(e,t)=>(B.addEventListener(typeof e=="symbol"?$(e):e,t),()=>ye(e,t)),ye=(e,t)=>{B.removeEventListener(typeof e=="symbol"?$(e):e,t)},gn=(e,t=null)=>{B.dispatchEvent(new CustomEvent(typeof e=="symbol"?$(e):e,{detail:t}))},hn=e=>e.replace(/[\\/:*?"<>|]/g,"_").replace(/[\0-\x1F]/g,"_").replace(/\s+/g," ").replace(/^\.+/,"").replace(/\.+$/,"").trim(),q=e=>new Promise((t,n)=>{const i=new FileReader;i.onload=()=>t(i.result),i.onerror=a=>n(a),i.readAsDataURL(e)}),Me={},j=(e,t=null)=>t!==null?(Me[e]=t,null):Me[e]||null,Tn=async e=>{if(!e)return null;if(typeof e=="string"&&e.startsWith("data:"))return e;try{if(typeof e=="string"&&fe(e)){const t=await fetch(e);if(!t.ok)throw new Error(`Fetch failed: ${t.status}`);const n=await t.blob();return await q(n)}return e instanceof Blob?await q(e):null}catch(t){return console.warn("file2Base64DataURL failed:",t),null}},wn=(e,t)=>{const n=document.createElement("a");n.rel="noopener noreferrer",n.href=e,n.download=t,document.body.appendChild(n),n.click(),document.body.removeChild(n)},z=["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","CANVAS","DD","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HR","LI","MAIN","NAV","NOSCRIPT","OL","P","PRE","SECTION","TABLE","TFOOT","UL","VIDEO"],En=["A","ABBR","ACRONYM","B","BDO","BIG","BUTTON","CITE","CODE","DFN","EM","I","KBD","LABEL","MAP","OBJECT","OUTPUT","Q","S","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","TT","U","VAR"].concat(...z),bn=["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"],ve=["STYLE","COMMENT","SELECT","OPTION","SCRIPT","TITLE","HEAD","BUTTON","META","LINK","PARAM","SOURCE"],yn=e=>(ve.forEach(n=>{e=e.replace(new RegExp(n,"ig"),"")}),e=e.replace(/[\r|\n]/g,""),e=e.replace(/<(\w+)([^>]*)>/g,function(n,i,a){return z.includes(i.toUpperCase())?`
2
- `:""}),e=e.replace(/<\/(\w+)([^>]*)>/g,function(n,i,a){return""}),e=e.replace(/<[^>]+>/g,""),[[/&nbsp;/gi," "],[/&lt;/gi,"<"],[/&gt;/gi,">"],[/&quot;/gi,'"'],[/&apos;/gi,"'"]].forEach(([n,i])=>{e=e.replace(n,i)}),e=e.replace(/&#(\d+);/,function(n,i){return String.fromCharCode(parseInt(i))}),e=e.replace(/&amp;/gi,"&"),e=e.trim(),e),Mn=e=>Ae(e,0,!1).replace(/\n/g,"<br/>"),vn=e=>window.CSS&&CSS.escape?CSS.escape(e):e.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g,"\\$&"),An=e=>{let t=e.split(";");return t.pop(),t.map(n=>String.fromCharCode(n[2]==="x"?parseInt(n.slice(3),16):parseInt(n.slice(2)))).join("")};let N;const Sn=e=>(N||(N=document.createElement("div")),e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),N.innerHTML=e,e=N.textContent||"",N.textContent="",e),_n=e=>{let t="";for(let n in e){let i=e[n]===null?"":e[n];t+=`<input type="hidden" name="${G(n)}" value="${G(i)}"/>`}return t},Ae=(e,t=2,n=!0)=>{let i=String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");return n&&(i=i.replace(/[\r\n]/g,"<br/>")),t&&(i=i.replace(/\t/g,"&nbsp;".repeat(t))),i=i.replace(/\s/g,"&nbsp;"),i},Nn=e=>String(e).replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/<br.*>/,`
3
- `),On=e=>{if(!e)return"";let t=e;return t=t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),t=t.replace(/^###### (.*$)/gim,"<h6>$1</h6>"),t=t.replace(/^##### (.*$)/gim,"<h5>$1</h5>"),t=t.replace(/^#### (.*$)/gim,"<h4>$1</h4>"),t=t.replace(/^### (.*$)/gim,"<h3>$1</h3>"),t=t.replace(/^## (.*$)/gim,"<h2>$1</h2>"),t=t.replace(/^# (.*$)/gim,"<h1>$1</h1>"),t=t.replace(/\*\*(.*?)\*\*/gim,"<strong>$1</strong>"),t=t.replace(/\*(.*?)\*/gim,"<em>$1</em>"),t=t.replace(/`(.*?)`/gim,"<code>$1</code>"),t=t.replace(/!\[(.*?)\]\((.*?)\)/gim,'<img src="$2" alt="$1" />'),t=t.replace(/\[(.*?)\]\((.*?)\)/gim,'<a href="$2" target="_blank">$1</a>'),t=t.replace(/((\|.*\|\n)+)/g,n=>{const i=n.trim().split(`
4
- `);if(i.length<2)return n;let a="<table>";return i.forEach((l,u)=>{const r=l.split("|").slice(1,-1);if(/^\s*-+\s*$/.test(r[0]))return;const s=u===0?"th":"td";a+="<tr>",r.forEach(c=>{a+=`<${s}>${c.trim()}</${s}>`}),a+="</tr>"}),a+="</table>",a}),t=t.replace(/^\s*-\s+(.*)/gim,"<li>$1</li>"),t=t.replace(/(<li>.*<\/li>)/gims,"<ul>$1</ul>"),t=t.replace(/\n/g,"<br />"),t.trim()},G=(e,t="")=>(t=t?"&#13;":`
5
- `,(""+e).replace(/&/g,"&amp;").replace(/'/g,"&apos;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r\n/g,t).replace(/[\r\n]/g,t)),Cn=(e,t)=>{let n=e.split("");return t=t||0,n.map(i=>`&#${t?"x"+i.charCodeAt(0).toString(16):i.charCodeAt(0)};`).join("")},Dn=(e,t,n='<span class="matched">%s</span>')=>t?e.replace(new RegExp(O(t),"ig"),i=>n.replace("%s",i)):e,xn=e=>{if(!e.src)return null;if(e.src.indexOf("data:")===0)return e.src;let t=document.createElement("canvas");t.width=e.width,t.height=e.height;let n=t.getContext("2d");return n?(n.drawImage(e,0,0,e.width,e.height),t.toDataURL("image/png")):null},Se=e=>{const t=new XMLSerializer().serializeToString(e),n=new Blob([t],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(n)},_e=e=>new Promise((t,n)=>{const i=Se(e),a=new Image;a.onload=()=>{t(a)},a.onerror=l=>{n(new Error("Failed to load SVG into Image:"+l))},a.src=i}),Rn=(e,t=null,n=null)=>(t=t||"image/png",new Promise((i,a)=>{const l=_(n)?ie(n):1;_e(e).then(u=>{const{width:r,height:s}=In(e),c=document.createElement("canvas");c.width=r*l,c.height=s*l,c.getContext("2d").drawImage(u,0,0,r*l,s*l),URL.revokeObjectURL(u.src),i(c.toDataURL(t))},a)})),In=e=>{if(!me())return e.getBBox();const t=e.cloneNode(!0),n=document.createElement("div");n.style.cssText="position:fixed;left:-9999px;top:-9999px;visibility:hidden;",n.appendChild(t),document.body.appendChild(n);const i=t.getBBox();return document.body.removeChild(n),i},Ln=(e,t=!1)=>new Promise((n,i)=>{if(t){const l=j(e);if(l)return n(l)}let a=new XMLHttpRequest;a.open("GET",e,!0),a.responseType="blob",a.onload=function(){if(this.status===200){let l=this.response;le(l).then(u=>{t&&j(e,u),n(u)}).catch(u=>{i(u)})}},a.onerror=function(){i("Error:"+this.statusText)},a.onabort=function(){i("Request abort")},a.send()}),y=(e,t)=>{let n=(e&65535)+(t&65535);return(e>>16)+(t>>16)+(n>>16)<<16|n&65535},Hn=(e,t)=>e<<t|e>>>32-t,D=(e,t,n,i,a,l)=>y(Hn(y(y(t,e),y(i,l)),a),n),m=(e,t,n,i,a,l,u)=>D(t&n|~t&i,e,t,a,l,u),d=(e,t,n,i,a,l,u)=>D(t&i|n&~i,e,t,a,l,u),f=(e,t,n,i,a,l,u)=>D(t^n^i,e,t,a,l,u),g=(e,t,n,i,a,l,u)=>D(n^(t|~i),e,t,a,l,u),x=(e,t)=>{e[t>>5]|=128<<t%32,e[(t+64>>>9<<4)+14]=t;let n,i,a,l,u,r=1732584193,s=-271733879,c=-1732584194,p=271733878;for(n=0;n<e.length;n+=16)i=r,a=s,l=c,u=p,r=m(r,s,c,p,e[n],7,-680876936),p=m(p,r,s,c,e[n+1],12,-389564586),c=m(c,p,r,s,e[n+2],17,606105819),s=m(s,c,p,r,e[n+3],22,-1044525330),r=m(r,s,c,p,e[n+4],7,-176418897),p=m(p,r,s,c,e[n+5],12,1200080426),c=m(c,p,r,s,e[n+6],17,-1473231341),s=m(s,c,p,r,e[n+7],22,-45705983),r=m(r,s,c,p,e[n+8],7,1770035416),p=m(p,r,s,c,e[n+9],12,-1958414417),c=m(c,p,r,s,e[n+10],17,-42063),s=m(s,c,p,r,e[n+11],22,-1990404162),r=m(r,s,c,p,e[n+12],7,1804603682),p=m(p,r,s,c,e[n+13],12,-40341101),c=m(c,p,r,s,e[n+14],17,-1502002290),s=m(s,c,p,r,e[n+15],22,1236535329),r=d(r,s,c,p,e[n+1],5,-165796510),p=d(p,r,s,c,e[n+6],9,-1069501632),c=d(c,p,r,s,e[n+11],14,643717713),s=d(s,c,p,r,e[n],20,-373897302),r=d(r,s,c,p,e[n+5],5,-701558691),p=d(p,r,s,c,e[n+10],9,38016083),c=d(c,p,r,s,e[n+15],14,-660478335),s=d(s,c,p,r,e[n+4],20,-405537848),r=d(r,s,c,p,e[n+9],5,568446438),p=d(p,r,s,c,e[n+14],9,-1019803690),c=d(c,p,r,s,e[n+3],14,-187363961),s=d(s,c,p,r,e[n+8],20,1163531501),r=d(r,s,c,p,e[n+13],5,-1444681467),p=d(p,r,s,c,e[n+2],9,-51403784),c=d(c,p,r,s,e[n+7],14,1735328473),s=d(s,c,p,r,e[n+12],20,-1926607734),r=f(r,s,c,p,e[n+5],4,-378558),p=f(p,r,s,c,e[n+8],11,-2022574463),c=f(c,p,r,s,e[n+11],16,1839030562),s=f(s,c,p,r,e[n+14],23,-35309556),r=f(r,s,c,p,e[n+1],4,-1530992060),p=f(p,r,s,c,e[n+4],11,1272893353),c=f(c,p,r,s,e[n+7],16,-155497632),s=f(s,c,p,r,e[n+10],23,-1094730640),r=f(r,s,c,p,e[n+13],4,681279174),p=f(p,r,s,c,e[n],11,-358537222),c=f(c,p,r,s,e[n+3],16,-722521979),s=f(s,c,p,r,e[n+6],23,76029189),r=f(r,s,c,p,e[n+9],4,-640364487),p=f(p,r,s,c,e[n+12],11,-421815835),c=f(c,p,r,s,e[n+15],16,530742520),s=f(s,c,p,r,e[n+2],23,-995338651),r=g(r,s,c,p,e[n],6,-198630844),p=g(p,r,s,c,e[n+7],10,1126891415),c=g(c,p,r,s,e[n+14],15,-1416354905),s=g(s,c,p,r,e[n+5],21,-57434055),r=g(r,s,c,p,e[n+12],6,1700485571),p=g(p,r,s,c,e[n+3],10,-1894986606),c=g(c,p,r,s,e[n+10],15,-1051523),s=g(s,c,p,r,e[n+1],21,-2054922799),r=g(r,s,c,p,e[n+8],6,1873313359),p=g(p,r,s,c,e[n+15],10,-30611744),c=g(c,p,r,s,e[n+6],15,-1560198380),s=g(s,c,p,r,e[n+13],21,1309151649),r=g(r,s,c,p,e[n+4],6,-145523070),p=g(p,r,s,c,e[n+11],10,-1120210379),c=g(c,p,r,s,e[n+2],15,718787259),s=g(s,c,p,r,e[n+9],21,-343485551),r=y(r,i),s=y(s,a),c=y(c,l),p=y(p,u);return[r,s,c,p]},Ne=e=>{let t,n="",i=e.length*32;for(t=0;t<i;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n},W=e=>{let t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;let i=e.length*8;for(t=0;t<i;t+=8)n[t>>5]|=(e.charCodeAt(t/8)&255)<<t%32;return n},kn=e=>Ne(x(W(e),e.length*8)),Fn=(e,t)=>{let n,i=W(e),a=[],l=[],u;for(a[15]=l[15]=void 0,i.length>16&&(i=x(i,e.length*8)),n=0;n<16;n+=1)a[n]=i[n]^909522486,l[n]=i[n]^1549556828;return u=x(a.concat(W(t)),512+t.length*8),Ne(x(l.concat(u),640))},Oe=e=>{let t="0123456789abcdef",n="",i,a;for(a=0;a<e.length;a+=1)i=e.charCodeAt(a),n+=t.charAt(i>>>4&15)+t.charAt(i&15);return n},K=e=>unescape(encodeURIComponent(e)),Ce=e=>kn(K(e)),Pn=e=>Oe(Ce(e)),De=(e,t)=>Fn(K(e),K(t)),Un=(e,t)=>Oe(De(e,t)),Bn=(e,t,n)=>t?n?De(t,e):Un(t,e):n?Ce(e):Pn(e),Yn="application/octet-stream",v="application/json",xe="application/x-www-form-urlencoded",Re="multipart/form-data",$n="text/plain",qn="text/html",jn={323:"text/h323",accdb:"application/msaccess",accde:"application/msaccess",accdt:"application/msaccess",acx:"application/internet-property-stream",ai:"application/postscript",aif:"audio/x-aiff",aifc:"audio/aiff",aiff:"audio/aiff",application:"application/x-ms-application",art:"image/x-jg",asf:"video/x-ms-asf",asm:"text/plain",asr:"video/x-ms-asf",asx:"video/x-ms-asf",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",axs:"application/olescript",bas:"text/plain",bcpio:"application/x-bcpio",bmp:"image/bmp",c:"text/plain",calx:"application/vnd.ms-office.calx",cat:"application/vnd.ms-pki.seccat",cdf:"application/x-cdf",class:"application/x-java-applet",clp:"application/x-msclip",cmx:"image/x-cmx",cnf:"text/plain",cod:"image/cis-cod",cpio:"application/x-cpio",cpp:"text/plain",crd:"application/x-mscardfile",crl:"application/pkix-crl",crt:"application/x-x509-ca-cert",csh:"application/x-csh",css:"text/css",dcr:"application/x-director",der:"application/x-x509-ca-cert",dib:"image/bmp",dir:"application/x-director",disco:"text/xml",dll:"application/x-msdownload","dll.config":"text/xml",dlm:"text/dlm",doc:"application/msword",docm:"application/vnd.ms-word.document.macroEnabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroEnabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",dtd:"text/xml",dvi:"application/x-dvi",dwf:"drawing/x-dwf",dxr:"application/x-director",eml:"message/rfc822",eps:"application/postscript",etx:"text/x-setext",evy:"application/envoy","exe.config":"text/xml",fdf:"application/vnd.fdf",fif:"application/fractals",flr:"x-world/x-vrml",flv:"video/x-flv",gif:"image/gif",gtar:"application/x-gtar",gz:"application/x-gzip",h:"text/plain",hdf:"application/x-hdf",hdml:"text/x-hdml",hhc:"application/x-oleobject",hlp:"application/winhlp",hqx:"application/mac-binhex40",hta:"application/hta",htc:"text/x-component",htm:"text/html",html:"text/html",htt:"text/webviewhtml",hxt:"text/html",ico:"image/x-icon",ief:"image/ief",iii:"application/x-iphone",ins:"application/x-internet-signup",isp:"application/x-internet-signup",IVF:"video/x-ivf",jar:"application/java-archive",jck:"application/liquidmotion",jcz:"application/liquidmotion",jfif:"image/pjpeg",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",js:"application/x-javascript",jsx:"text/jscript",latex:"application/x-latex",lit:"application/x-ms-reader",lsf:"video/x-la-asf",lsx:"video/x-la-asf",m13:"application/x-msmediaview",m14:"application/x-msmediaview",m1v:"video/mpeg",m3u:"audio/x-mpegurl",man:"application/x-troff-man",manifest:"application/x-ms-manifest",map:"text/plain",mdb:"application/x-msaccess",me:"application/x-troff-me",mht:"message/rfc822",mhtml:"message/rfc822",mid:"audio/mid",midi:"audio/mid",mmf:"application/x-smaf",mno:"text/xml",mny:"application/x-msmoney",mov:"video/quicktime",movie:"video/x-sgi-movie",mp2:"video/mpeg",mp3:"audio/mpeg",mpa:"video/mpeg",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpp:"application/vnd.ms-project",mpv2:"video/mpeg",ms:"application/x-troff-ms",mvb:"application/x-msmediaview",mvc:"application/x-miva-compiled",nc:"application/x-netcdf",nsc:"video/x-ms-asf",nws:"message/rfc822",oda:"application/oda",odc:"text/x-ms-odc",ods:"application/oleobject",one:"application/onenote",onea:"application/onenote",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",osdx:"application/opensearchdescription+xml",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7c:"application/pkcs7-mime",p7m:"application/pkcs7-mime",p7r:"application/x-pkcs7-certreqresp",p7s:"application/pkcs7-signature",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pko:"application/vnd.ms-pki.pko",pma:"application/x-perfmon",pmc:"application/x-perfmon",pml:"application/x-perfmon",pmr:"application/x-perfmon",pmw:"application/x-perfmon",png:"image/png",pnm:"image/x-portable-anymap",pnz:"image/png",pot:"application/vnd.ms-powerpoint",potm:"application/vnd.ms-powerpoint.template.macroEnabled.12",potx:"application/vnd.openxmlformats-officedocument.presentationml.template",ppam:"application/vnd.ms-powerpoint.addin.macroEnabled.12",ppm:"image/x-portable-pixmap",pps:"application/vnd.ms-powerpoint",ppsm:"application/vnd.ms-powerpoint.slideshow.macroEnabled.12",ppsx:"application/vnd.openxmlformats-officedocument.presentationml.slideshow",ppt:"application/vnd.ms-powerpoint",pptm:"application/vnd.ms-powerpoint.presentation.macroEnabled.12",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",prf:"application/pics-rules",ps:"application/postscript",pub:"application/x-mspublisher",qt:"video/quicktime",qtl:"application/x-quicktimeplayer",ra:"audio/x-pn-realaudio",ram:"audio/x-pn-realaudio",ras:"image/x-cmu-raster",rf:"image/vnd.rn-realflash",rgb:"image/x-rgb",rm:"application/vnd.rn-realmedia",rmi:"audio/mid",roff:"application/x-troff",rpm:"audio/x-pn-realaudio-plugin",rtf:"application/rtf",rtx:"text/richtext",scd:"application/x-msschedule",sct:"text/scriptlet",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",sgml:"text/sgml",sh:"application/x-sh",shar:"application/x-shar",sit:"application/x-stuffit",sldm:"application/vnd.ms-powerpoint.slide.macroEnabled.12",sldx:"application/vnd.openxmlformats-officedocument.presentationml.slide",smd:"audio/x-smd",smx:"audio/x-smd",smz:"audio/x-smd",snd:"audio/basic",spc:"application/x-pkcs7-certificates",spl:"application/futuresplash",src:"application/x-wais-source",ssm:"application/streamingmedia",sst:"application/vnd.ms-pki.certstore",stl:"application/vnd.ms-pki.stl",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",swf:"application/x-shockwave-flash",t:"application/x-troff",tar:"application/x-tar",tcl:"application/x-tcl",tex:"application/x-tex",texi:"application/x-texinfo",texinfo:"application/x-texinfo",tgz:"application/x-compressed",thmx:"application/vnd.ms-officetheme",tif:"image/tiff",tiff:"image/tiff",tr:"application/x-troff",trm:"application/x-msterminal",tsv:"text/tab-separated-values",txt:"text/plain",uls:"text/iuls",ustar:"application/x-ustar",vbs:"text/vbscript",vcf:"text/x-vcard",vcs:"text/plain",vdx:"application/vnd.ms-visio.viewer",vml:"text/xml",vsd:"application/vnd.visio",vss:"application/vnd.visio",vst:"application/vnd.visio",vsto:"application/x-ms-vsto",vsw:"application/vnd.visio",vsx:"application/vnd.visio",vtx:"application/vnd.visio",wav:"audio/wav",wax:"audio/x-ms-wax",wbmp:"image/vnd.wap.wbmp",wcm:"application/vnd.ms-works",wdb:"application/vnd.ms-works",wks:"application/vnd.ms-works",wm:"video/x-ms-wm",wma:"audio/x-ms-wma",wmd:"application/x-ms-wmd",wmf:"application/x-msmetafile",wml:"text/vnd.wap.wml",wmlc:"application/vnd.wap.wmlc",wmls:"text/vnd.wap.wmlscript",wmlsc:"application/vnd.wap.wmlscriptc",wmp:"video/x-ms-wmp",wmv:"video/x-ms-wmv",wmx:"video/x-ms-wmx",wmz:"application/x-ms-wmz",wps:"application/vnd.ms-works",wri:"application/x-mswrite",wrl:"x-world/x-vrml",wrz:"x-world/x-vrml",wsdl:"text/xml",wvx:"video/x-ms-wvx",x:"application/directx",xaf:"x-world/x-vrml",xaml:"application/xaml+xml",xap:"application/x-silverlight-app",xbap:"application/x-ms-xbap",xbm:"image/x-xbitmap",xdr:"text/plain",xht:"application/xhtml+xml",xhtml:"application/xhtml+xml",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroEnabled.12",xlc:"application/vnd.ms-excel",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.12",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroEnabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",xml:"text/xml",xof:"x-world/x-vrml",xpm:"image/x-xpixmap",xps:"application/vnd.ms-xpsdocument",xsd:"text/xml",xsf:"text/xml",xsl:"text/xml",xslt:"text/xml",xwd:"image/x-xwindowdump",z:"application/x-compress",zip:"application/x-zip-compressed"},J=e=>{const t={};return e.replace(/^\?/,"").split("&").forEach(n=>{const[i,a]=n.split("=");i&&(t[decodeURIComponent(i)]=decodeURIComponent(a||""))}),t},Ie=(e,t)=>{const[n,i]=e.split("?"),l={...i?J(i):{},...t},u=V(l);return`${n}?${u}`},V=e=>{if(typeof e>"u"||typeof e!="object")return e;let t=[];for(let n in e)if(e.hasOwnProperty(n)){if(e[n]===null)continue;typeof e[n]=="object"&&e[n].length?e[n].forEach(i=>{t.push(encodeURI(n+"="+i))}):typeof e[n]=="object"||t.push(encodeURI(n+"="+e[n]))}return t.join("&")};class Le extends Error{constructor(t){super(t),Object.setPrototypeOf(this,new.target.prototype)}}const He=(e,t={},n=0)=>{const i=new AbortController;let a=null;n&&(a=setTimeout(()=>i.abort(),n));const l=()=>{a!==null&&(clearTimeout(a),a=null)},u=s=>{const c=s,p=c.then.bind(c),Z=c.catch.bind(c),ee=c.finally.bind(c);return c.then=function(w,te){return u(p(w,te))},c.catch=function(w){return u(Z(w))},c.finally=function(w){return u(ee(w))},c.abort=w=>{l(),i.abort(new Le(w||"request aborted."))},c},r=fetch(e,{...t,signal:i.signal}).then(s=>(l(),s)).catch(s=>{throw l(),s});return u(r)},zn=(e,t,n)=>{if(t==null)return;const i=e.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase();n.set(i,String(t))},Gn=e=>["method","headers","body","mode","credentials","cache","redirect","referrer","referrerPolicy","integrity","keepalive","signal","window"].includes(e),R=(e,t=null,n)=>{let{timeout:i,...a}=n;a=a||{},a.method=a.method||"GET";const l=a.method.toUpperCase()==="GET",u=new Headers(a.headers||{});for(let r in a)Gn(r)||zn(r,a[r],u);return l&&t&&(e=Ie(e,typeof t=="string"?J(t):t),t=null),He(e,{headers:u,body:l?void 0:Wn(t,u.get("content-type")||void 0),...a},i).then(r=>{if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return r})},ke=e=>typeof e=="string"||e instanceof FormData||e instanceof URLSearchParams||e instanceof Blob||e instanceof ArrayBuffer||ArrayBuffer.isView(e),Wn=(e,t)=>{if(ke(e)||typeof e!="object")return e;switch(t==null?void 0:t.toLowerCase()){case v:return JSON.stringify(e);case xe:case Re:default:return V(e)}},Kn=(e,t=null,n={})=>R(e,t,{...n,ContentType:v,Accept:v}).then(i=>i.json()),Jn=(e,t=null,n={})=>R(e,t,{...n,method:"POST",ContentType:v,Accept:v}).then(i=>i.json()),Vn=(e,t,n=null,i={})=>{const a=new FormData;if(Object.keys(t).forEach(l=>{a.append(l,t[l],t[l].name)}),n)for(let l in n)n.hasOwnProperty(l)&&a.append(l,n[l]);return R(e,a,{...i,method:"POST"}).then(l=>l.json())};function Q(e){if(e===null||typeof e!="object")return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array)return e.map(t=>Q(t));if(e instanceof Object){const t={};for(const n in e)e.hasOwnProperty(n)&&(t[n]=Q(e[n]));return t}return e}function Qn(e){return Object.keys(e).length===0}const Xn=(e,t)=>{let n={};for(let i in e)t[i]!==void 0?n[t[i]]=e[i]:n[i]=e[i];return n},Zn=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[n,t]));function ei(e,t,n){const i=t.split(".");let a=e;for(const l of i){if(a==null)return n;a=a[l]}return a!==void 0?a:n}function ti(e,t,n){const i=t.split("."),a=i.pop();let l=e;for(const u of i)(!(u in l)||typeof l[u]!="object")&&(l[u]={}),l=l[u];l[a]=n}function Fe(e,...t){for(const n of t)for(const i in n)if(n.hasOwnProperty(i)){const a=n[i],l=e[i];a&&typeof a=="object"&&!Array.isArray(a)&&l&&typeof l=="object"&&!Array.isArray(l)?e[i]=Fe(l,a):e[i]=a}return e}const Pe=(e,t=!1)=>{for(const n in e)e[n]===null?delete e[n]:t&&typeof e[n]=="object"&&Pe(e[n],!0);return e},ni=new Date().getFullYear(),ii=new Date().getMonth()+1,ai=new Date().getDate(),oi=60*1e3,ri=60*60*1e3,A=24*60*60*1e3,li=7*A,ci=30*A,si=31*A,pi=365*A,ui=366*A,mi=0,di=1,fi=2,gi=3,hi=4,Ti=5,wi=6,Ue=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Be=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ye=["January","February","March","April","May","June","July","August","September","October","November","December"],$e=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Ei=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],bi=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],yi=["日","一","二","三","四","五","六"],Mi=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],vi=(e,t,n)=>{let i=()=>{if(t&&t(e),e-- >0){setTimeout(i,1e3);return}n&&n()};i()},Ai=e=>{if(!e||e<10)return"刚刚";e=Math.floor(e/1e3);const t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=e%60;let a="";return t>0&&(a+=t+"小时"),(n>0||t>0)&&(a+=n+"分钟"),a+=i+"秒前",a},Si=(e,t=!1)=>{const n=new Date(e);return new Date(n.getTime()-n.getTimezoneOffset()*6e4).toISOString().slice(0,t?19:16)},_i=(e,t,n)=>e<=0?1/0:(Date.now()-n)/e*(t-e),qe={d:e=>{let t=e.getDate();return(t<10?"0":"")+t},D:e=>Be[e.getDay()],j:e=>e.getDate(),l:e=>Ue[e.getDay()],N:e=>{let t=e.getDay();return t===0?7:t},S:e=>{let t=e.getDate();return t%10===1&&t!==11?"st":t%10===2&&t!==12?"nd":t%10===3&&t!==13?"rd":"th"},w:e=>e.getDay(),z:e=>{let t=new Date(e.getFullYear(),0,1);return Math.ceil((e.getTime()-t.getTime())/864e5)},W:e=>{let t=new Date(e.valueOf()),n=(e.getDay()+6)%7;t.setDate(t.getDate()-n+3);let i=t.valueOf();t.setMonth(0,1),t.getDay()!==4&&t.setMonth(0,1+(4-t.getDay()+7)%7);let a=1+Math.ceil((i-t.getTime())/6048e5);return a<10?"0"+a:a},F:e=>Ye[e.getMonth()],m:e=>{let t=e.getMonth();return(t<9?"0":"")+(t+1)},M:e=>$e[e.getMonth()],n:e=>e.getMonth()+1,t:e=>{let t=e.getFullYear(),n=e.getMonth()+1;return n===12&&(t=t++,n=0),new Date(t,n,0).getDate()},L:e=>{let t=e.getFullYear();return t%400===0||t%100!==0&&t%4===0},o:e=>{let t=new Date(e.valueOf());return t.setDate(t.getDate()-(e.getDay()+6)%7+3),t.getFullYear()},Y:e=>e.getFullYear(),y:e=>(""+e.getFullYear()).substr(2),a:e=>e.getHours()<12?"am":"pm",A:e=>e.getHours()<12?"AM":"PM",B:e=>Math.floor(((e.getUTCHours()+1)%24+e.getUTCMinutes()/60+e.getUTCSeconds()/3600)*1e3/24),g:e=>e.getHours()%12||12,G:e=>e.getHours(),h:e=>{let t=e.getHours();return((t%12||12)<10?"0":"")+(t%12||12)},H:e=>{let t=e.getHours();return(t<10?"0":"")+t},i:e=>{let t=e.getMinutes();return(t<10?"0":"")+t},s:e=>{let t=e.getSeconds();return(t<10?"0":"")+t},v:e=>{let t=e.getMilliseconds();return(t<10?"00":t<100?"0":"")+t},e:e=>Intl.DateTimeFormat().resolvedOptions().timeZone,I:e=>{let t=null;for(let n=0;n<12;++n){let a=new Date(e.getFullYear(),n,1).getTimezoneOffset();if(t===null)t=a;else if(a<t){t=a;break}else if(a>t)break}return e.getTimezoneOffset()===t?1:0},O:e=>{let t=e.getTimezoneOffset();return(-t<0?"-":"+")+(Math.abs(t/60)<10?"0":"")+Math.floor(Math.abs(t/60))+(Math.abs(t%60)===0?"00":(Math.abs(t%60)<10?"0":"")+Math.abs(t%60))},P:e=>{let t=e.getTimezoneOffset();return(-t<0?"-":"+")+(Math.abs(t/60)<10?"0":"")+Math.floor(Math.abs(t/60))+":"+(Math.abs(t%60)===0?"00":(Math.abs(t%60)<10?"0":"")+Math.abs(t%60))},T:e=>{let t=e.toLocaleTimeString(navigator.language,{timeZoneName:"short"}).split(" ");return t[t.length-1]},Z:e=>-e.getTimezoneOffset()*60,c:e=>X("Y-m-d\\TH:i:sP",e),r:e=>e.toString(),U:e=>Math.floor(e.getTime()/1e3)},X=function(e,t=null){let n=null;return typeof t=="object"&&t!==null?n=t:n=new Date(t||Date.now()),e.replace(/(\\?)(.)/g,function(i,a,l){return a===""&&qe[l]?String(qe[l](n)):l})},je=e=>{const t=new Date,n=new Intl.DateTimeFormat("en-US",{timeZone:"UTC",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),i=new Intl.DateTimeFormat("en-US",{timeZone:e,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),a=n.formatToParts(t),l=i.formatToParts(t),u=p=>{const Z=p.find(h=>h.type==="year").value,ee=p.find(h=>h.type==="month").value,w=p.find(h=>h.type==="day").value,te=p.find(h=>h.type==="hour").value,Ci=p.find(h=>h.type==="minute").value,Di=p.find(h=>h.type==="second").value;return Date.UTC(Number(Z),Number(ee)-1,Number(w),Number(te),Number(Ci),Number(Di))},r=u(a),s=u(l);return(r-s)/1e3/60},ze=e=>{const t=Math.floor(e/60),n=Math.abs(e%60);return`${t>=0?"+":"-"}${String(Math.abs(t)).padStart(2,"0")}:${String(n).padStart(2,"0")}`},Ni=e=>{const t=je(e);return ze(t)},Oi=e=>X("W",e);o.AbortError=Le,o.BLOCK_TAGS=z,o.Base64Encode=St,o.COMMON_DPI=ce,o.DATE_NOW=ai,o.DAY_FRIDAY=Ti,o.DAY_MONDAY=di,o.DAY_SATURDAY=wi,o.DAY_SUNDAY=mi,o.DAY_THURSDAY=hi,o.DAY_TUESDAY=fi,o.DAY_WEDNESDAY=gi,o.GOLDEN_RATIO=Xe,o.MIME_BINARY_DEFAULT=Yn,o.MIME_EXTENSION_MAP=jn,o.MIME_FORM=xe,o.MIME_HTML=qn,o.MIME_JSON=v,o.MIME_MULTIPART=Re,o.MIME_TEXT=$n,o.MONTH_NAMES_CN=Ei,o.MONTH_NAMES_EN=Ye,o.MONTH_NAMES_SHORT_CN=bi,o.MONTH_NAMES_SHORT_EN=$e,o.MONTH_NOW=ii,o.ONE_DAY=A,o.ONE_HOUR=ri,o.ONE_MINUTE=oi,o.ONE_MONTH30=ci,o.ONE_MONTH31=si,o.ONE_WEEK=li,o.ONE_YEAR365=pi,o.ONE_YEAR366=ui,o.PAIR_TAGS=En,o.REMOVABLE_TAGS=ve,o.SCREEN_DPI=Nt,o.SELF_CLOSING_TAGS=bn,o.STAND_DPI=I,o.TRIM_BOTH=H,o.TRIM_LEFT=k,o.TRIM_RIGHT=re,o.WEEK_DAY_NAMES_CN=Mi,o.WEEK_DAY_NAMES_EN=Ue,o.WEEK_DAY_NAMES_SHORT_CN=yi,o.WEEK_DAY_NAMES_SHORT_EN=Be,o.YEAR_NOW=ni,o.abortableFetch=He,o.arrayChunk=Ve,o.arrayColumn=S,o.arrayDistinct=We,o.arrayGroup=Ke,o.arrayIndex=Ge,o.arraySortByKey=Je,o.arrayTrimTail=Qe,o.base64Decode=vt,o.base64UrlSafeEncode=At,o.between=T,o.blobToBase64=le,o.blobToDataUri=q,o.buildHtmlHidden=_n,o.buildStyleVars=pn,o.calcRemainingMSecs=_i,o.camelCase=dt,o.capitalize=ne,o.cleanNull=Pe,o.convertMinutesToTimezoneOffsetStr=ze,o.countDown=vi,o.createDomByHtml=sn,o.cssSelectorEscape=vn,o.cutString=ut,o.debounce=Pt,o.decodeHTMLEntities=Sn,o.deepClone=Q,o.deleteCookie=C,o.deleteCookieAllPaths=Lt,o.detectLanguage=xt,o.detectedPrecision=lt,o.digitCount=ct,o.disabled=ge,o.dispatchEvent=gn,o.downloadFile=wn,o.enabled=he,o.enterFullScreen=se,o.entityToString=An,o.escapeAttr=G,o.escapeHtml=Ae,o.exitFullScreen=pe,o.extract=mt,o.fileToBase64DataUri=Tn,o.findAll=U,o.findOne=M,o.fixBaseUrl=cn,o.floatVal=ie,o.formatDate=X,o.getBoundingClientRect=Ee,o.getCookie=It,o.getDomDimension=on,o.getJson=Kn,o.getNodeXPath=Qt,o.getTimezoneOffsetMinutes=je,o.getTimezoneOffsetStr=Ni,o.getUTF8StrLen=ht,o.getWeekNumber=Oi,o.guid=de,o.hide=zt,o.highlightText=Dn,o.html2Text=yn,o.imgToBase64=xn,o.insertStyleSheet=we,o.isBodyInit=ke,o.isChinese=Mt,o.isEmptyObject=Qn,o.isFirefox=me,o.isFocusable=tn,o.isFunction=$t,o.isInFullScreen=ue,o.isJSON=qt,o.isJson=Bt,o.isLandscape=Ot,o.isNumberic=_,o.isObject=Yt,o.isPortrait=Ct,o.isPromise=Ut,o.isUrl=fe,o.kebabCase=ft,o.keepRectInContainer=Zt,o.limit=at,o.loadCss=nn,o.loadScript=an,o.lockElementInteraction=Jt,o.markdown2Html=On,o.md5=Bn,o.mmToPt=tt,o.mmToPx=Ze,o.mmToTwip=et,o.msToHMS=Ai,o.mutationEffective=Te,o.nodeIndex=Vt,o.objToQuery=V,o.objectGet=ei,o.objectKeyReplace=Xn,o.objectKeyValSwap=Zn,o.objectMerge=Fe,o.objectSet=ti,o.offEvent=ye,o.onDomTreeChange=Xt,o.onEvent=be,o.onEvents=fn,o.onHover=Kt,o.parseUnit=st,o.postFiles=Vn,o.postJson=Jn,o.precisionToStep=ln,o.printStack=jt,o.ptToMm=nt,o.pxToMm=it,o.queryReplace=Ie,o.queryToObj=J,o.randomInt=ot,o.randomString=oe,o.randomWords=wt,o.rectAssoc=en,o.rectInLayout=rn,o.regQuote=O,o.remove=Wt,o.request=R,o.round=rt,o.sanitizeFileName=hn,o.setCookie=Rt,o.show=Gt,o.srcToBase64=Ln,o.strChunk=yt,o.strToPascalCase=Et,o.stringToEntity=Cn,o.stripSlashes=pt,o.svgToImg=_e,o.svgToImgData=Rn,o.svgToSrc=Se,o.text2Html=Mn,o.throttle=kt,o.throttleEffect=Ft,o.timestampToDateTimeLocal=Si,o.toggleDisabled=P,o.toggleFullScreen=Dt,o.trim=bt,o.truncate=gt,o.unescapeHtml=Nn,o.urlB64DataCache=j,o.utf8Decode=ae,o.utf8Encode=L,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
1
+ (function(a,_){typeof exports=="object"&&typeof module<"u"?_(exports):typeof define=="function"&&define.amd?define(["exports"],_):(a=typeof globalThis<"u"?globalThis:a||self,_(a.Minutool={}))})(this,function(a){"use strict";const _=(t,e)=>{let n=[];for(let i in t)n.push(t[i][e]);return n},Kt=(t,e)=>{for(let n in t)if(t[n]===e)return n;return null},Vt=(t,e)=>{let n=new Map;return t.filter((i,o)=>{let r=e?e(i,o):i;if(!n.has(r))return n.set(r,!0),!0})},Jt=(t,e,n)=>{if(!t||!t.length)return t;let i={};if(t.forEach(r=>{let u=r[e];i[u]||(i[u]=[]),i[u].push(r)}),!n)return i;let o={};for(let r in i)o[r]=i[r][0];return o},Qt=t=>Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}),Xt=(t,e)=>{let n=t.length;if(e<1||!n)return[];if(e>n)return[t];let i=[],o=Math.floor(n/e),r=n%e;for(let u=1;u<=o;u++)i.push(t.splice(0,e));return r&&i.push(t.splice(0,r)),i},Zt=t=>{let e=-1;for(let n=t.length-1;n>=0;n--)if(t[n]){e=n;break}return t.slice(0,e+1)},ot=window.devicePixelRatio*96,te=()=>window.innerWidth>window.innerHeight,ee=()=>window.innerHeight>window.innerWidth,at=t=>{if(t.requestFullscreen)return t.requestFullscreen();if(t.webkitRequestFullScreen)return t.webkitRequestFullScreen();throw t.mozRequestFullScreen&&t.mozRequestFullScreen(),t.msRequestFullScreen&&t.msRequestFullScreen(),"Browser no allow full screen"},rt=()=>document.exitFullscreen(),ne=t=>new Promise((e,n)=>{lt()?rt().then(e).catch(n):at(t).then(e).catch(n)}),lt=()=>!!document.fullscreenElement,ie=t=>{const e=navigator.language||navigator.userLanguage;if(t.includes(e))return e;const n=e.split("-")[0],i=t.find(o=>o.startsWith(n));return i||t[0]},oe=()=>navigator.userAgent.toLowerCase().indexOf("firefox")>-1,ae=(1+Math.sqrt(5))/2-1,L=96,re=(t,e=L)=>t/25.4*e,le=t=>Math.round(t*56.6929),ce=t=>t*2.83464566929,se=t=>t/2.83464566929,pe=(t,e=L)=>25.4*t/e,ue=(t,e,n)=>Math.min(Math.max(t,e),n),w=(t,e,n,i=!0)=>i?t>=e&&t<=n:t>e&&t<n,me=(t,e)=>Math.floor(Math.random()*(e+1-t))+t,de=(t,e=2)=>{let n=Math.pow(10,e);return Math.round(t*n)/n},M=t=>typeof t=="number"?isFinite(t):typeof t!="string"?!1:/^[+-]?(\d+\.?\d*|\.\d+)$/.test(t),fe=(...t)=>{let e=0;return t.forEach(n=>{if(typeof n=="number"&&M(n)){const i=n.toString().split(".")[1];i&&(e=Math.max(e,i.length))}}),e},he=t=>(t=Math.abs(Number(t)),t===0?1:Math.floor(Math.log10(t))+1);function ct(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}const O=(t,e="")=>{if(typeof t=="number")return{val:t,unit:e};if(M(t))return{val:parseFloat(t),unit:e};const n=/^(-?[\d.]+)([a-z%]+)$/i,i=t.trim().match(n);if(!i)throw new Error("unit parse fail:"+t);return{val:parseFloat(i[1]),unit:i[2].toLowerCase()}},H=(t,e,n={})=>{const i=O(t);if(!i)throw new Error(`Invalid value: ${t}`);const o=i.val,r=i.unit;if(!M(o))throw new Error(`Invalid number in value: ${t}`);const u=n.dpi||ot;if(r===e)return o;const l={mm:1,cm:10,in:25.4,px:25.4/u,pt:25.4/72,pc:25.4/6},s={mm:1,cm:1/10,in:1/25.4,px:u/25.4,pt:72/25.4,pc:6/25.4};if(!l[r])throw new Error(`Unsupported source unit: ${r}`);if(!s[e])throw new Error(`Unsupported target unit: ${e}`);return o*l[r]*s[e]},st=(t,e=0)=>M(t)?parseFloat(t):e,ge=t=>(t+"").replace(/\\(.?)/g,function(e,n){switch(n){case"\\":return"\\";case"0":return"\0";case"":return"";default:return n}}),we=(t,e,n="...")=>{let i=/[^\x00-\xff]/g;if(t.replace(i,"mm").length<=e)return t;let o=Math.floor(e/2);for(let r=o;r<t.length;r++)if(t.substr(0,r).replace(i,"mm").length>=e)return t.substr(0,r)+n;return t},Ee=(t,e)=>{const n=Object.keys(e),i=Object.values(e);return new Function(...n,`return \`${t}\`;`)(...i)};function Te(t){return t.replace(/[-_](.)/g,(e,n)=>n.toUpperCase())}function be(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function ye(t,e,n="..."){return t.length<=e?t:t.slice(0,e)+n}const C=t=>(t+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1"),pt=t=>{let e="",n=0,i=0,o=0,r=0;for(;n<t.length;)i=t.charCodeAt(n),i<128?(e+=String.fromCharCode(i),n++):i>191&&i<224?(o=t.charCodeAt(n+1),e+=String.fromCharCode((i&31)<<6|o&63),n+=2):(o=t.charCodeAt(n+1),r=t.charCodeAt(n+2),e+=String.fromCharCode((i&15)<<12|(o&63)<<6|r&63),n+=3);return e},F=t=>{t=t.replace(/\r\n/g,"n");let e="";for(let n=0;n<t.length;n++){let i=t.charCodeAt(n);i<128?e+=String.fromCharCode(i):i>127&&i<2048?(e+=String.fromCharCode(i>>6|192),e+=String.fromCharCode(i&63|128)):(e+=String.fromCharCode(i>>12|224),e+=String.fromCharCode(i>>6&63|128),e+=String.fromCharCode(i&63|128))}return e},Me=t=>{let e=0,n=t.length,i=-1;for(let o=0;o<n;o++)i=t.charCodeAt(o),i>=0&&i<=128?e+=1:e+=3;return e},ve="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890",ut=(t=6,e=ve)=>{let n="";for(let i=0;i<t;i++){let o=Math.round(Math.random()*(e.length-1));n+=e.substring(o,o+1)}return n},Ae=(t=1,e=8)=>{let n=[];const i="bcdfghjklmnpqrstvwxyz",o="aeiou";for(;t-- >0;){let r="";for(let u=0;u<e;u=u+3)r+=i[Math.floor(Math.random()*i.length)],r+=o[Math.floor(Math.random()*o.length)],r+=i[Math.floor(Math.random()*i.length)];n.push(r)}return n},Se=(t,e=!1)=>{let n=[];return t.replace(/[-_\s+]/g," ").split(" ").forEach((i,o)=>{n.push(o===0&&!e?i:ct(i))}),n.join("")},P=0,k=1,mt=2,_e=(t,e="",n=P)=>{if(e.length){let i=new RegExp("^["+C(e)+"]+"),o=new RegExp("["+C(e)+"]+$");return n===k?t.replace(i,""):n===mt?t.replace(o,""):t.replace(i,"").replace(o,"")}else return n===P?t.trim():n===k?t.trimStart():t.trimEnd()},Ne=(t,e)=>{let n=[];for(let i=0;i<t.length;i+=e)n.push(t.slice(i,i+e));return n},Oe=t=>/[\u4e00-\u9fa5]/.test(t),T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ce=t=>{let e="",n,i,o,r,u,l,s,c=0;for(t=t.replace(/\+\+[++^A-Za-z0-9+/=]/g,"");c<t.length;)r=T.indexOf(t.charAt(c++)),u=T.indexOf(t.charAt(c++)),l=T.indexOf(t.charAt(c++)),s=T.indexOf(t.charAt(c++)),n=r<<2|u>>4,i=(u&15)<<4|l>>2,o=(l&3)<<6|s,e=e+String.fromCharCode(n),l!==64&&(e=e+String.fromCharCode(i)),s!==64&&(e=e+String.fromCharCode(o));return e=pt(e),e},De=t=>F(t).replace("+","-").replace("/","_"),Ie=t=>{let e="",n,i,o,r,u,l,s,c=0;for(t=F(t);c<t.length;)n=t.charCodeAt(c++),i=t.charCodeAt(c++),o=t.charCodeAt(c++),r=n>>2,u=(n&3)<<4|i>>4,l=(i&15)<<2|o>>6,s=o&63,isNaN(i)?l=s=64:isNaN(o)&&(s=64),e=e+T.charAt(r)+T.charAt(u)+T.charAt(l)+T.charAt(s);return e},dt=async t=>await Re(t),Re=t=>new Promise((e,n)=>{const i=new FileReader;i.readAsDataURL(t),i.onload=()=>e(i.result),i.onerror=o=>n(o)}),xe=(t,e,n,i="/",o)=>{let r="";if(n){let l=new Date;l.setTime(Date.now()+n*24*60*60*1e3),r="; expires="+l.toUTCString()}let u=t+"="+(e||"")+r+"; path="+i;o&&(u+="; domain="+o),document.cookie=u},Le=t=>{let e=t+"=",n=document.cookie.split(";");for(let i=0;i<n.length;i++){let o=n[i];for(;o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(e)===0)return o.substring(e.length,o.length)}return null},D=(t,e="/",n)=>{let i=t+"=; Path="+e+"; Expires=Thu, 01 Jan 1970 00:00:01 GMT;";n&&(i+=" Domain="+n+";"),document.cookie=i},He=(t,e)=>{const n=(e||(location==null?void 0:location.hostname)).split(".");for(;n.length>1;)D(t,"/",n.join(".")),D(t,"/","."+n.join(".")),n.shift();D(t)};let Fe=0;const ft=(t="")=>"guid_"+(t||ut(6))+ ++Fe,Pe=(t,e)=>{let n,i,o=0;return function(){let r=+new Date;n=this,i=arguments,r-o>e&&(t.apply(n,i),o=r)}},ke=(t,e)=>{let n,i,o=0,r=!1;return function(){if(r)return;let u=+new Date;n=this,i=arguments;let l=e-(u-o);l<=0?(t.apply(n,i),o=u):(r=!0,setTimeout(()=>{t.apply(n,i),r=!1,o=u},l))}},Ue=(t,e)=>{let n;return function(){let i=this,o=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(i,o)},e)}},Be=t=>t&&typeof t=="object"&&t.then&&typeof t.then=="function",Ye=t=>{let e=!1;try{JSON.parse(t),e=!0}catch{}return e},$e=t=>t&&typeof t=="object"&&!Array.isArray(t),je=t=>t?Object.prototype.toString.call(t)==="[object Function]"||typeof t=="function"||t instanceof Function:!1,ht=t=>typeof t!="string"||t.trim()===""?!1:/^(https?:\/\/|\/\/|\/|\.\.?\/*)/i.test(t),qe=t=>{let e=!1;try{JSON.parse(t),e=!0}catch{}return e},ze=()=>{let t=new Error().stack;console.log(t)},Ge=t=>{const e=v(t);e&&(e.style.display="none")},We=t=>{const e=v(t);e&&(e.style.display="")},Ke=t=>{let e=v(t);return e&&e.parentNode&&e.parentNode.removeChild(e)},U="disabled",gt=(t,e="")=>B(t,e,!1),wt=(t,e="")=>B(t,e,!0),B=(t,e="",n=null)=>{let i=v(t),o=n===null?!i.classList.contains(U):!n;o&&Tt(`.${U} {pointer-event:none !important;}`,"__element_lock_style__"),i.classList.toggle(U,o),i[o?"setAttribute":"removeAttribute"]("disabled","disabled"),i[o?"setAttribute":"removeAttribute"]("data-disabled","disabled"),e&&i.classList.toggle(e,o)},Ve=(t,e,n)=>{t=v(t);let i=!1;t.addEventListener("mouseenter",()=>{i||(i=!0,e&&e())}),t.addEventListener("mouseleave",()=>{i&&(i=!1,n&&n())})},Je=(t,e)=>{gt(t),e(()=>{wt(t)})},Qe=t=>t.parentNode?Array.prototype.indexOf.call(t.parentNode.children,t):-1,Y=(t,e=document)=>{if(typeof t=="string")return t=t.trim(),t.indexOf(":scope")!==0&&(t=":scope "+t),Array.from(e.querySelectorAll(t));if(Array.isArray(t)){let n=[];return t.forEach(i=>{n.push(...Y(i))}),n}else return NodeList.prototype.isPrototypeOf(t)||HTMLCollection.prototype.isPrototypeOf(t)?Array.from(t):t instanceof HTMLElement?[t]:t},v=(t,e=document)=>typeof t=="string"?e.querySelector(t):t,Xe=t=>{let e=document.getElementsByTagName("*"),n=[];for(n=[];t&&t.nodeType===1;t=t.parentNode)if(t.hasAttribute("id")){let i=0;for(let o=0;o<e.length&&(e[o].hasAttribute("id")&&e[o].id===t.id&&i++,!(i>1));o++);if(i===1)return n.unshift('id("'+t.getAttribute("id")+'")'),n.join("/");n.unshift(t.localName.toLowerCase()+'[@id="'+t.getAttribute("id")+'"]')}else if(t.hasAttribute("class"))n.unshift(t.localName.toLowerCase()+'[@class="'+t.getAttribute("class")+'"]');else{let i,o;for(i=1,o=t.previousSibling;o;o=o.previousSibling)o.localName===t.localName&&i++;n.unshift(t.localName.toLowerCase()+"["+i+"]")}return n.length?"/"+n.join("/"):null},Ze=(t,e,n=!0)=>{const i="ON_DOM_TREE_CHANGE_BIND_"+ft();let o=()=>{Y(`input:not([${i}]), textarea:not([${i}]), select:not([${i}])`,t).forEach(r=>{r.setAttribute(i,"1"),r.addEventListener("change",e)})};Et(t,{attributes:!0,subtree:!0,childList:!0},()=>{n&&o(),e()},10),n&&o()},Et=(t,e,n,i=10)=>{let o=0,r=!1,u=new MutationObserver(()=>{if(r)return;let l=i-(Date.now()-o);l>0?(r=!0,setTimeout(()=>{r=!1,o=Date.now(),n(u)},l)):(o=Date.now(),n(u))});u.observe(t,e)},tn=(t,e={left:0,top:0,width:window.innerWidth,height:window.innerHeight})=>{let n={left:t.left,top:t.top};return t.width>e.width||t.height>e.height||(t.width+t.left>e.width+e.left&&(n.left=t.left-(t.width+t.left-(e.width+e.left))),t.height+t.top>e.height+e.top&&(n.top=t.top-(t.height+t.top-(e.height+e.top))),t.left<e.left&&(n.left=e.left),t.top<e.top&&(n.top=e.top)),n},en=(t,e)=>t.left<=e.left?t.left+t.width>=e.left&&(w(e.top,t.top,t.top+t.height)||w(e.top+e.height,t.top,t.top+t.height)||e.top>=t.top&&e.height>=t.height):e.left+e.width>=t.left&&(w(t.top,e.top,e.top+e.height)||w(t.top+t.height,e.top,e.top+e.height)||t.top>=e.top&&t.height>=e.height),nn=t=>t?!!(t.tabIndex>=0||t instanceof HTMLAnchorElement&&t.href||t instanceof HTMLButtonElement&&!t.disabled||t instanceof HTMLInputElement&&!t.disabled||t instanceof HTMLTextAreaElement&&!t.disabled):!1;let b={};const on=(t,e=!1)=>(!e&&t in b||(b[t]=new Promise((n,i)=>{let o=document.createElement("link");o.rel="stylesheet",o.href=t,o.onload=()=>{n()},o.onerror=()=>{i()},document.head.append(o)})),b[t]),an=(t,e=!1)=>(!e&&t in b||(b[t]=new Promise((n,i)=>{let o=document.createElement("script");o.src=t,o.onload=()=>{n()},o.onerror=()=>{i()},document.head.append(o)})),b[t]),rn=t=>{let e=t.style.visibility,n=t.style.display,i,o;return t.style.visibility="hidden",t.style.display="block",i=t.clientWidth,o=t.clientHeight,t.style.visibility=e,t.style.display=n,{width:i,height:o}},Tt=(t,e="",n=document)=>{if(e&&n.querySelector(`#${e}`))return n.querySelector(`#${e}`);let i=n.createElement("style");return n.head.appendChild(i),i.innerHTML=t,e&&(i.id=e),i},ln=(t,e)=>w(t.top,e.top,e.top+e.height)&&w(t.left,e.left,e.left+e.width)&&w(t.top+t.height,e.top,e.top+e.height)&&w(t.left+t.width,e.left,e.left+e.width),cn=t=>Math.pow(10,-t),sn=(t,e)=>{try{return new URL(t,e).href}catch{return t}},pn=(t,e=null)=>{let n=document.createElement("template");t=t.trim(),n.innerHTML=t;let i=[];return e?n.content.childNodes.forEach(o=>{i.push(e.appendChild(o))}):i=Array.from(n.content.childNodes),i.length===1?i[0]:i},bt=(t,e=!1)=>{if(!t)throw new Error("el is null");const n=t.getBoundingClientRect();if(e&&!n.height){const i=t.style.visibility,o=t.style.display;t.style.visibility="hidden",t.style.display="block";const r=bt(t);return t.style.visibility=i,t.style.display=o,r}return{top:n.top,left:n.left,right:n.right,bottom:n.bottom,width:n.width,height:n.height}},un=t=>{let e={};for(let n in t){const i=t[n];i!=null&&(e[`--${n}`]=`${i}`)}return e},$=new EventTarget,mn=new Map,j=new Map;let dn=0;const fn="__MINUTOOL_SYM_EVENT__";function q(t){if(!j.has(t)){const e=`${fn}${++dn}`;j.set(t,e),mn.set(e,t)}return j.get(t)}const hn=(t,e)=>{const n=t.map(i=>yt(i,e));return()=>n.forEach(i=>i())},yt=(t,e)=>($.addEventListener(typeof t=="symbol"?q(t):t,e),()=>Mt(t,e)),Mt=(t,e)=>{$.removeEventListener(typeof t=="symbol"?q(t):t,e)},gn=(t,e=null)=>{$.dispatchEvent(new CustomEvent(typeof t=="symbol"?q(t):t,{detail:e}))},wn=t=>t.replace(/[\\/:*?"<>|]/g,"_").replace(/[\0-\x1F]/g,"_").replace(/\s+/g," ").replace(/^\.+/,"").replace(/\.+$/,"").trim(),z=t=>new Promise((e,n)=>{const i=new FileReader;i.onload=()=>e(i.result),i.onerror=o=>n(o),i.readAsDataURL(t)}),vt={},G=(t,e=null)=>e!==null?(vt[t]=e,null):vt[t]||null,En=async t=>{if(!t)return null;if(typeof t=="string"&&t.startsWith("data:"))return t;try{if(typeof t=="string"&&ht(t)){const e=await fetch(t);if(!e.ok)throw new Error(`Fetch failed: ${e.status}`);const n=await e.blob();return await z(n)}return t instanceof Blob?await z(t):null}catch(e){return console.warn("file2Base64DataURL failed:",e),null}},Tn=(t,e)=>{const n=document.createElement("a");n.rel="noopener noreferrer",n.href=t,n.download=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)},W=["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","CANVAS","DD","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HR","LI","MAIN","NAV","NOSCRIPT","OL","P","PRE","SECTION","TABLE","TFOOT","UL","VIDEO"],bn=["A","ABBR","ACRONYM","B","BDO","BIG","BUTTON","CITE","CODE","DFN","EM","I","KBD","LABEL","MAP","OBJECT","OUTPUT","Q","S","SAMP","SCRIPT","SELECT","SMALL","SPAN","STRONG","SUB","SUP","TEXTAREA","TIME","TT","U","VAR"].concat(...W),yn=["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"],At=["STYLE","COMMENT","SELECT","OPTION","SCRIPT","TITLE","HEAD","BUTTON","META","LINK","PARAM","SOURCE"],Mn=t=>(At.forEach(n=>{t=t.replace(new RegExp(n,"ig"),"")}),t=t.replace(/[\r|\n]/g,""),t=t.replace(/<(\w+)([^>]*)>/g,function(n,i,o){return W.includes(i.toUpperCase())?`
2
+ `:""}),t=t.replace(/<\/(\w+)([^>]*)>/g,function(n,i,o){return""}),t=t.replace(/<[^>]+>/g,""),[[/&nbsp;/gi," "],[/&lt;/gi,"<"],[/&gt;/gi,">"],[/&quot;/gi,'"'],[/&apos;/gi,"'"]].forEach(([n,i])=>{t=t.replace(n,i)}),t=t.replace(/&#(\d+);/,function(n,i){return String.fromCharCode(parseInt(i))}),t=t.replace(/&amp;/gi,"&"),t=t.trim(),t),vn=t=>St(t,0,!1).replace(/\n/g,"<br/>"),An=t=>window.CSS&&CSS.escape?CSS.escape(t):t.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g,"\\$&"),Sn=t=>{let e=t.split(";");return e.pop(),e.map(n=>String.fromCharCode(n[2]==="x"?parseInt(n.slice(3),16):parseInt(n.slice(2)))).join("")};let N;const _n=t=>(N||(N=document.createElement("div")),t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),t=t.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),N.innerHTML=t,t=N.textContent||"",N.textContent="",t),Nn=t=>{let e="";for(let n in t){let i=t[n]===null?"":t[n];e+=`<input type="hidden" name="${K(n)}" value="${K(i)}"/>`}return e},St=(t,e=2,n=!0)=>{let i=String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;");return n&&(i=i.replace(/[\r\n]/g,"<br/>")),e&&(i=i.replace(/\t/g,"&nbsp;".repeat(e))),i=i.replace(/\s/g,"&nbsp;"),i},On=t=>String(t).replace(/&quot;/g,'"').replace(/&#39;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&nbsp;/g," ").replace(/&amp;/g,"&").replace(/<br.*>/,`
3
+ `),Cn=t=>{if(!t)return"";let e=t;return e=e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;"),e=e.replace(/^###### (.*$)/gim,"<h6>$1</h6>"),e=e.replace(/^##### (.*$)/gim,"<h5>$1</h5>"),e=e.replace(/^#### (.*$)/gim,"<h4>$1</h4>"),e=e.replace(/^### (.*$)/gim,"<h3>$1</h3>"),e=e.replace(/^## (.*$)/gim,"<h2>$1</h2>"),e=e.replace(/^# (.*$)/gim,"<h1>$1</h1>"),e=e.replace(/\*\*(.*?)\*\*/gim,"<strong>$1</strong>"),e=e.replace(/\*(.*?)\*/gim,"<em>$1</em>"),e=e.replace(/`(.*?)`/gim,"<code>$1</code>"),e=e.replace(/!\[(.*?)\]\((.*?)\)/gim,'<img src="$2" alt="$1" />'),e=e.replace(/\[(.*?)\]\((.*?)\)/gim,'<a href="$2" target="_blank">$1</a>'),e=e.replace(/((\|.*\|\n)+)/g,n=>{const i=n.trim().split(`
4
+ `);if(i.length<2)return n;let o="<table>";return i.forEach((r,u)=>{const l=r.split("|").slice(1,-1);if(/^\s*-+\s*$/.test(l[0]))return;const s=u===0?"th":"td";o+="<tr>",l.forEach(c=>{o+=`<${s}>${c.trim()}</${s}>`}),o+="</tr>"}),o+="</table>",o}),e=e.replace(/^\s*-\s+(.*)/gim,"<li>$1</li>"),e=e.replace(/(<li>.*<\/li>)/gims,"<ul>$1</ul>"),e=e.replace(/\n/g,"<br />"),e.trim()},K=(t,e="")=>(e=e?"&#13;":`
5
+ `,(""+t).replace(/&/g,"&amp;").replace(/'/g,"&apos;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\r\n/g,e).replace(/[\r\n]/g,e)),Dn=(t,e)=>{let n=t.split("");return e=e||0,n.map(i=>`&#${e?"x"+i.charCodeAt(0).toString(16):i.charCodeAt(0)};`).join("")},In=(t,e,n='<span class="matched">%s</span>')=>e?t.replace(new RegExp(C(e),"ig"),i=>n.replace("%s",i)):t,Rn=t=>{if(!t.src)return null;if(t.src.indexOf("data:")===0)return t.src;let e=document.createElement("canvas");e.width=t.width,e.height=t.height;let n=e.getContext("2d");return n?(n.drawImage(t,0,0,t.width,t.height),e.toDataURL("image/png")):null},_t=t=>{const e=new XMLSerializer().serializeToString(t),n=new Blob([e],{type:"image/svg+xml;charset=utf-8"});return URL.createObjectURL(n)},Nt=t=>new Promise((e,n)=>{const i=_t(t),o=new Image;o.onload=()=>{e(o)},o.onerror=r=>{n(new Error("Failed to load SVG into Image:"+r))},o.src=i}),xn=(t,e=null,n=null)=>(e=e||"image/png",new Promise((i,o)=>{const r=M(n)?st(n):1;Nt(t).then(u=>{const[l,s]=Ot(t),c=document.createElement("canvas");c.width=l*r,c.height=s*r,c.getContext("2d").drawImage(u,0,0,l*r,s*r),URL.revokeObjectURL(u.src),i(c.toDataURL(e))},o)})),Ot=t=>{let e=null,n=null;const i=t.getAttribute("width"),o=t.getAttribute("height");if(i&&o)try{const r=O(i,"px"),u=O(o,"px");r&&u&&(e=H(r.val+r.unit,"px"),n=H(u.val+u.unit,"px"))}catch{}if(e===null||n===null){const r=t.viewBox.baseVal;r&&r.width&&r.height&&(e=r.width,n=r.height)}if(e===null||n===null){const r=t.getBoundingClientRect();e=r.width,n=r.height}return[e,n]},Ln=(t,e=!1)=>new Promise((n,i)=>{if(e){const r=G(t);if(r)return n(r)}let o=new XMLHttpRequest;o.open("GET",t,!0),o.responseType="blob",o.onload=function(){if(this.status===200){let r=this.response;dt(r).then(u=>{e&&G(t,u),n(u)}).catch(u=>{i(u)})}},o.onerror=function(){i("Error:"+this.statusText)},o.onabort=function(){i("Request abort")},o.send()}),y=(t,e)=>{let n=(t&65535)+(e&65535);return(t>>16)+(e>>16)+(n>>16)<<16|n&65535},Hn=(t,e)=>t<<e|t>>>32-e,I=(t,e,n,i,o,r)=>y(Hn(y(y(e,t),y(i,r)),o),n),m=(t,e,n,i,o,r,u)=>I(e&n|~e&i,t,e,o,r,u),d=(t,e,n,i,o,r,u)=>I(e&i|n&~i,t,e,o,r,u),f=(t,e,n,i,o,r,u)=>I(e^n^i,t,e,o,r,u),h=(t,e,n,i,o,r,u)=>I(n^(e|~i),t,e,o,r,u),R=(t,e)=>{t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;let n,i,o,r,u,l=1732584193,s=-271733879,c=-1732584194,p=271733878;for(n=0;n<t.length;n+=16)i=l,o=s,r=c,u=p,l=m(l,s,c,p,t[n],7,-680876936),p=m(p,l,s,c,t[n+1],12,-389564586),c=m(c,p,l,s,t[n+2],17,606105819),s=m(s,c,p,l,t[n+3],22,-1044525330),l=m(l,s,c,p,t[n+4],7,-176418897),p=m(p,l,s,c,t[n+5],12,1200080426),c=m(c,p,l,s,t[n+6],17,-1473231341),s=m(s,c,p,l,t[n+7],22,-45705983),l=m(l,s,c,p,t[n+8],7,1770035416),p=m(p,l,s,c,t[n+9],12,-1958414417),c=m(c,p,l,s,t[n+10],17,-42063),s=m(s,c,p,l,t[n+11],22,-1990404162),l=m(l,s,c,p,t[n+12],7,1804603682),p=m(p,l,s,c,t[n+13],12,-40341101),c=m(c,p,l,s,t[n+14],17,-1502002290),s=m(s,c,p,l,t[n+15],22,1236535329),l=d(l,s,c,p,t[n+1],5,-165796510),p=d(p,l,s,c,t[n+6],9,-1069501632),c=d(c,p,l,s,t[n+11],14,643717713),s=d(s,c,p,l,t[n],20,-373897302),l=d(l,s,c,p,t[n+5],5,-701558691),p=d(p,l,s,c,t[n+10],9,38016083),c=d(c,p,l,s,t[n+15],14,-660478335),s=d(s,c,p,l,t[n+4],20,-405537848),l=d(l,s,c,p,t[n+9],5,568446438),p=d(p,l,s,c,t[n+14],9,-1019803690),c=d(c,p,l,s,t[n+3],14,-187363961),s=d(s,c,p,l,t[n+8],20,1163531501),l=d(l,s,c,p,t[n+13],5,-1444681467),p=d(p,l,s,c,t[n+2],9,-51403784),c=d(c,p,l,s,t[n+7],14,1735328473),s=d(s,c,p,l,t[n+12],20,-1926607734),l=f(l,s,c,p,t[n+5],4,-378558),p=f(p,l,s,c,t[n+8],11,-2022574463),c=f(c,p,l,s,t[n+11],16,1839030562),s=f(s,c,p,l,t[n+14],23,-35309556),l=f(l,s,c,p,t[n+1],4,-1530992060),p=f(p,l,s,c,t[n+4],11,1272893353),c=f(c,p,l,s,t[n+7],16,-155497632),s=f(s,c,p,l,t[n+10],23,-1094730640),l=f(l,s,c,p,t[n+13],4,681279174),p=f(p,l,s,c,t[n],11,-358537222),c=f(c,p,l,s,t[n+3],16,-722521979),s=f(s,c,p,l,t[n+6],23,76029189),l=f(l,s,c,p,t[n+9],4,-640364487),p=f(p,l,s,c,t[n+12],11,-421815835),c=f(c,p,l,s,t[n+15],16,530742520),s=f(s,c,p,l,t[n+2],23,-995338651),l=h(l,s,c,p,t[n],6,-198630844),p=h(p,l,s,c,t[n+7],10,1126891415),c=h(c,p,l,s,t[n+14],15,-1416354905),s=h(s,c,p,l,t[n+5],21,-57434055),l=h(l,s,c,p,t[n+12],6,1700485571),p=h(p,l,s,c,t[n+3],10,-1894986606),c=h(c,p,l,s,t[n+10],15,-1051523),s=h(s,c,p,l,t[n+1],21,-2054922799),l=h(l,s,c,p,t[n+8],6,1873313359),p=h(p,l,s,c,t[n+15],10,-30611744),c=h(c,p,l,s,t[n+6],15,-1560198380),s=h(s,c,p,l,t[n+13],21,1309151649),l=h(l,s,c,p,t[n+4],6,-145523070),p=h(p,l,s,c,t[n+11],10,-1120210379),c=h(c,p,l,s,t[n+2],15,718787259),s=h(s,c,p,l,t[n+9],21,-343485551),l=y(l,i),s=y(s,o),c=y(c,r),p=y(p,u);return[l,s,c,p]},Ct=t=>{let e,n="",i=t.length*32;for(e=0;e<i;e+=8)n+=String.fromCharCode(t[e>>5]>>>e%32&255);return n},V=t=>{let e,n=[];for(n[(t.length>>2)-1]=void 0,e=0;e<n.length;e+=1)n[e]=0;let i=t.length*8;for(e=0;e<i;e+=8)n[e>>5]|=(t.charCodeAt(e/8)&255)<<e%32;return n},Fn=t=>Ct(R(V(t),t.length*8)),Pn=(t,e)=>{let n,i=V(t),o=[],r=[],u;for(o[15]=r[15]=void 0,i.length>16&&(i=R(i,t.length*8)),n=0;n<16;n+=1)o[n]=i[n]^909522486,r[n]=i[n]^1549556828;return u=R(o.concat(V(e)),512+e.length*8),Ct(R(r.concat(u),640))},Dt=t=>{let e="0123456789abcdef",n="",i,o;for(o=0;o<t.length;o+=1)i=t.charCodeAt(o),n+=e.charAt(i>>>4&15)+e.charAt(i&15);return n},J=t=>unescape(encodeURIComponent(t)),It=t=>Fn(J(t)),kn=t=>Dt(It(t)),Rt=(t,e)=>Pn(J(t),J(e)),Un=(t,e)=>Dt(Rt(t,e)),Bn=(t,e,n)=>e?n?Rt(e,t):Un(e,t):n?It(t):kn(t),Yn="application/octet-stream",A="application/json",xt="application/x-www-form-urlencoded",Lt="multipart/form-data",$n="text/plain",jn="text/html",qn={323:"text/h323",accdb:"application/msaccess",accde:"application/msaccess",accdt:"application/msaccess",acx:"application/internet-property-stream",ai:"application/postscript",aif:"audio/x-aiff",aifc:"audio/aiff",aiff:"audio/aiff",application:"application/x-ms-application",art:"image/x-jg",asf:"video/x-ms-asf",asm:"text/plain",asr:"video/x-ms-asf",asx:"video/x-ms-asf",atom:"application/atom+xml",au:"audio/basic",avi:"video/x-msvideo",axs:"application/olescript",bas:"text/plain",bcpio:"application/x-bcpio",bmp:"image/bmp",c:"text/plain",calx:"application/vnd.ms-office.calx",cat:"application/vnd.ms-pki.seccat",cdf:"application/x-cdf",class:"application/x-java-applet",clp:"application/x-msclip",cmx:"image/x-cmx",cnf:"text/plain",cod:"image/cis-cod",cpio:"application/x-cpio",cpp:"text/plain",crd:"application/x-mscardfile",crl:"application/pkix-crl",crt:"application/x-x509-ca-cert",csh:"application/x-csh",css:"text/css",dcr:"application/x-director",der:"application/x-x509-ca-cert",dib:"image/bmp",dir:"application/x-director",disco:"text/xml",dll:"application/x-msdownload","dll.config":"text/xml",dlm:"text/dlm",doc:"application/msword",docm:"application/vnd.ms-word.document.macroEnabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroEnabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",dtd:"text/xml",dvi:"application/x-dvi",dwf:"drawing/x-dwf",dxr:"application/x-director",eml:"message/rfc822",eps:"application/postscript",etx:"text/x-setext",evy:"application/envoy","exe.config":"text/xml",fdf:"application/vnd.fdf",fif:"application/fractals",flr:"x-world/x-vrml",flv:"video/x-flv",gif:"image/gif",gtar:"application/x-gtar",gz:"application/x-gzip",h:"text/plain",hdf:"application/x-hdf",hdml:"text/x-hdml",hhc:"application/x-oleobject",hlp:"application/winhlp",hqx:"application/mac-binhex40",hta:"application/hta",htc:"text/x-component",htm:"text/html",html:"text/html",htt:"text/webviewhtml",hxt:"text/html",ico:"image/x-icon",ief:"image/ief",iii:"application/x-iphone",ins:"application/x-internet-signup",isp:"application/x-internet-signup",IVF:"video/x-ivf",jar:"application/java-archive",jck:"application/liquidmotion",jcz:"application/liquidmotion",jfif:"image/pjpeg",jpe:"image/jpeg",jpeg:"image/jpeg",jpg:"image/jpeg",js:"application/x-javascript",jsx:"text/jscript",latex:"application/x-latex",lit:"application/x-ms-reader",lsf:"video/x-la-asf",lsx:"video/x-la-asf",m13:"application/x-msmediaview",m14:"application/x-msmediaview",m1v:"video/mpeg",m3u:"audio/x-mpegurl",man:"application/x-troff-man",manifest:"application/x-ms-manifest",map:"text/plain",mdb:"application/x-msaccess",me:"application/x-troff-me",mht:"message/rfc822",mhtml:"message/rfc822",mid:"audio/mid",midi:"audio/mid",mmf:"application/x-smaf",mno:"text/xml",mny:"application/x-msmoney",mov:"video/quicktime",movie:"video/x-sgi-movie",mp2:"video/mpeg",mp3:"audio/mpeg",mpa:"video/mpeg",mpe:"video/mpeg",mpeg:"video/mpeg",mpg:"video/mpeg",mpp:"application/vnd.ms-project",mpv2:"video/mpeg",ms:"application/x-troff-ms",mvb:"application/x-msmediaview",mvc:"application/x-miva-compiled",nc:"application/x-netcdf",nsc:"video/x-ms-asf",nws:"message/rfc822",oda:"application/oda",odc:"text/x-ms-odc",ods:"application/oleobject",one:"application/onenote",onea:"application/onenote",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",osdx:"application/opensearchdescription+xml",p10:"application/pkcs10",p12:"application/x-pkcs12",p7b:"application/x-pkcs7-certificates",p7c:"application/pkcs7-mime",p7m:"application/pkcs7-mime",p7r:"application/x-pkcs7-certreqresp",p7s:"application/pkcs7-signature",pbm:"image/x-portable-bitmap",pdf:"application/pdf",pfx:"application/x-pkcs12",pgm:"image/x-portable-graymap",pko:"application/vnd.ms-pki.pko",pma:"application/x-perfmon",pmc:"application/x-perfmon",pml:"application/x-perfmon",pmr:"application/x-perfmon",pmw:"application/x-perfmon",png:"image/png",pnm:"image/x-portable-anymap",pnz:"image/png",pot:"application/vnd.ms-powerpoint",potm:"application/vnd.ms-powerpoint.template.macroEnabled.12",potx:"application/vnd.openxmlformats-officedocument.presentationml.template",ppam:"application/vnd.ms-powerpoint.addin.macroEnabled.12",ppm:"image/x-portable-pixmap",pps:"application/vnd.ms-powerpoint",ppsm:"application/vnd.ms-powerpoint.slideshow.macroEnabled.12",ppsx:"application/vnd.openxmlformats-officedocument.presentationml.slideshow",ppt:"application/vnd.ms-powerpoint",pptm:"application/vnd.ms-powerpoint.presentation.macroEnabled.12",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",prf:"application/pics-rules",ps:"application/postscript",pub:"application/x-mspublisher",qt:"video/quicktime",qtl:"application/x-quicktimeplayer",ra:"audio/x-pn-realaudio",ram:"audio/x-pn-realaudio",ras:"image/x-cmu-raster",rf:"image/vnd.rn-realflash",rgb:"image/x-rgb",rm:"application/vnd.rn-realmedia",rmi:"audio/mid",roff:"application/x-troff",rpm:"audio/x-pn-realaudio-plugin",rtf:"application/rtf",rtx:"text/richtext",scd:"application/x-msschedule",sct:"text/scriptlet",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",sgml:"text/sgml",sh:"application/x-sh",shar:"application/x-shar",sit:"application/x-stuffit",sldm:"application/vnd.ms-powerpoint.slide.macroEnabled.12",sldx:"application/vnd.openxmlformats-officedocument.presentationml.slide",smd:"audio/x-smd",smx:"audio/x-smd",smz:"audio/x-smd",snd:"audio/basic",spc:"application/x-pkcs7-certificates",spl:"application/futuresplash",src:"application/x-wais-source",ssm:"application/streamingmedia",sst:"application/vnd.ms-pki.certstore",stl:"application/vnd.ms-pki.stl",sv4cpio:"application/x-sv4cpio",sv4crc:"application/x-sv4crc",svg:"image/svg+xml",swf:"application/x-shockwave-flash",t:"application/x-troff",tar:"application/x-tar",tcl:"application/x-tcl",tex:"application/x-tex",texi:"application/x-texinfo",texinfo:"application/x-texinfo",tgz:"application/x-compressed",thmx:"application/vnd.ms-officetheme",tif:"image/tiff",tiff:"image/tiff",tr:"application/x-troff",trm:"application/x-msterminal",tsv:"text/tab-separated-values",txt:"text/plain",uls:"text/iuls",ustar:"application/x-ustar",vbs:"text/vbscript",vcf:"text/x-vcard",vcs:"text/plain",vdx:"application/vnd.ms-visio.viewer",vml:"text/xml",vsd:"application/vnd.visio",vss:"application/vnd.visio",vst:"application/vnd.visio",vsto:"application/x-ms-vsto",vsw:"application/vnd.visio",vsx:"application/vnd.visio",vtx:"application/vnd.visio",wav:"audio/wav",wax:"audio/x-ms-wax",wbmp:"image/vnd.wap.wbmp",wcm:"application/vnd.ms-works",wdb:"application/vnd.ms-works",wks:"application/vnd.ms-works",wm:"video/x-ms-wm",wma:"audio/x-ms-wma",wmd:"application/x-ms-wmd",wmf:"application/x-msmetafile",wml:"text/vnd.wap.wml",wmlc:"application/vnd.wap.wmlc",wmls:"text/vnd.wap.wmlscript",wmlsc:"application/vnd.wap.wmlscriptc",wmp:"video/x-ms-wmp",wmv:"video/x-ms-wmv",wmx:"video/x-ms-wmx",wmz:"application/x-ms-wmz",wps:"application/vnd.ms-works",wri:"application/x-mswrite",wrl:"x-world/x-vrml",wrz:"x-world/x-vrml",wsdl:"text/xml",wvx:"video/x-ms-wvx",x:"application/directx",xaf:"x-world/x-vrml",xaml:"application/xaml+xml",xap:"application/x-silverlight-app",xbap:"application/x-ms-xbap",xbm:"image/x-xbitmap",xdr:"text/plain",xht:"application/xhtml+xml",xhtml:"application/xhtml+xml",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroEnabled.12",xlc:"application/vnd.ms-excel",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.12",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroEnabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",xml:"text/xml",xof:"x-world/x-vrml",xpm:"image/x-xpixmap",xps:"application/vnd.ms-xpsdocument",xsd:"text/xml",xsf:"text/xml",xsl:"text/xml",xslt:"text/xml",xwd:"image/x-xwindowdump",z:"application/x-compress",zip:"application/x-zip-compressed"},Q=t=>{const e={};return t.replace(/^\?/,"").split("&").forEach(n=>{const[i,o]=n.split("=");i&&(e[decodeURIComponent(i)]=decodeURIComponent(o||""))}),e},Ht=(t,e)=>{const[n,i]=t.split("?"),r={...i?Q(i):{},...e},u=X(r);return`${n}?${u}`},X=t=>{if(typeof t>"u"||typeof t!="object")return t;let e=[];for(let n in t)if(t.hasOwnProperty(n)){if(t[n]===null)continue;typeof t[n]=="object"&&t[n].length?t[n].forEach(i=>{e.push(encodeURI(n+"="+i))}):typeof t[n]=="object"||e.push(encodeURI(n+"="+t[n]))}return e.join("&")};class Ft extends Error{constructor(e){super(e),Object.setPrototypeOf(this,new.target.prototype)}}const Pt=(t,e={},n=0)=>{const i=new AbortController;let o=null;n&&(o=setTimeout(()=>i.abort(),n));const r=()=>{o!==null&&(clearTimeout(o),o=null)},u=s=>{const c=s,p=c.then.bind(c),et=c.catch.bind(c),nt=c.finally.bind(c);return c.then=function(E,it){return u(p(E,it))},c.catch=function(E){return u(et(E))},c.finally=function(E){return u(nt(E))},c.abort=E=>{r(),i.abort(new Ft(E||"request aborted."))},c},l=fetch(t,{...e,signal:i.signal}).then(s=>(r(),s)).catch(s=>{throw r(),s});return u(l)},zn=(t,e,n)=>{if(e==null)return;const i=t.replace(/([A-Z])/g,"-$1").replace(/^-/,"").toLowerCase();n.set(i,String(e))},Gn=t=>["method","headers","body","mode","credentials","cache","redirect","referrer","referrerPolicy","integrity","keepalive","signal","window"].includes(t),x=(t,e=null,n)=>{let{timeout:i,...o}=n;o=o||{},o.method=o.method||"GET";const r=o.method.toUpperCase()==="GET",u=new Headers(o.headers||{});for(let l in o)Gn(l)||zn(l,o[l],u);return r&&e&&(t=Ht(t,typeof e=="string"?Q(e):e),e=null),Pt(t,{headers:u,body:r?void 0:Wn(e,u.get("content-type")||void 0),...o},i).then(l=>{if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);return l})},kt=t=>typeof t=="string"||t instanceof FormData||t instanceof URLSearchParams||t instanceof Blob||t instanceof ArrayBuffer||ArrayBuffer.isView(t),Wn=(t,e)=>{if(kt(t)||typeof t!="object")return t;switch(e==null?void 0:e.toLowerCase()){case A:return JSON.stringify(t);case xt:case Lt:default:return X(t)}},Kn=(t,e=null,n={})=>x(t,e,{...n,ContentType:A,Accept:A}).then(i=>i.json()),Vn=(t,e=null,n={})=>x(t,e,{...n,method:"POST",ContentType:A,Accept:A}).then(i=>i.json()),Jn=(t,e,n=null,i={})=>{const o=new FormData;if(Object.keys(e).forEach(r=>{o.append(r,e[r],e[r].name)}),n)for(let r in n)n.hasOwnProperty(r)&&o.append(r,n[r]);return x(t,o,{...i,method:"POST"}).then(r=>r.json())};function Z(t){if(t===null||typeof t!="object")return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array)return t.map(e=>Z(e));if(t instanceof Object){const e={};for(const n in t)t.hasOwnProperty(n)&&(e[n]=Z(t[n]));return e}return t}function Qn(t){return Object.keys(t).length===0}const Xn=(t,e)=>{let n={};for(let i in t)e[i]!==void 0?n[e[i]]=t[i]:n[i]=t[i];return n},Zn=t=>Object.entries(t).map(([e,n])=>[/^\d+$/.test(e)?Number(e):e,n]),ti=t=>{const e={};for(const[n,i]of t){const o=typeof n=="string"&&/^\d+$/.test(n)?Number(n):n;e[o]=i}return e},ei=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[n,e]));function ni(t,e,n){const i=e.split(".");let o=t;for(const r of i){if(o==null)return n;o=o[r]}return o!==void 0?o:n}function ii(t,e,n){const i=e.split("."),o=i.pop();let r=t;for(const u of i)(!(u in r)||typeof r[u]!="object")&&(r[u]={}),r=r[u];r[o]=n}function Ut(t,...e){for(const n of e)for(const i in n)if(n.hasOwnProperty(i)){const o=n[i],r=t[i];o&&typeof o=="object"&&!Array.isArray(o)&&r&&typeof r=="object"&&!Array.isArray(r)?t[i]=Ut(r,o):t[i]=o}return t}const Bt=(t,e=!1)=>{for(const n in t)t[n]===null?delete t[n]:e&&typeof t[n]=="object"&&Bt(t[n],!0);return t},oi=new Date().getFullYear(),ai=new Date().getMonth()+1,ri=new Date().getDate(),li=60*1e3,ci=60*60*1e3,S=24*60*60*1e3,si=7*S,pi=30*S,ui=31*S,mi=365*S,di=366*S,fi=0,hi=1,gi=2,wi=3,Ei=4,Ti=5,bi=6,Yt=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],$t=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],jt=["January","February","March","April","May","June","July","August","September","October","November","December"],qt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],yi=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],Mi=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],vi=["日","一","二","三","四","五","六"],Ai=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],Si=(t,e,n)=>{let i=()=>{if(e&&e(t),t-- >0){setTimeout(i,1e3);return}n&&n()};i()},_i=t=>{if(!t||t<10)return"刚刚";t=Math.floor(t/1e3);const e=Math.floor(t/3600),n=Math.floor(t%3600/60),i=t%60;let o="";return e>0&&(o+=e+"小时"),(n>0||e>0)&&(o+=n+"分钟"),o+=i+"秒前",o},Ni=(t,e=!1)=>{const n=new Date(t);return new Date(n.getTime()-n.getTimezoneOffset()*6e4).toISOString().slice(0,e?19:16)},Oi=(t,e,n)=>t<=0?1/0:(Date.now()-n)/t*(e-t),zt={d:t=>{let e=t.getDate();return(e<10?"0":"")+e},D:t=>$t[t.getDay()],j:t=>t.getDate(),l:t=>Yt[t.getDay()],N:t=>{let e=t.getDay();return e===0?7:e},S:t=>{let e=t.getDate();return e%10===1&&e!==11?"st":e%10===2&&e!==12?"nd":e%10===3&&e!==13?"rd":"th"},w:t=>t.getDay(),z:t=>{let e=new Date(t.getFullYear(),0,1);return Math.ceil((t.getTime()-e.getTime())/864e5)},W:t=>{let e=new Date(t.valueOf()),n=(t.getDay()+6)%7;e.setDate(e.getDate()-n+3);let i=e.valueOf();e.setMonth(0,1),e.getDay()!==4&&e.setMonth(0,1+(4-e.getDay()+7)%7);let o=1+Math.ceil((i-e.getTime())/6048e5);return o<10?"0"+o:o},F:t=>jt[t.getMonth()],m:t=>{let e=t.getMonth();return(e<9?"0":"")+(e+1)},M:t=>qt[t.getMonth()],n:t=>t.getMonth()+1,t:t=>{let e=t.getFullYear(),n=t.getMonth()+1;return n===12&&(e=e++,n=0),new Date(e,n,0).getDate()},L:t=>{let e=t.getFullYear();return e%400===0||e%100!==0&&e%4===0},o:t=>{let e=new Date(t.valueOf());return e.setDate(e.getDate()-(t.getDay()+6)%7+3),e.getFullYear()},Y:t=>t.getFullYear(),y:t=>(""+t.getFullYear()).substr(2),a:t=>t.getHours()<12?"am":"pm",A:t=>t.getHours()<12?"AM":"PM",B:t=>Math.floor(((t.getUTCHours()+1)%24+t.getUTCMinutes()/60+t.getUTCSeconds()/3600)*1e3/24),g:t=>t.getHours()%12||12,G:t=>t.getHours(),h:t=>{let e=t.getHours();return((e%12||12)<10?"0":"")+(e%12||12)},H:t=>{let e=t.getHours();return(e<10?"0":"")+e},i:t=>{let e=t.getMinutes();return(e<10?"0":"")+e},s:t=>{let e=t.getSeconds();return(e<10?"0":"")+e},v:t=>{let e=t.getMilliseconds();return(e<10?"00":e<100?"0":"")+e},e:t=>Intl.DateTimeFormat().resolvedOptions().timeZone,I:t=>{let e=null;for(let n=0;n<12;++n){let o=new Date(t.getFullYear(),n,1).getTimezoneOffset();if(e===null)e=o;else if(o<e){e=o;break}else if(o>e)break}return t.getTimezoneOffset()===e?1:0},O:t=>{let e=t.getTimezoneOffset();return(-e<0?"-":"+")+(Math.abs(e/60)<10?"0":"")+Math.floor(Math.abs(e/60))+(Math.abs(e%60)===0?"00":(Math.abs(e%60)<10?"0":"")+Math.abs(e%60))},P:t=>{let e=t.getTimezoneOffset();return(-e<0?"-":"+")+(Math.abs(e/60)<10?"0":"")+Math.floor(Math.abs(e/60))+":"+(Math.abs(e%60)===0?"00":(Math.abs(e%60)<10?"0":"")+Math.abs(e%60))},T:t=>{let e=t.toLocaleTimeString(navigator.language,{timeZoneName:"short"}).split(" ");return e[e.length-1]},Z:t=>-t.getTimezoneOffset()*60,c:t=>tt("Y-m-d\\TH:i:sP",t),r:t=>t.toString(),U:t=>Math.floor(t.getTime()/1e3)},tt=function(t,e=null){let n=null;return typeof e=="object"&&e!==null?n=e:n=new Date(e||Date.now()),t.replace(/(\\?)(.)/g,function(i,o,r){return o===""&&zt[r]?String(zt[r](n)):r})},Gt=t=>{const e=new Date,n=new Intl.DateTimeFormat("en-US",{timeZone:"UTC",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),i=new Intl.DateTimeFormat("en-US",{timeZone:t,year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),o=n.formatToParts(e),r=i.formatToParts(e),u=p=>{const et=p.find(g=>g.type==="year").value,nt=p.find(g=>g.type==="month").value,E=p.find(g=>g.type==="day").value,it=p.find(g=>g.type==="hour").value,Ii=p.find(g=>g.type==="minute").value,Ri=p.find(g=>g.type==="second").value;return Date.UTC(Number(et),Number(nt)-1,Number(E),Number(it),Number(Ii),Number(Ri))},l=u(o),s=u(r);return(l-s)/1e3/60},Wt=t=>{const e=Math.floor(t/60),n=Math.abs(t%60);return`${e>=0?"+":"-"}${String(Math.abs(e)).padStart(2,"0")}:${String(n).padStart(2,"0")}`},Ci=t=>{const e=Gt(t);return Wt(e)},Di=t=>tt("W",t);a.AbortError=Ft,a.BLOCK_TAGS=W,a.Base64Encode=Ie,a.COMMON_DPI=96,a.DATE_NOW=ri,a.DAY_FRIDAY=Ti,a.DAY_MONDAY=hi,a.DAY_SATURDAY=bi,a.DAY_SUNDAY=fi,a.DAY_THURSDAY=Ei,a.DAY_TUESDAY=gi,a.DAY_WEDNESDAY=wi,a.GOLDEN_RATIO=ae,a.MIME_BINARY_DEFAULT=Yn,a.MIME_EXTENSION_MAP=qn,a.MIME_FORM=xt,a.MIME_HTML=jn,a.MIME_JSON=A,a.MIME_MULTIPART=Lt,a.MIME_TEXT=$n,a.MONTH_NAMES_CN=yi,a.MONTH_NAMES_EN=jt,a.MONTH_NAMES_SHORT_CN=Mi,a.MONTH_NAMES_SHORT_EN=qt,a.MONTH_NOW=ai,a.ONE_DAY=S,a.ONE_HOUR=ci,a.ONE_MINUTE=li,a.ONE_MONTH30=pi,a.ONE_MONTH31=ui,a.ONE_WEEK=si,a.ONE_YEAR365=mi,a.ONE_YEAR366=di,a.PAIR_TAGS=bn,a.REMOVABLE_TAGS=At,a.SCREEN_DPI=ot,a.SELF_CLOSING_TAGS=yn,a.STAND_DPI=L,a.TRIM_BOTH=P,a.TRIM_LEFT=k,a.TRIM_RIGHT=mt,a.WEEK_DAY_NAMES_CN=Ai,a.WEEK_DAY_NAMES_EN=Yt,a.WEEK_DAY_NAMES_SHORT_CN=vi,a.WEEK_DAY_NAMES_SHORT_EN=$t,a.YEAR_NOW=oi,a.abortableFetch=Pt,a.arrayChunk=Xt,a.arrayColumn=_,a.arrayDistinct=Vt,a.arrayGroup=Jt,a.arrayIndex=Kt,a.arraySortByKey=Qt,a.arrayTrimTail=Zt,a.base64Decode=Ce,a.base64UrlSafeEncode=De,a.between=w,a.blobToBase64=dt,a.blobToDataUri=z,a.buildHtmlHidden=Nn,a.buildStyleVars=un,a.calcRemainingMSecs=Oi,a.camelCase=Te,a.capitalize=ct,a.cleanNull=Bt,a.convertMinutesToTimezoneOffsetStr=Wt,a.countDown=Si,a.createDomByHtml=pn,a.cssSelectorEscape=An,a.cutString=we,a.debounce=Ue,a.decodeHTMLEntities=_n,a.deepClone=Z,a.deleteCookie=D,a.deleteCookieAllPaths=He,a.detectLanguage=ie,a.detectedPrecision=fe,a.digitCount=he,a.disabled=gt,a.dispatchEvent=gn,a.downloadFile=Tn,a.enabled=wt,a.enterFullScreen=at,a.entityToString=Sn,a.escapeAttr=K,a.escapeHtml=St,a.exitFullScreen=rt,a.extract=Ee,a.fileToBase64DataUri=En,a.findAll=Y,a.findOne=v,a.fixBaseUrl=sn,a.floatVal=st,a.formatDate=tt,a.getBoundingClientRect=bt,a.getCookie=Le,a.getDomDimension=rn,a.getJson=Kn,a.getNodeXPath=Xe,a.getTimezoneOffsetMinutes=Gt,a.getTimezoneOffsetStr=Ci,a.getUTF8StrLen=Me,a.getWeekNumber=Di,a.guid=ft,a.hide=Ge,a.highlightText=In,a.html2Text=Mn,a.imgToBase64=Rn,a.insertStyleSheet=Tt,a.isBodyInit=kt,a.isChinese=Oe,a.isEmptyObject=Qn,a.isFirefox=oe,a.isFocusable=nn,a.isFunction=je,a.isInFullScreen=lt,a.isJSON=qe,a.isJson=Ye,a.isLandscape=te,a.isNumberic=M,a.isObject=$e,a.isPortrait=ee,a.isPromise=Be,a.isUrl=ht,a.kebabCase=be,a.keepRectInContainer=tn,a.limit=ue,a.loadCss=on,a.loadScript=an,a.lockElementInteraction=Je,a.markdown2Html=Cn,a.md5=Bn,a.mmToPt=ce,a.mmToPx=re,a.mmToTwip=le,a.msToHMS=_i,a.mutationEffective=Et,a.nodeIndex=Qe,a.objToQuery=X,a.objectEntries=Zn,a.objectFromEntries=ti,a.objectGet=ni,a.objectKeyReplace=Xn,a.objectMerge=Ut,a.objectSet=ii,a.objectSwitchKV=ei,a.offEvent=Mt,a.onDomTreeChange=Ze,a.onEvent=yt,a.onEvents=hn,a.onHover=Ve,a.parseUnit=O,a.postFiles=Jn,a.postJson=Vn,a.precisionToStep=cn,a.printStack=ze,a.ptToMm=se,a.pxToMm=pe,a.queryReplace=Ht,a.queryToObj=Q,a.randomInt=me,a.randomString=ut,a.randomWords=Ae,a.rectAssoc=en,a.rectInLayout=ln,a.regQuote=C,a.remove=Ke,a.request=x,a.round=de,a.sanitizeFileName=wn,a.setCookie=xe,a.show=We,a.srcToBase64=Ln,a.strChunk=Ne,a.strToPascalCase=Se,a.stringToEntity=Dn,a.stripSlashes=ge,a.svgGetDimension=Ot,a.svgToImg=Nt,a.svgToImgData=xn,a.svgToSrc=_t,a.text2Html=vn,a.throttle=Pe,a.throttleEffect=ke,a.timestampToDateTimeLocal=Ni,a.toggleDisabled=B,a.toggleFullScreen=ne,a.trim=_e,a.truncate=ye,a.unescapeHtml=On,a.unitConvert=H,a.urlB64DataCache=G,a.utf8Decode=pt,a.utf8Encode=F,Object.defineProperty(a,Symbol.toStringTag,{value:"Module"})});
6
6
  //# sourceMappingURL=minutool.umd.cjs.map