minutool 1.0.0 → 1.0.1
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.
- package/dist/index.d.ts +662 -214
- package/dist/minutool.js +512 -398
- package/dist/minutool.js.map +1 -0
- package/dist/minutool.umd.cjs +5 -4
- package/dist/minutool.umd.cjs.map +1 -0
- package/package.json +11 -3
package/dist/minutool.umd.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
(function(o,v){typeof exports=="object"&&typeof module<"u"?v(exports):typeof define=="function"&&define.amd?define(["exports"],v):(o=typeof globalThis<"u"?globalThis:o||self,v(o.Minutool={}))})(this,function(o){"use strict";const v=(t,e)=>{let n=[];for(let i in t)n.push(t[i][e]);return n},dt=(t,e)=>{for(let n in t)if(t[n]===e)return n;return null},mt=t=>{let e=new Map;return t.filter(n=>{if(!e.has(n))return e.set(n,!0),!0})},ft=(t,e,n)=>{if(!t||!t.length)return t;let i={};if(t.forEach(s=>{let u=s[e];i[u]||(i[u]=[]),i[u].push(s)}),!n)return i;let a={};for(let s in i)a[s]=i[s][0];return a},gt=t=>Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}),ht=(t,e)=>{let n=t.length;if(e<1||!n)return[];if(e>n)return[t];let i=[],a=Math.floor(n/e),s=n%e;for(let u=1;u<=a;u++)i.push(t.splice(0,e));return s&&i.push(t.splice(0,s)),i},wt=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)};function B(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}const Et=t=>(t+"").replace(/\\(.?)/g,function(e,n){switch(n){case"\\":return"\\";case"0":return"\0";case"":return"";default:return n}}),At=(t,e,n="...")=>{let i=/[^\x00-\xff]/g;if(t.replace(i,"mm").length<=e)return t;let a=Math.floor(e/2);for(let s=a;s<t.length;s++)if(t.substr(0,s).replace(i,"mm").length>=e)return t.substr(0,s)+n;return t},Tt=(t,e)=>{const n=Object.keys(e),i=Object.values(e);return new Function(...n,`return \`${t}\`;`)(...i)};function vt(t){return t.replace(/[-_](.)/g,(e,n)=>n.toUpperCase())}function bt(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function yt(t,e,n="..."){return t.length<=e?t:t.slice(0,e)+n}const M=t=>(t+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1"),P=t=>{let e="",n=0,i=0,a=0,s=0;for(;n<t.length;)i=t.charCodeAt(n),i<128?(e+=String.fromCharCode(i),n++):i>191&&i<224?(a=t.charCodeAt(n+1),e+=String.fromCharCode((i&31)<<6|a&63),n+=2):(a=t.charCodeAt(n+1),s=t.charCodeAt(n+2),e+=String.fromCharCode((i&15)<<12|(a&63)<<6|s&63),n+=3);return e},Mt=t=>{let e=!1;try{JSON.parse(t),e=!0}catch{}return e},x=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},St=t=>{let e=0,n=t.length,i=-1;for(let a=0;a<n;a++)i=t.charCodeAt(a),i>=0&&i<=128?e+=1:e+=3;return e},_t="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890",q=(t=6,e=_t)=>{let n="";for(let i=0;i<t;i++){let a=Math.round(Math.random()*(e.length-1));n+=e.substring(a,a+1)}return n},xt=(t=1,e=8)=>{let n=[];const i="bcdfghjklmnpqrstvwxyz",a="aeiou";for(;t-- >0;){let s="";for(let u=0;u<e;u=u+3)s+=i[Math.floor(Math.random()*i.length)],s+=a[Math.floor(Math.random()*a.length)],s+=i[Math.floor(Math.random()*i.length)];n.push(s)}return n},Nt=(t,e=!1)=>{let n=[];return t.replace(/[-_\s+]/g," ").split(" ").forEach((i,a)=>{n.push(a===0&&!e?i:B(i))}),n.join("")},N=0,C=1,G=2,Ct=(t,e="",n=N)=>{if(e.length){let i=new RegExp("^["+M(e)+"]+"),a=new RegExp("["+M(e)+"]+$");return n===C?t.replace(i,""):n===G?t.replace(a,""):t.replace(i,"").replace(a,"")}else return n===N?t.trim():n===C?t.trimStart():t.trimEnd()},w="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ot=t=>{let e="",n,i,a,s,u,r,c,l=0;for(t=t.replace(/\+\+[++^A-Za-z0-9+/=]/g,"");l<t.length;)s=w.indexOf(t.charAt(l++)),u=w.indexOf(t.charAt(l++)),r=w.indexOf(t.charAt(l++)),c=w.indexOf(t.charAt(l++)),n=s<<2|u>>4,i=(u&15)<<4|r>>2,a=(r&3)<<6|c,e=e+String.fromCharCode(n),r!==64&&(e=e+String.fromCharCode(i)),c!==64&&(e=e+String.fromCharCode(a));return e=P(e),e},Dt=t=>x(t).replace("+","-").replace("/","_"),Rt=t=>{let e="",n,i,a,s,u,r,c,l=0;for(t=x(t);l<t.length;)n=t.charCodeAt(l++),i=t.charCodeAt(l++),a=t.charCodeAt(l++),s=n>>2,u=(n&3)<<4|i>>4,r=(i&15)<<2|a>>6,c=a&63,isNaN(i)?r=c=64:isNaN(a)&&(c=64),e=e+w.charAt(s)+w.charAt(u)+w.charAt(r)+w.charAt(c);return e},W=async t=>await It(t),It=t=>new Promise((e,n)=>{const i=new FileReader;i.readAsDataURL(t),i.onload=()=>e(i.result),i.onerror=a=>n(a)}),z=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"},K=()=>document.exitFullscreen(),Ht=t=>new Promise((e,n)=>{$()?K().then(e).catch(n):z(t).then(e).catch(n)}),$=()=>!!document.fullscreenElement,Lt=t=>{const e=navigator.language||navigator.userLanguage;if(t.includes(e))return e;const n=e.split("-")[0],i=t.find(a=>a.startsWith(n));return i||t[0]},kt=(t,e,n,i="/")=>{let a="";if(n){let s=new Date;s.setTime(Date.now()+n*24*60*60*1e3),a="; expires="+s.toUTCString()}document.cookie=t+"="+(e||"")+a+"; path="+i},Ft=t=>{let e=t+"=",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(e)===0)return a.substring(e.length,a.length)}return null},Yt=t=>{document.cookie=t+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"};let Ut=0;const j=(t="")=>"guid_"+(t||q(6))+ ++Ut,Bt=(t,e)=>{let n,i,a=0;return function(){let s=+new Date;n=this,i=arguments,s-a>e&&(t.apply(n,i),a=s)}},Pt=(t,e)=>{let n,i,a=0,s=!1;return function(){if(s)return;let u=+new Date;n=this,i=arguments;let r=e-(u-a);r<=0?(t.apply(n,i),a=u):(s=!0,setTimeout(()=>{t.apply(n,i),s=!1,a=u},r))}},qt=(t,e)=>{let n;return function(){let i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(i,a)},e)}},Gt=t=>t&&typeof t=="object"&&t.then&&typeof t.then=="function",Wt=t=>{let e=!1;try{JSON.parse(t),e=!0}catch{}return e},zt=t=>t&&typeof t=="object"&&!Array.isArray(t),Kt=t=>t?Object.prototype.toString.call(t)==="[object Function]"||typeof t=="function"||t instanceof Function:!1,J=t=>typeof t!="string"||t.trim()===""?!1:/^(https?:\/\/|\/\/|\/|\.\.?\/*)/i.test(t),$t=()=>{let t=new Error().stack;console.log(t)},jt=(1+Math.sqrt(5))/2-1,V=96,Jt=(t,e=V)=>t/25.4*e,h=(t,e,n,i=!0)=>i?t>=e&&t<=n:t>e&&t<n,Vt=(t,e)=>Math.floor(Math.random()*(e+1-t))+t,Xt=(t,e=2)=>{let n=Math.pow(10,e);return Math.round(t*n)/n},Zt=(...t)=>{let e=0;return t.forEach(n=>{if(typeof n=="number"&&!isNaN(n)){const i=n.toString().split(".")[1];i&&(e=Math.max(e,i.length))}}),e},Qt=t=>(t=Math.abs(Number(t)),t===0?1:Math.floor(Math.log10(t))+1),te=t=>{b(t).style.display="none"},ee=t=>{b(t).style.display=""},ne=t=>{let e=b(t);return e&&e.parentNode&&e.parentNode.removeChild(e)},O="disabled",X=(t,e="")=>D(t,e,!1),Z=(t,e="")=>D(t,e,!0),D=(t,e="",n=null)=>{let i=b(t),a=n===null?!i.classList.contains(O):!n;a&&tt(`.${O} {pointer-event:none !important;}`,"__element_lock_style__"),i.classList.toggle(O,a),i[a?"setAttribute":"removeAttribute"]("disabled","disabled"),i[a?"setAttribute":"removeAttribute"]("data-disabled","disabled"),e&&i.classList.toggle(e,a)},ie=(t,e)=>{X(t),e(()=>{Z(t)})},ae=t=>t.parentNode?Array.prototype.indexOf.call(t.parentNode.children,t):-1,R=(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(...R(i))}),n}else return NodeList.prototype.isPrototypeOf(t)||HTMLCollection.prototype.isPrototypeOf(t)?Array.from(t):t instanceof HTMLElement?[t]:t},b=(t,e=document)=>typeof t=="string"?e.querySelector(t):t,oe=t=>{let e=document.getElementsByTagName("*"),n=[];for(n=[];t&&t.nodeType===1;t=t.parentNode)if(t.hasAttribute("id")){let i=0;for(let a=0;a<e.length&&(e[a].hasAttribute("id")&&e[a].id===t.id&&i++,!(i>1));a++);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,a;for(i=1,a=t.previousSibling;a;a=a.previousSibling)a.localName===t.localName&&i++;n.unshift(t.localName.toLowerCase()+"["+i+"]")}return n.length?"/"+n.join("/"):null},re=(t,e,n=!0)=>{const i="ON_DOM_TREE_CHANGE_BIND_"+j();let a=()=>{R(`input:not([${i}]), textarea:not([${i}]), select:not([${i}])`,t).forEach(s=>{s.setAttribute(i,"1"),s.addEventListener("change",e)})};Q(t,{attributes:!0,subtree:!0,childList:!0},()=>{n&&a(),e()},10),n&&a()},Q=(t,e,n,i=10)=>{let a=0,s=!1,u=new MutationObserver(()=>{if(s)return;let r=i-(Date.now()-a);r>0?(s=!0,setTimeout(()=>{s=!1,a=Date.now(),n(u)},r)):(a=Date.now(),n(u))});u.observe(t,e)},le=(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},ce=(t,e)=>t.left<=e.left?t.left+t.width>=e.left&&(h(e.top,t.top,t.top+t.height)||h(e.top+e.height,t.top,t.top+t.height)||e.top>=t.top&&e.height>=t.height):e.left+e.width>=t.left&&(h(t.top,e.top,e.top+e.height)||h(t.top+t.height,e.top,e.top+e.height)||t.top>=e.top&&t.height>=e.height),se=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 E={};const pe=(t,e=!1)=>(!e&&t in E||(E[t]=new Promise((n,i)=>{let a=document.createElement("link");a.rel="stylesheet",a.href=t,a.onload=()=>{n()},a.onerror=()=>{i()},document.head.append(a)})),E[t]),ue=(t,e=!1)=>(!e&&t in E||(E[t]=new Promise((n,i)=>{let a=document.createElement("script");a.src=t,a.onload=()=>{n()},a.onerror=()=>{i()},document.head.append(a)})),E[t]),de=t=>{let e=t.style.visibility,n=t.style.display,i,a;return t.style.visibility="hidden",t.style.display="block",i=t.clientWidth,a=t.clientHeight,t.style.visibility=e,t.style.display=n,{width:i,height:a}},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},me=(t,e)=>h(t.top,e.top,e.top+e.height)&&h(t.left,e.left,e.left+e.width)&&h(t.top+t.height,e.top,e.top+e.height)&&h(t.left+t.width,e.left,e.left+e.width),fe=t=>Math.pow(10,-t),ge=(t,e)=>{try{return new URL(t,e).href}catch{return t}},he=(t,e=null)=>{let n=document.createElement("template");t=t.trim(),n.innerHTML=t;let i=[];return e?n.content.childNodes.forEach(a=>{i.push(e.appendChild(a))}):i=Array.from(n.content.childNodes),i.length===1?i[0]:i},et=(t,e=!1)=>{if(!t)throw new Error("el is null");const n=t.getBoundingClientRect();if(e&&!n.height){const i=t.style.visibility,a=t.style.display;t.style.visibility="hidden",t.style.display="block";const s=et(t);return t.style.visibility=i,t.style.display=a,s}return{top:n.top,left:n.left,right:n.right,bottom:n.bottom,width:n.width,height:n.height}},we=t=>{let e={};for(let n in t){const i=t[n];i!==void 0&&(e[`--${n}`]=`${i}`+(typeof i=="number"?"px":""))}return e},Ee=t=>t.replace(/[\\/:*?"<>|]/g,"_").replace(/[\0-\x1F]/g,"_").replace(/\s+/g," ").replace(/^\.+/,"").replace(/\.+$/,"").trim(),I=t=>new Promise((e,n)=>{const i=new FileReader;i.onload=()=>e(i.result),i.onerror=a=>n(a),i.readAsDataURL(t)}),nt={},H=(t,e=null)=>e!==null?(nt[t]=e,null):nt[t]||null,Ae=async t=>{if(!t)return null;if(typeof t=="string"&&t.startsWith("data:"))return t;try{if(typeof t=="string"&&J(t)){const e=await fetch(t);if(!e.ok)throw new Error(`Fetch failed: ${e.status}`);const n=await e.blob();return await I(n)}return t instanceof Blob?await I(t):null}catch(e){return console.warn("file2Base64DataURL failed:",e),null}},Te=(t,e)=>{const n=document.createElement("a");n.href=t,n.download=e,document.body.appendChild(n),n.click(),document.body.removeChild(n)},L=["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"],ve=["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(...L),be=["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"],it=["STYLE","COMMENT","SELECT","OPTION","SCRIPT","TITLE","HEAD","BUTTON","META","LINK","PARAM","SOURCE"],ye=t=>(it.forEach(n=>{t=t.replace(new RegExp(n,"ig"),"")}),t=t.replace(/[\r|\n]/g,""),t=t.replace(/<(\w+)([^>]*)>/g,function(n,i,a){return L.includes(i.toUpperCase())?`
|
|
2
|
-
`:""}),t=t.replace(/<\/(\w+)([^>]*)>/g,function(n,i,a){return""}),t=t.replace(/<[^>]+>/g,""),[[/ /gi," "],[/</gi,"<"],[/>/gi,">"],[/"/gi,'"'],[/'/gi,"'"]].forEach(([n,i])=>{t=t.replace(n,i)}),t=t.replace(/&#(\d+);/,function(n,i){return String.fromCharCode(parseInt(i))}),t=t.replace(/&/gi,"&"),t=t.trim(),t),
|
|
3
|
-
`),
|
|
4
|
-
`,(""+t).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">").replace(/\r\n/g,e).replace(/[\r\n]/g,e)),Oe=(t,e)=>{let n=t.split("");return e=e||0,n.map(i=>`&#${e?"x"+i.charCodeAt(0).toString(16):i.charCodeAt(0)};`).join("")},De=(t,e,n='<span class="matched">%s</span>')=>e?t.replace(new RegExp(M(e),"ig"),i=>n.replace("%s",i)):t,Re=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},Ie=(t,e=!1)=>new Promise((n,i)=>{if(e){const s=H(t);if(s)return n(s)}let a=new XMLHttpRequest;a.open("GET",t,!0),a.responseType="blob",a.onload=function(){if(this.status===200){let s=this.response;W(s).then(u=>{e&&H(t,u),n(u)}).catch(u=>{i(u)})}},a.onerror=function(){i("Error:"+this.statusText)},a.onabort=function(){i("Request abort")},a.send()}),A=(t,e)=>{let n=(t&65535)+(e&65535);return(t>>16)+(e>>16)+(n>>16)<<16|n&65535},He=(t,e)=>t<<e|t>>>32-e,S=(t,e,n,i,a,s)=>A(He(A(A(e,t),A(i,s)),a),n),d=(t,e,n,i,a,s,u)=>S(e&n|~e&i,t,e,a,s,u),m=(t,e,n,i,a,s,u)=>S(e&i|n&~i,t,e,a,s,u),f=(t,e,n,i,a,s,u)=>S(e^n^i,t,e,a,s,u),g=(t,e,n,i,a,s,u)=>S(n^(e|~i),t,e,a,s,u),_=(t,e)=>{t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;let n,i,a,s,u,r=1732584193,c=-271733879,l=-1732584194,p=271733878;for(n=0;n<t.length;n+=16)i=r,a=c,s=l,u=p,r=d(r,c,l,p,t[n],7,-680876936),p=d(p,r,c,l,t[n+1],12,-389564586),l=d(l,p,r,c,t[n+2],17,606105819),c=d(c,l,p,r,t[n+3],22,-1044525330),r=d(r,c,l,p,t[n+4],7,-176418897),p=d(p,r,c,l,t[n+5],12,1200080426),l=d(l,p,r,c,t[n+6],17,-1473231341),c=d(c,l,p,r,t[n+7],22,-45705983),r=d(r,c,l,p,t[n+8],7,1770035416),p=d(p,r,c,l,t[n+9],12,-1958414417),l=d(l,p,r,c,t[n+10],17,-42063),c=d(c,l,p,r,t[n+11],22,-1990404162),r=d(r,c,l,p,t[n+12],7,1804603682),p=d(p,r,c,l,t[n+13],12,-40341101),l=d(l,p,r,c,t[n+14],17,-1502002290),c=d(c,l,p,r,t[n+15],22,1236535329),r=m(r,c,l,p,t[n+1],5,-165796510),p=m(p,r,c,l,t[n+6],9,-1069501632),l=m(l,p,r,c,t[n+11],14,643717713),c=m(c,l,p,r,t[n],20,-373897302),r=m(r,c,l,p,t[n+5],5,-701558691),p=m(p,r,c,l,t[n+10],9,38016083),l=m(l,p,r,c,t[n+15],14,-660478335),c=m(c,l,p,r,t[n+4],20,-405537848),r=m(r,c,l,p,t[n+9],5,568446438),p=m(p,r,c,l,t[n+14],9,-1019803690),l=m(l,p,r,c,t[n+3],14,-187363961),c=m(c,l,p,r,t[n+8],20,1163531501),r=m(r,c,l,p,t[n+13],5,-1444681467),p=m(p,r,c,l,t[n+2],9,-51403784),l=m(l,p,r,c,t[n+7],14,1735328473),c=m(c,l,p,r,t[n+12],20,-1926607734),r=f(r,c,l,p,t[n+5],4,-378558),p=f(p,r,c,l,t[n+8],11,-2022574463),l=f(l,p,r,c,t[n+11],16,1839030562),c=f(c,l,p,r,t[n+14],23,-35309556),r=f(r,c,l,p,t[n+1],4,-1530992060),p=f(p,r,c,l,t[n+4],11,1272893353),l=f(l,p,r,c,t[n+7],16,-155497632),c=f(c,l,p,r,t[n+10],23,-1094730640),r=f(r,c,l,p,t[n+13],4,681279174),p=f(p,r,c,l,t[n],11,-358537222),l=f(l,p,r,c,t[n+3],16,-722521979),c=f(c,l,p,r,t[n+6],23,76029189),r=f(r,c,l,p,t[n+9],4,-640364487),p=f(p,r,c,l,t[n+12],11,-421815835),l=f(l,p,r,c,t[n+15],16,530742520),c=f(c,l,p,r,t[n+2],23,-995338651),r=g(r,c,l,p,t[n],6,-198630844),p=g(p,r,c,l,t[n+7],10,1126891415),l=g(l,p,r,c,t[n+14],15,-1416354905),c=g(c,l,p,r,t[n+5],21,-57434055),r=g(r,c,l,p,t[n+12],6,1700485571),p=g(p,r,c,l,t[n+3],10,-1894986606),l=g(l,p,r,c,t[n+10],15,-1051523),c=g(c,l,p,r,t[n+1],21,-2054922799),r=g(r,c,l,p,t[n+8],6,1873313359),p=g(p,r,c,l,t[n+15],10,-30611744),l=g(l,p,r,c,t[n+6],15,-1560198380),c=g(c,l,p,r,t[n+13],21,1309151649),r=g(r,c,l,p,t[n+4],6,-145523070),p=g(p,r,c,l,t[n+11],10,-1120210379),l=g(l,p,r,c,t[n+2],15,718787259),c=g(c,l,p,r,t[n+9],21,-343485551),r=A(r,i),c=A(c,a),l=A(l,s),p=A(p,u);return[r,c,l,p]},at=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},F=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},Le=t=>at(_(F(t),t.length*8)),ke=(t,e)=>{let n,i=F(t),a=[],s=[],u;for(a[15]=s[15]=void 0,i.length>16&&(i=_(i,t.length*8)),n=0;n<16;n+=1)a[n]=i[n]^909522486,s[n]=i[n]^1549556828;return u=_(a.concat(F(e)),512+e.length*8),at(_(s.concat(u),640))},ot=t=>{let e="0123456789abcdef",n="",i,a;for(a=0;a<t.length;a+=1)i=t.charCodeAt(a),n+=e.charAt(i>>>4&15)+e.charAt(i&15);return n},Y=t=>unescape(encodeURIComponent(t)),rt=t=>Le(Y(t)),Fe=t=>ot(rt(t)),lt=(t,e)=>ke(Y(t),Y(e)),Ye=(t,e)=>ot(lt(t,e)),Ue=(t,e,n)=>e?n?lt(e,t):Ye(e,t):n?rt(t):Fe(t),Be="application/octet-stream",Pe={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"};function U(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=>U(e));if(t instanceof Object){const e={};for(const n in t)t.hasOwnProperty(n)&&(e[n]=U(t[n]));return e}return t}function qe(t){return Object.keys(t).length===0}const Ge=(t,e)=>{let n={};for(let i in t)e[i]!==void 0?n[e[i]]=t[i]:n[i]=t[i];return n};function We(t,e,n){const i=e.split(".");let a=t;for(const s of i){if(a==null)return n;a=a[s]}return a!==void 0?a:n}function ze(t,e,n){const i=e.split("."),a=i.pop();let s=t;for(const u of i)(!(u in s)||typeof s[u]!="object")&&(s[u]={}),s=s[u];s[a]=n}function ct(t,...e){for(const n of e)for(const i in n)if(n.hasOwnProperty(i)){const a=n[i],s=t[i];a&&typeof a=="object"&&!Array.isArray(a)&&s&&typeof s=="object"&&!Array.isArray(s)?t[i]=ct(s,a):t[i]=a}return t}const st=(t,e=!1)=>{for(const n in t)t[n]===null?delete t[n]:e&&typeof t[n]=="object"&&st(t[n],!0);return t},Ke=new Date().getFullYear(),$e=new Date().getMonth()+1,je=new Date().getDate(),Je=60*1e3,Ve=60*60*1e3,T=24*60*60*1e3,Xe=7*T,Ze=30*T,Qe=31*T,tn=365*T,en=366*T,nn=0,an=1,on=2,rn=3,ln=4,cn=5,sn=6,pn=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],un=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dn=["January","February","March","April","May","June","July","August","September","October","November","December"],mn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fn=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],gn=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],hn=["日","一","二","三","四","五","六"],wn=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],En=(t,e,n)=>{let i=()=>{if(e&&e(t),t-- >0){setTimeout(i,1e3);return}n&&n()};i()},An=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 a="";return e>0&&(a+=e+"小时"),(n>0||e>0)&&(a+=n+"分钟"),a+=i+"秒前",a},pt={d:t=>{let e=t.getDate();return(e<10?"0":"")+e},D:t=>un[t.getDay()],j:t=>t.getDate(),l:t=>pn[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 a=1+Math.ceil((i-e.getTime())/6048e5);return a<10?"0"+a:a},F:t=>dn[t.getMonth()],m:t=>{let e=t.getMonth();return(e<9?"0":"")+(e+1)},M:t=>mn[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 a=new Date(t.getFullYear(),n,1).getTimezoneOffset();if(e===null)e=a;else if(a<e){e=a;break}else if(a>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=>ut("Y-m-d\\TH:i:sP",t),r:t=>t.toString(),U:t=>Math.floor(t.getTime()/1e3)},ut=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,a,s){return a===""&&pt[s]?String(pt[s](n)):s})};o.BLOCK_TAGS=L,o.Base64Encode=Rt,o.DATE_NOW=je,o.DAY_FRIDAY=cn,o.DAY_MONDAY=an,o.DAY_SATURDAY=sn,o.DAY_SUNDAY=nn,o.DAY_THURSDAY=ln,o.DAY_TUESDAY=on,o.DAY_WEDNESDAY=rn,o.GOLDEN_RATIO=jt,o.MIME_BINARY_DEFAULT=Be,o.MIME_EXTENSION_MAP=Pe,o.MONTH_NAMES_CN=fn,o.MONTH_NAMES_SHORT_CN=gn,o.MONTH_NOW=$e,o.ONE_DAY=T,o.ONE_HOUR=Ve,o.ONE_MINUTE=Je,o.ONE_MONTH30=Ze,o.ONE_MONTH31=Qe,o.ONE_WEEK=Xe,o.ONE_YEAR365=tn,o.ONE_YEAR366=en,o.PAIR_TAGS=ve,o.REMOVABLE_TAGS=it,o.SELF_CLOSING_TAGS=be,o.STAND_DPI=V,o.TRIM_BOTH=N,o.TRIM_LEFT=C,o.TRIM_RIGHT=G,o.WEEK_DAY_NAMES_CN=wn,o.WEEK_DAY_NAMES_SHORT_CN=hn,o.YEAR_NOW=Ke,o.arrayChunk=ht,o.arrayColumn=v,o.arrayDistinct=mt,o.arrayGroup=ft,o.arrayIndex=dt,o.arraySortByKey=gt,o.arrayTrimTail=wt,o.base64Decode=Ot,o.base64UrlSafeEncode=Dt,o.between=h,o.blobToBase64=W,o.blobToDataUri=I,o.buildHtmlHidden=xe,o.buildStyleVars=we,o.camelCase=vt,o.capitalize=B,o.cleanNull=st,o.countDown=En,o.createDomByHtml=he,o.cssSelectorEscape=Me,o.cutString=At,o.debounce=qt,o.decodeHTMLEntities=_e,o.deepClone=U,o.deleteCookie=Yt,o.detectLanguage=Lt,o.detectedPrecision=Zt,o.digitCount=Qt,o.disabled=X,o.downloadFile=Te,o.enabled=Z,o.enterFullScreen=z,o.entityToString=Se,o.escapeAttr=k,o.escapeHtml=Ne,o.exitFullScreen=K,o.extract=Tt,o.fileToBase64DataUri=Ae,o.findAll=R,o.findOne=b,o.fixBaseUrl=ge,o.formatDate=ut,o.getBoundingClientRect=et,o.getCookie=Ft,o.getDomDimension=de,o.getNodeXPath=oe,o.getUTF8StrLen=St,o.guid=j,o.hide=te,o.highlightText=De,o.html2Text=ye,o.imgToBase64=Re,o.insertStyleSheet=tt,o.isEmptyObject=qe,o.isFocusable=se,o.isFunction=Kt,o.isInFullScreen=$,o.isJSON=Mt,o.isJson=Wt,o.isObject=zt,o.isPromise=Gt,o.isUrl=J,o.kebabCase=bt,o.keepRectInContainer=le,o.loadCss=pe,o.loadScript=ue,o.lockElementInteraction=ie,o.md5=Ue,o.mmToPx=Jt,o.msToHMS=An,o.mutationEffective=Q,o.nodeIndex=ae,o.objectGet=We,o.objectKeyMapping=Ge,o.objectMerge=ct,o.objectSet=ze,o.onDomTreeChange=re,o.precisionToStep=fe,o.printStack=$t,o.randomInt=Vt,o.randomString=q,o.randomWords=xt,o.rectAssoc=ce,o.rectInLayout=me,o.regQuote=M,o.remove=ne,o.round=Xt,o.sanitizeFileName=Ee,o.setCookie=kt,o.show=ee,o.srcToBase64=Ie,o.strToPascalCase=Nt,o.stringToEntity=Oe,o.stripSlashes=Et,o.throttle=Bt,o.throttleEffect=Pt,o.toggleDisabled=D,o.toggleFullScreen=Ht,o.trim=Ct,o.truncate=yt,o.unescapeHtml=Ce,o.urlB64DataCache=H,o.utf8Decode=P,o.utf8Encode=x,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(o,M){typeof exports=="object"&&typeof module<"u"?M(exports):typeof define=="function"&&define.amd?define(["exports"],M):(o=typeof globalThis<"u"?globalThis:o||self,M(o.Minutool={}))})(this,function(o){"use strict";const M=(t,e)=>{let n=[];for(let i in t)n.push(t[i][e]);return n},bt=(t,e)=>{for(let n in t)if(t[n]===e)return n;return null},yt=t=>{let e=new Map;return t.filter(n=>{if(!e.has(n))return e.set(n,!0),!0})},Mt=(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 a={};for(let r in i)a[r]=i[r][0];return a},vt=t=>Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}),St=(t,e)=>{let n=t.length;if(e<1||!n)return[];if(e>n)return[t];let i=[],a=Math.floor(n/e),r=n%e;for(let u=1;u<=a;u++)i.push(t.splice(0,e));return r&&i.push(t.splice(0,r)),i},_t=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)};function z(t){return t&&t.charAt(0).toUpperCase()+t.slice(1)}const Ct=t=>(t+"").replace(/\\(.?)/g,function(e,n){switch(n){case"\\":return"\\";case"0":return"\0";case"":return"";default:return n}}),Nt=(t,e,n="...")=>{let i=/[^\x00-\xff]/g;if(t.replace(i,"mm").length<=e)return t;let a=Math.floor(e/2);for(let r=a;r<t.length;r++)if(t.substr(0,r).replace(i,"mm").length>=e)return t.substr(0,r)+n;return t},Ot=(t,e)=>{const n=Object.keys(e),i=Object.values(e);return new Function(...n,`return \`${t}\`;`)(...i)};function xt(t){return t.replace(/[-_](.)/g,(e,n)=>n.toUpperCase())}function Dt(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()}function Rt(t,e,n="..."){return t.length<=e?t:t.slice(0,e)+n}const _=t=>(t+"").replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!\<\>\|\:])/g,"\\$1"),K=t=>{let e="",n=0,i=0,a=0,r=0;for(;n<t.length;)i=t.charCodeAt(n),i<128?(e+=String.fromCharCode(i),n++):i>191&&i<224?(a=t.charCodeAt(n+1),e+=String.fromCharCode((i&31)<<6|a&63),n+=2):(a=t.charCodeAt(n+1),r=t.charCodeAt(n+2),e+=String.fromCharCode((i&15)<<12|(a&63)<<6|r&63),n+=3);return e},x=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},It=t=>{let e=0,n=t.length,i=-1;for(let a=0;a<n;a++)i=t.charCodeAt(a),i>=0&&i<=128?e+=1:e+=3;return e},Ht="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890",$=(t=6,e=Ht)=>{let n="";for(let i=0;i<t;i++){let a=Math.round(Math.random()*(e.length-1));n+=e.substring(a,a+1)}return n},Lt=(t=1,e=8)=>{let n=[];const i="bcdfghjklmnpqrstvwxyz",a="aeiou";for(;t-- >0;){let r="";for(let u=0;u<e;u=u+3)r+=i[Math.floor(Math.random()*i.length)],r+=a[Math.floor(Math.random()*a.length)],r+=i[Math.floor(Math.random()*i.length)];n.push(r)}return n},kt=(t,e=!1)=>{let n=[];return t.replace(/[-_\s+]/g," ").split(" ").forEach((i,a)=>{n.push(a===0&&!e?i:z(i))}),n.join("")},D=0,R=1,J=2,Ft=(t,e="",n=D)=>{if(e.length){let i=new RegExp("^["+_(e)+"]+"),a=new RegExp("["+_(e)+"]+$");return n===R?t.replace(i,""):n===J?t.replace(a,""):t.replace(i,"").replace(a,"")}else return n===D?t.trim():n===R?t.trimStart():t.trimEnd()},Pt=(t,e)=>{let n=[];for(let i=0;i<t.length;i+=e)n.push(t.slice(i,i+e));return n},T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Ut=t=>{let e="",n,i,a,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,a=(l&3)<<6|s,e=e+String.fromCharCode(n),l!==64&&(e=e+String.fromCharCode(i)),s!==64&&(e=e+String.fromCharCode(a));return e=K(e),e},Bt=t=>x(t).replace("+","-").replace("/","_"),Yt=t=>{let e="",n,i,a,r,u,l,s,c=0;for(t=x(t);c<t.length;)n=t.charCodeAt(c++),i=t.charCodeAt(c++),a=t.charCodeAt(c++),r=n>>2,u=(n&3)<<4|i>>4,l=(i&15)<<2|a>>6,s=a&63,isNaN(i)?l=s=64:isNaN(a)&&(s=64),e=e+T.charAt(r)+T.charAt(u)+T.charAt(l)+T.charAt(s);return e},V=async t=>await qt(t),qt=t=>new Promise((e,n)=>{const i=new FileReader;i.readAsDataURL(t),i.onload=()=>e(i.result),i.onerror=a=>n(a)}),Q=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"},X=()=>document.exitFullscreen(),jt=t=>new Promise((e,n)=>{Z()?X().then(e).catch(n):Q(t).then(e).catch(n)}),Z=()=>!!document.fullscreenElement,Gt=t=>{const e=navigator.language||navigator.userLanguage;if(t.includes(e))return e;const n=e.split("-")[0],i=t.find(a=>a.startsWith(n));return i||t[0]},Wt=()=>navigator.userAgent.toLowerCase().indexOf("firefox")>-1,zt=(t,e,n,i="/")=>{let a="";if(n){let r=new Date;r.setTime(Date.now()+n*24*60*60*1e3),a="; expires="+r.toUTCString()}document.cookie=t+"="+(e||"")+a+"; path="+i},Kt=t=>{let e=t+"=",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(e)===0)return a.substring(e.length,a.length)}return null},$t=t=>{document.cookie=t+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"};let Jt=0;const tt=(t="")=>"guid_"+(t||$(6))+ ++Jt,Vt=(t,e)=>{let n,i,a=0;return function(){let r=+new Date;n=this,i=arguments,r-a>e&&(t.apply(n,i),a=r)}},Qt=(t,e)=>{let n,i,a=0,r=!1;return function(){if(r)return;let u=+new Date;n=this,i=arguments;let l=e-(u-a);l<=0?(t.apply(n,i),a=u):(r=!0,setTimeout(()=>{t.apply(n,i),r=!1,a=u},l))}},Xt=(t,e)=>{let n;return function(){let i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){t.apply(i,a)},e)}},Zt=t=>t&&typeof t=="object"&&t.then&&typeof t.then=="function",te=t=>{let e=!1;try{JSON.parse(t),e=!0}catch{}return e},ee=t=>t&&typeof t=="object"&&!Array.isArray(t),ne=t=>t?Object.prototype.toString.call(t)==="[object Function]"||typeof t=="function"||t instanceof Function:!1,et=t=>typeof t!="string"||t.trim()===""?!1:/^(https?:\/\/|\/\/|\/|\.\.?\/*)/i.test(t),ie=t=>{let e=!1;try{JSON.parse(t),e=!0}catch{}return e},ae=()=>{let t=new Error().stack;console.log(t)},oe=(1+Math.sqrt(5))/2-1,I=96,re=(t,e=I)=>t/25.4*e,le=t=>Math.round(t*56.6929),ce=t=>t*2.83464566929,se=t=>t/2.83464566929,pe=(t,e=I)=>25.4*t/e,ue=(t,e,n)=>Math.min(Math.max(t,e),n),g=(t,e,n,i=!0)=>i?t>=e&&t<=n:t>e&&t<n,de=(t,e)=>Math.floor(Math.random()*(e+1-t))+t,fe=(t,e=2)=>{let n=Math.pow(10,e);return Math.round(t*n)/n},me=(...t)=>{let e=0;return t.forEach(n=>{if(typeof n=="number"&&!isNaN(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),ge=t=>{A(t).style.display="none"},Te=t=>{A(t).style.display=""},we=t=>{let e=A(t);return e&&e.parentNode&&e.parentNode.removeChild(e)},H="disabled",nt=(t,e="")=>L(t,e,!1),it=(t,e="")=>L(t,e,!0),L=(t,e="",n=null)=>{let i=A(t),a=n===null?!i.classList.contains(H):!n;a&&ot(`.${H} {pointer-event:none !important;}`,"__element_lock_style__"),i.classList.toggle(H,a),i[a?"setAttribute":"removeAttribute"]("disabled","disabled"),i[a?"setAttribute":"removeAttribute"]("data-disabled","disabled"),e&&i.classList.toggle(e,a)},Ee=(t,e,n)=>{t=A(t);let i=!1;t.addEventListener("mouseenter",()=>{i||(i=!0,e&&e())}),t.addEventListener("mouseleave",()=>{i&&(i=!1,n&&n())})},Ae=(t,e)=>{nt(t),e(()=>{it(t)})},be=t=>t.parentNode?Array.prototype.indexOf.call(t.parentNode.children,t):-1,k=(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(...k(i))}),n}else return NodeList.prototype.isPrototypeOf(t)||HTMLCollection.prototype.isPrototypeOf(t)?Array.from(t):t instanceof HTMLElement?[t]:t},A=(t,e=document)=>typeof t=="string"?e.querySelector(t):t,ye=t=>{let e=document.getElementsByTagName("*"),n=[];for(n=[];t&&t.nodeType===1;t=t.parentNode)if(t.hasAttribute("id")){let i=0;for(let a=0;a<e.length&&(e[a].hasAttribute("id")&&e[a].id===t.id&&i++,!(i>1));a++);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,a;for(i=1,a=t.previousSibling;a;a=a.previousSibling)a.localName===t.localName&&i++;n.unshift(t.localName.toLowerCase()+"["+i+"]")}return n.length?"/"+n.join("/"):null},Me=(t,e,n=!0)=>{const i="ON_DOM_TREE_CHANGE_BIND_"+tt();let a=()=>{k(`input:not([${i}]), textarea:not([${i}]), select:not([${i}])`,t).forEach(r=>{r.setAttribute(i,"1"),r.addEventListener("change",e)})};at(t,{attributes:!0,subtree:!0,childList:!0},()=>{n&&a(),e()},10),n&&a()},at=(t,e,n,i=10)=>{let a=0,r=!1,u=new MutationObserver(()=>{if(r)return;let l=i-(Date.now()-a);l>0?(r=!0,setTimeout(()=>{r=!1,a=Date.now(),n(u)},l)):(a=Date.now(),n(u))});u.observe(t,e)},ve=(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},Se=(t,e)=>t.left<=e.left?t.left+t.width>=e.left&&(g(e.top,t.top,t.top+t.height)||g(e.top+e.height,t.top,t.top+t.height)||e.top>=t.top&&e.height>=t.height):e.left+e.width>=t.left&&(g(t.top,e.top,e.top+e.height)||g(t.top+t.height,e.top,e.top+e.height)||t.top>=e.top&&t.height>=e.height),_e=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 w={};const Ce=(t,e=!1)=>(!e&&t in w||(w[t]=new Promise((n,i)=>{let a=document.createElement("link");a.rel="stylesheet",a.href=t,a.onload=()=>{n()},a.onerror=()=>{i()},document.head.append(a)})),w[t]),Ne=(t,e=!1)=>(!e&&t in w||(w[t]=new Promise((n,i)=>{let a=document.createElement("script");a.src=t,a.onload=()=>{n()},a.onerror=()=>{i()},document.head.append(a)})),w[t]),Oe=t=>{let e=t.style.visibility,n=t.style.display,i,a;return t.style.visibility="hidden",t.style.display="block",i=t.clientWidth,a=t.clientHeight,t.style.visibility=e,t.style.display=n,{width:i,height:a}},ot=(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},xe=(t,e)=>g(t.top,e.top,e.top+e.height)&&g(t.left,e.left,e.left+e.width)&&g(t.top+t.height,e.top,e.top+e.height)&&g(t.left+t.width,e.left,e.left+e.width),De=t=>Math.pow(10,-t),Re=(t,e)=>{try{return new URL(t,e).href}catch{return t}},Ie=(t,e=null)=>{let n=document.createElement("template");t=t.trim(),n.innerHTML=t;let i=[];return e?n.content.childNodes.forEach(a=>{i.push(e.appendChild(a))}):i=Array.from(n.content.childNodes),i.length===1?i[0]:i},rt=(t,e=!1)=>{if(!t)throw new Error("el is null");const n=t.getBoundingClientRect();if(e&&!n.height){const i=t.style.visibility,a=t.style.display;t.style.visibility="hidden",t.style.display="block";const r=rt(t);return t.style.visibility=i,t.style.display=a,r}return{top:n.top,left:n.left,right:n.right,bottom:n.bottom,width:n.width,height:n.height}},He=t=>{let e={};for(let n in t){const i=t[n];i!==void 0&&(e[`--${n}`]=`${i}`+(typeof i=="number"?"px":""))}return e},Le=t=>t.replace(/[\\/:*?"<>|]/g,"_").replace(/[\0-\x1F]/g,"_").replace(/\s+/g," ").replace(/^\.+/,"").replace(/\.+$/,"").trim(),F=t=>new Promise((e,n)=>{const i=new FileReader;i.onload=()=>e(i.result),i.onerror=a=>n(a),i.readAsDataURL(t)}),lt={},P=(t,e=null)=>e!==null?(lt[t]=e,null):lt[t]||null,ke=async t=>{if(!t)return null;if(typeof t=="string"&&t.startsWith("data:"))return t;try{if(typeof t=="string"&&et(t)){const e=await fetch(t);if(!e.ok)throw new Error(`Fetch failed: ${e.status}`);const n=await e.blob();return await F(n)}return t instanceof Blob?await F(t):null}catch(e){return console.warn("file2Base64DataURL failed:",e),null}},Fe=(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)},U=["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"],Pe=["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(...U),Ue=["AREA","BASE","BR","COL","EMBED","HR","IMG","INPUT","LINK","META","PARAM","SOURCE","TRACK","WBR"],ct=["STYLE","COMMENT","SELECT","OPTION","SCRIPT","TITLE","HEAD","BUTTON","META","LINK","PARAM","SOURCE"],Be=t=>(ct.forEach(n=>{t=t.replace(new RegExp(n,"ig"),"")}),t=t.replace(/[\r|\n]/g,""),t=t.replace(/<(\w+)([^>]*)>/g,function(n,i,a){return U.includes(i.toUpperCase())?`
|
|
2
|
+
`:""}),t=t.replace(/<\/(\w+)([^>]*)>/g,function(n,i,a){return""}),t=t.replace(/<[^>]+>/g,""),[[/ /gi," "],[/</gi,"<"],[/>/gi,">"],[/"/gi,'"'],[/'/gi,"'"]].forEach(([n,i])=>{t=t.replace(n,i)}),t=t.replace(/&#(\d+);/,function(n,i){return String.fromCharCode(parseInt(i))}),t=t.replace(/&/gi,"&"),t=t.trim(),t),Ye=t=>window.CSS&&CSS.escape?CSS.escape(t):t.replace(/[!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~]/g,"\\$&"),qe=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 v;const je=t=>(v||(v=document.createElement("div")),t=t.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),t=t.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,""),v.innerHTML=t,t=v.textContent||"",v.textContent="",t),Ge=t=>{let e="";for(let n in t){let i=t[n]===null?"":t[n];e+=`<input type="hidden" name="${B(n)}" value="${B(i)}"/>`}return e},We=(t,e=2,n=!0)=>{let i=String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'");return n&&(i=i.replace(/[\r\n]/g,"<br/>")),e&&(i=i.replace(/\t/g," ".repeat(e))),i=i.replace(/\s/g," "),i},ze=t=>String(t).replace(/"/g,'"').replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">").replace(/ /g," ").replace(/&/g,"&").replace(/<br.*>/,`
|
|
3
|
+
`),B=(t,e="")=>(e=e?" ":`
|
|
4
|
+
`,(""+t).replace(/&/g,"&").replace(/'/g,"'").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">").replace(/\r\n/g,e).replace(/[\r\n]/g,e)),Ke=(t,e)=>{let n=t.split("");return e=e||0,n.map(i=>`&#${e?"x"+i.charCodeAt(0).toString(16):i.charCodeAt(0)};`).join("")},$e=(t,e,n='<span class="matched">%s</span>')=>e?t.replace(new RegExp(_(e),"ig"),i=>n.replace("%s",i)):t,Je=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},Ve=(t,e=!1)=>new Promise((n,i)=>{if(e){const r=P(t);if(r)return n(r)}let a=new XMLHttpRequest;a.open("GET",t,!0),a.responseType="blob",a.onload=function(){if(this.status===200){let r=this.response;V(r).then(u=>{e&&P(t,u),n(u)}).catch(u=>{i(u)})}},a.onerror=function(){i("Error:"+this.statusText)},a.onabort=function(){i("Request abort")},a.send()}),E=(t,e)=>{let n=(t&65535)+(e&65535);return(t>>16)+(e>>16)+(n>>16)<<16|n&65535},Qe=(t,e)=>t<<e|t>>>32-e,C=(t,e,n,i,a,r)=>E(Qe(E(E(e,t),E(i,r)),a),n),d=(t,e,n,i,a,r,u)=>C(e&n|~e&i,t,e,a,r,u),f=(t,e,n,i,a,r,u)=>C(e&i|n&~i,t,e,a,r,u),m=(t,e,n,i,a,r,u)=>C(e^n^i,t,e,a,r,u),h=(t,e,n,i,a,r,u)=>C(n^(e|~i),t,e,a,r,u),N=(t,e)=>{t[e>>5]|=128<<e%32,t[(e+64>>>9<<4)+14]=e;let n,i,a,r,u,l=1732584193,s=-271733879,c=-1732584194,p=271733878;for(n=0;n<t.length;n+=16)i=l,a=s,r=c,u=p,l=d(l,s,c,p,t[n],7,-680876936),p=d(p,l,s,c,t[n+1],12,-389564586),c=d(c,p,l,s,t[n+2],17,606105819),s=d(s,c,p,l,t[n+3],22,-1044525330),l=d(l,s,c,p,t[n+4],7,-176418897),p=d(p,l,s,c,t[n+5],12,1200080426),c=d(c,p,l,s,t[n+6],17,-1473231341),s=d(s,c,p,l,t[n+7],22,-45705983),l=d(l,s,c,p,t[n+8],7,1770035416),p=d(p,l,s,c,t[n+9],12,-1958414417),c=d(c,p,l,s,t[n+10],17,-42063),s=d(s,c,p,l,t[n+11],22,-1990404162),l=d(l,s,c,p,t[n+12],7,1804603682),p=d(p,l,s,c,t[n+13],12,-40341101),c=d(c,p,l,s,t[n+14],17,-1502002290),s=d(s,c,p,l,t[n+15],22,1236535329),l=f(l,s,c,p,t[n+1],5,-165796510),p=f(p,l,s,c,t[n+6],9,-1069501632),c=f(c,p,l,s,t[n+11],14,643717713),s=f(s,c,p,l,t[n],20,-373897302),l=f(l,s,c,p,t[n+5],5,-701558691),p=f(p,l,s,c,t[n+10],9,38016083),c=f(c,p,l,s,t[n+15],14,-660478335),s=f(s,c,p,l,t[n+4],20,-405537848),l=f(l,s,c,p,t[n+9],5,568446438),p=f(p,l,s,c,t[n+14],9,-1019803690),c=f(c,p,l,s,t[n+3],14,-187363961),s=f(s,c,p,l,t[n+8],20,1163531501),l=f(l,s,c,p,t[n+13],5,-1444681467),p=f(p,l,s,c,t[n+2],9,-51403784),c=f(c,p,l,s,t[n+7],14,1735328473),s=f(s,c,p,l,t[n+12],20,-1926607734),l=m(l,s,c,p,t[n+5],4,-378558),p=m(p,l,s,c,t[n+8],11,-2022574463),c=m(c,p,l,s,t[n+11],16,1839030562),s=m(s,c,p,l,t[n+14],23,-35309556),l=m(l,s,c,p,t[n+1],4,-1530992060),p=m(p,l,s,c,t[n+4],11,1272893353),c=m(c,p,l,s,t[n+7],16,-155497632),s=m(s,c,p,l,t[n+10],23,-1094730640),l=m(l,s,c,p,t[n+13],4,681279174),p=m(p,l,s,c,t[n],11,-358537222),c=m(c,p,l,s,t[n+3],16,-722521979),s=m(s,c,p,l,t[n+6],23,76029189),l=m(l,s,c,p,t[n+9],4,-640364487),p=m(p,l,s,c,t[n+12],11,-421815835),c=m(c,p,l,s,t[n+15],16,530742520),s=m(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=E(l,i),s=E(s,a),c=E(c,r),p=E(p,u);return[l,s,c,p]},st=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},Y=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},Xe=t=>st(N(Y(t),t.length*8)),Ze=(t,e)=>{let n,i=Y(t),a=[],r=[],u;for(a[15]=r[15]=void 0,i.length>16&&(i=N(i,t.length*8)),n=0;n<16;n+=1)a[n]=i[n]^909522486,r[n]=i[n]^1549556828;return u=N(a.concat(Y(e)),512+e.length*8),st(N(r.concat(u),640))},pt=t=>{let e="0123456789abcdef",n="",i,a;for(a=0;a<t.length;a+=1)i=t.charCodeAt(a),n+=e.charAt(i>>>4&15)+e.charAt(i&15);return n},q=t=>unescape(encodeURIComponent(t)),ut=t=>Xe(q(t)),tn=t=>pt(ut(t)),dt=(t,e)=>Ze(q(t),q(e)),en=(t,e)=>pt(dt(t,e)),nn=(t,e,n)=>e?n?dt(e,t):en(e,t):n?ut(t):tn(t),an="application/octet-stream",b="application/json",ft="application/x-www-form-urlencoded",mt="multipart/form-data",on="text/plain",rn="text/html",ln={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"},ht=t=>{const e={};return t.replace(/^\?/,"").split("&").forEach(n=>{const[i,a]=n.split("=");i&&(e[decodeURIComponent(i)]=decodeURIComponent(a||""))}),e},cn=(t,e)=>{const[n,i]=t.split("?"),r={...i?ht(i):{},...e},u=j(r);return`${n}?${u}`},j=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("&")},gt=(t,e={})=>{const n=new AbortController,{timeout:i,...a}=e;let r=null;i&&(r=setTimeout(()=>n.abort(),i));const u=()=>{r!==null&&(clearTimeout(r),r=null)},l=c=>{const p=c,Wn=p.then.bind(p),zn=p.catch.bind(p),Kn=p.finally.bind(p);return p.then=function(S,$n){return l(Wn(S,$n))},p.catch=function(S){return l(zn(S))},p.finally=function(S){return l(Kn(S))},p.abort=()=>{u(),n.abort()},p},s=fetch(t,{...a,signal:n.signal}).then(c=>(u(),c)).catch(c=>{throw u(),c});return l(s)},O=(t,e=null,n)=>{const{method:i="GET",headers:a={},ContentType:r,Accept:u,timeout:l}=n;return r&&(a["Content-Type"]=r),u&&(a.Accept=u),gt(t,{method:i,headers:a,body:sn(e,r),timeout:l}).then(s=>{if(!s.ok)throw new Error(`HTTP error! status: ${s.status}`);return s})},Tt=t=>typeof t=="string"||t instanceof FormData||t instanceof URLSearchParams||t instanceof Blob||t instanceof ArrayBuffer||ArrayBuffer.isView(t),sn=(t,e)=>{if(Tt(t)||typeof t!="object")return t;switch(e==null?void 0:e.toLowerCase()){case b:return JSON.stringify(t);case ft:case mt:default:return j(t)}},pn=(t,e=null,n={})=>O(t,e,{...n,ContentType:b,Accept:b}).then(i=>i.json()),un=(t,e=null,n={})=>O(t,e,{...n,method:"POST",ContentType:b,Accept:b}).then(i=>i.json()),dn=(t,e,n=null,i={})=>{const a=new FormData;if(Object.keys(e).forEach(r=>{a.append(r,e[r],e[r].name)}),n)for(let r in n)n.hasOwnProperty(r)&&a.append(r,n[r]);return O(t,a,{...i,method:"POST"}).then(r=>r.json())};function G(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=>G(e));if(t instanceof Object){const e={};for(const n in t)t.hasOwnProperty(n)&&(e[n]=G(t[n]));return e}return t}function fn(t){return Object.keys(t).length===0}const mn=(t,e)=>{let n={};for(let i in t)e[i]!==void 0?n[e[i]]=t[i]:n[i]=t[i];return n};function hn(t,e,n){const i=e.split(".");let a=t;for(const r of i){if(a==null)return n;a=a[r]}return a!==void 0?a:n}function gn(t,e,n){const i=e.split("."),a=i.pop();let r=t;for(const u of i)(!(u in r)||typeof r[u]!="object")&&(r[u]={}),r=r[u];r[a]=n}function wt(t,...e){for(const n of e)for(const i in n)if(n.hasOwnProperty(i)){const a=n[i],r=t[i];a&&typeof a=="object"&&!Array.isArray(a)&&r&&typeof r=="object"&&!Array.isArray(r)?t[i]=wt(r,a):t[i]=a}return t}const Et=(t,e=!1)=>{for(const n in t)t[n]===null?delete t[n]:e&&typeof t[n]=="object"&&Et(t[n],!0);return t},Tn=new Date().getFullYear(),wn=new Date().getMonth()+1,En=new Date().getDate(),An=60*1e3,bn=60*60*1e3,y=24*60*60*1e3,yn=7*y,Mn=30*y,vn=31*y,Sn=365*y,_n=366*y,Cn=0,Nn=1,On=2,xn=3,Dn=4,Rn=5,In=6,Hn=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],Ln=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],kn=["January","February","March","April","May","June","July","August","September","October","November","December"],Fn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Pn=["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],Un=["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],Bn=["日","一","二","三","四","五","六"],Yn=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],qn=(t,e,n)=>{let i=()=>{if(e&&e(t),t-- >0){setTimeout(i,1e3);return}n&&n()};i()},jn=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 a="";return e>0&&(a+=e+"小时"),(n>0||e>0)&&(a+=n+"分钟"),a+=i+"秒前",a},At={d:t=>{let e=t.getDate();return(e<10?"0":"")+e},D:t=>Ln[t.getDay()],j:t=>t.getDate(),l:t=>Hn[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 a=1+Math.ceil((i-e.getTime())/6048e5);return a<10?"0"+a:a},F:t=>kn[t.getMonth()],m:t=>{let e=t.getMonth();return(e<9?"0":"")+(e+1)},M:t=>Fn[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 a=new Date(t.getFullYear(),n,1).getTimezoneOffset();if(e===null)e=a;else if(a<e){e=a;break}else if(a>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=>W("Y-m-d\\TH:i:sP",t),r:t=>t.toString(),U:t=>Math.floor(t.getTime()/1e3)},W=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,a,r){return a===""&&At[r]?String(At[r](n)):r})},Gn=t=>W("W",t);o.BLOCK_TAGS=U,o.Base64Encode=Yt,o.DATE_NOW=En,o.DAY_FRIDAY=Rn,o.DAY_MONDAY=Nn,o.DAY_SATURDAY=In,o.DAY_SUNDAY=Cn,o.DAY_THURSDAY=Dn,o.DAY_TUESDAY=On,o.DAY_WEDNESDAY=xn,o.GOLDEN_RATIO=oe,o.MIME_BINARY_DEFAULT=an,o.MIME_EXTENSION_MAP=ln,o.MIME_FORM=ft,o.MIME_HTML=rn,o.MIME_JSON=b,o.MIME_MULTIPART=mt,o.MIME_TEXT=on,o.MONTH_NAMES_CN=Pn,o.MONTH_NAMES_SHORT_CN=Un,o.MONTH_NOW=wn,o.ONE_DAY=y,o.ONE_HOUR=bn,o.ONE_MINUTE=An,o.ONE_MONTH30=Mn,o.ONE_MONTH31=vn,o.ONE_WEEK=yn,o.ONE_YEAR365=Sn,o.ONE_YEAR366=_n,o.PAIR_TAGS=Pe,o.REMOVABLE_TAGS=ct,o.SELF_CLOSING_TAGS=Ue,o.STAND_DPI=I,o.TRIM_BOTH=D,o.TRIM_LEFT=R,o.TRIM_RIGHT=J,o.WEEK_DAY_NAMES_CN=Yn,o.WEEK_DAY_NAMES_SHORT_CN=Bn,o.YEAR_NOW=Tn,o.abortableFetch=gt,o.arrayChunk=St,o.arrayColumn=M,o.arrayDistinct=yt,o.arrayGroup=Mt,o.arrayIndex=bt,o.arraySortByKey=vt,o.arrayTrimTail=_t,o.base64Decode=Ut,o.base64UrlSafeEncode=Bt,o.between=g,o.blobToBase64=V,o.blobToDataUri=F,o.buildHtmlHidden=Ge,o.buildStyleVars=He,o.camelCase=xt,o.capitalize=z,o.cleanNull=Et,o.countDown=qn,o.createDomByHtml=Ie,o.cssSelectorEscape=Ye,o.cutString=Nt,o.debounce=Xt,o.decodeHTMLEntities=je,o.deepClone=G,o.deleteCookie=$t,o.detectLanguage=Gt,o.detectedPrecision=me,o.digitCount=he,o.disabled=nt,o.downloadFile=Fe,o.enabled=it,o.enterFullScreen=Q,o.entityToString=qe,o.escapeAttr=B,o.escapeHtml=We,o.exitFullScreen=X,o.extract=Ot,o.fileToBase64DataUri=ke,o.findAll=k,o.findOne=A,o.fixBaseUrl=Re,o.formatDate=W,o.getBoundingClientRect=rt,o.getCookie=Kt,o.getDomDimension=Oe,o.getJson=pn,o.getNodeXPath=ye,o.getUTF8StrLen=It,o.getWeekNumber=Gn,o.guid=tt,o.hide=ge,o.highlightText=$e,o.html2Text=Be,o.imgToBase64=Je,o.insertStyleSheet=ot,o.isBodyInit=Tt,o.isEmptyObject=fn,o.isFirefox=Wt,o.isFocusable=_e,o.isFunction=ne,o.isInFullScreen=Z,o.isJSON=ie,o.isJson=te,o.isObject=ee,o.isPromise=Zt,o.isUrl=et,o.kebabCase=Dt,o.keepRectInContainer=ve,o.limit=ue,o.loadCss=Ce,o.loadScript=Ne,o.lockElementInteraction=Ae,o.md5=nn,o.mmToPt=ce,o.mmToPx=re,o.mmToTwip=le,o.msToHMS=jn,o.mutationEffective=at,o.nodeIndex=be,o.objToQuery=j,o.objectGet=hn,o.objectKeyMapping=mn,o.objectMerge=wt,o.objectSet=gn,o.onDomTreeChange=Me,o.onHover=Ee,o.postFiles=dn,o.postJson=un,o.precisionToStep=De,o.printStack=ae,o.ptToMm=se,o.pxToMm=pe,o.queryReplace=cn,o.queryToObj=ht,o.randomInt=de,o.randomString=$,o.randomWords=Lt,o.rectAssoc=Se,o.rectInLayout=xe,o.regQuote=_,o.remove=we,o.request=O,o.round=fe,o.sanitizeFileName=Le,o.setCookie=zt,o.show=Te,o.srcToBase64=Ve,o.strChunk=Pt,o.strToPascalCase=kt,o.stringToEntity=Ke,o.stripSlashes=Ct,o.throttle=Vt,o.throttleEffect=Qt,o.toggleDisabled=L,o.toggleFullScreen=jt,o.trim=Ft,o.truncate=Rt,o.unescapeHtml=ze,o.urlB64DataCache=P,o.utf8Decode=K,o.utf8Encode=x,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
|
5
|
+
//# sourceMappingURL=minutool.umd.cjs.map
|