| 1 |
- import{g as t,h as e}from"./dayjs.DCWbrgJ0.js";const r=t(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var n,o;function i(){if(o)return n;o=1;var t="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&t?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,u=t&&i&&"function"==typeof i.get?i.get:null,l=t&&Map.prototype.forEach,c="function"==typeof Set&&Set.prototype,a=Object.getOwnPropertyDescriptor&&c?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,f=c&&a&&"function"==typeof a.get?a.get:null,p=c&&Set.prototype.forEach,y="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,g="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,s="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,b=Boolean.prototype.valueOf,S=Object.prototype.toString,h=Function.prototype.toString,m=String.prototype.match,d=String.prototype.slice,v=String.prototype.replace,j=String.prototype.toUpperCase,O=String.prototype.toLowerCase,_=RegExp.prototype.test,w=Array.prototype.concat,x=Array.prototype.join,M=Array.prototype.slice,W=Math.floor,k="function"==typeof BigInt?BigInt.prototype.valueOf:null,E=Object.getOwnPropertySymbols,T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"==typeof Symbol&&"object"==typeof Symbol.iterator,L="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||"symbol")?Symbol.toStringTag:null,$=Object.prototype.propertyIsEnumerable,A=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function q(t,e){if(Infinity===t||-Infinity===t||t!=t||t&&t>-1e3&&t<1e3||_.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof t){var n=t<0?-W(-t):W(t);if(n!==t){var o=String(n),i=d.call(e,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(e,r,"$&_")}var P=r,N=P.custom,R=G(N)?N:null,D={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function C(t,e,r){var n=r.quoteStyle||e,o=D[n];return o+t+o}function z(t){return v.call(String(t),/"/g,""")}function F(t){return!L||!("object"==typeof t&&(L in t||void 0!==t[L]))}function H(t){return"[object Array]"===Q(t)&&F(t)}function U(t){return"[object RegExp]"===Q(t)&&F(t)}function G(t){if(I)return t&&"object"==typeof t&&t instanceof Symbol;if("symbol"==typeof t)return!0;if(!t||"object"!=typeof t||!T)return!1;try{return T.call(t),!0}catch(e){}return!1}n=function t(r,n,o,i){var c=n||{};if(K(c,"quoteStyle")&&!K(D,c.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(K(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&Infinity!==c.maxStringLength:null!==c.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=!K(c,"customInspect")||c.customInspect;if("boolean"!=typeof a&&"symbol"!==a)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(K(c,"indent")&&null!==c.indent&&"\t"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(K(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var S=c.numericSeparator;if(void 0===r)return"undefined";if(null===r)return"null";if("boolean"==typeof r)return r?"true":"false";if("string"==typeof r)return X(r,c);if("number"==typeof r){if(0===r)return Infinity/r>0?"0":"-0";var j=String(r);return S?q(r,j):j}if("bigint"==typeof r){var _=String(r)+"n";return S?q(r,_):_}var W=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=W&&W>0&&"object"==typeof r)return H(r)?"[Array]":"[Object]";var E=function(t,e){var r;if("\t"===t.indent)r="\t";else{if(!("number"==typeof t.indent&&t.indent>0))return null;r=x.call(Array(t.indent+1)," ")}return{base:r,prev:x.call(Array(e+1),r)}}(c,o);if(void 0===i)i=[];else if(V(i,r)>=0)return"[Circular]";function N(e,r,n){if(r&&(i=M.call(i)).push(r),n){var u={depth:c.depth};return K(c,"quoteStyle")&&(u.quoteStyle=c.quoteStyle),t(e,u,o+1,i)}return t(e,c,o+1,i)}if("function"==typeof r&&!U(r)){var B=function(t){if(t.name)return t.name;var e=m.call(h.call(t),/^function\s*([\w$]+)/);if(e)return e[1];return null}(r),J=nt(r,N);return"[Function"+(B?": "+B:" (anonymous)")+"]"+(J.length>0?" { "+x.call(J,", ")+" }":"")}if(G(r)){var Y=I?v.call(String(r),/^(Symbol\(.*\))_[^)]*$/,"$1"):T.call(r);return"object"!=typeof r||I?Y:Z(Y)}if(function(t){if(!t||"object"!=typeof t)return!1;if("undefined"!=typeof HTMLElement&&t instanceof HTMLElement)return!0;return"string"==typeof t.nodeName&&"function"==typeof t.getAttribute}(r)){for(var ot="<"+O.call(String(r.nodeName)),it=r.attributes||[],ut=0;ut<it.length;ut++)ot+=" "+it[ut].name+"="+C(z(it[ut].value),"double",c);return ot+=">",r.childNodes&&r.childNodes.length&&(ot+="..."),ot+="</"+O.call(String(r.nodeName))+">"}if(H(r)){if(0===r.length)return"[]";var lt=nt(r,N);return E&&!function(t){for(var e=0;e<t.length;e++)if(V(t[e],"\n")>=0)return!1;return!0}(lt)?"["+rt(lt,E)+"]":"[ "+x.call(lt,", ")+" ]"}if(function(t){return"[object Error]"===Q(t)&&F(t)}(r)){var ct=nt(r,N);return"cause"in Error.prototype||!("cause"in r)||$.call(r,"cause")?0===ct.length?"["+String(r)+"]":"{ ["+String(r)+"] "+x.call(ct,", ")+" }":"{ ["+String(r)+"] "+x.call(w.call("[cause]: "+N(r.cause),ct),", ")+" }"}if("object"==typeof r&&a){if(R&&"function"==typeof r[R]&&P)return P(r,{depth:W-o});if("symbol"!==a&&"function"==typeof r.inspect)return r.inspect()}if(function(t){if(!u||!t||"object"!=typeof t)return!1;try{u.call(t);try{f.call(t)}catch(ot){return!0}return t instanceof Map}catch(e){}return!1}(r)){var at=[];return l&&l.call(r,function(t,e){at.push(N(e,r,!0)+" => "+N(t,r))}),et("Map",u.call(r),at,E)}if(function(t){if(!f||!t||"object"!=typeof t)return!1;try{f.call(t);try{u.call(t)}catch(e){return!0}return t instanceof Set}catch(r){}return!1}(r)){var ft=[];return p&&p.call(r,function(t){ft.push(N(t,r))}),et("Set",f.call(r),ft,E)}if(function(t){if(!y||!t||"object"!=typeof t)return!1;try{y.call(t,y);try{g.call(t,g)}catch(ot){return!0}return t instanceof WeakMap}catch(e){}return!1}(r))return tt("WeakMap");if(function(t){if(!g||!t||"object"!=typeof t)return!1;try{g.call(t,g);try{y.call(t,y)}catch(ot){return!0}return t instanceof WeakSet}catch(e){}return!1}(r))return tt("WeakSet");if(function(t){if(!s||!t||"object"!=typeof t)return!1;try{return s.call(t),!0}catch(e){}return!1}(r))return tt("WeakRef");if(function(t){return"[object Number]"===Q(t)&&F(t)}(r))return Z(N(Number(r)));if(function(t){if(!t||"object"!=typeof t||!k)return!1;try{return k.call(t),!0}catch(e){}return!1}(r))return Z(N(k.call(r)));if(function(t){return"[object Boolean]"===Q(t)&&F(t)}(r))return Z(b.call(r));if(function(t){return"[object String]"===Q(t)&&F(t)}(r))return Z(N(String(r)));if("undefined"!=typeof window&&r===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&r===globalThis||void 0!==e&&r===e)return"{ [object globalThis] }";if(!function(t){return"[object Date]"===Q(t)&&F(t)}(r)&&!U(r)){var pt=nt(r,N),yt=A?A(r)===Object.prototype:r instanceof Object||r.constructor===Object,gt=r instanceof Object?"":"null prototype",st=!yt&&L&&Object(r)===r&&L in r?d.call(Q(r),8,-1):gt?"Object":"",bt=(yt||"function"!=typeof r.constructor?"":r.constructor.name?r.constructor.name+" ":"")+(st||gt?"["+x.call(w.call([],st||[],gt||[]),": ")+"] ":"");return 0===pt.length?bt+"{}":E?bt+"{"+rt(pt,E)+"}":bt+"{ "+x.call(pt,", ")+" }"}return String(r)};var J=Object.prototype.hasOwnProperty||function(t){return t in this};function K(t,e){return J.call(t,e)}function Q(t){return S.call(t)}function V(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function X(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return X(d.call(t,0,e.maxStringLength),e)+n}var o=B[e.quoteStyle||"single"];return o.lastIndex=0,C(v.call(v.call(t,o,"\\$1"),/[\x00-\x1f]/g,Y),"single",e)}function Y(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+j.call(e.toString(16))}function Z(t){return"Object("+t+")"}function tt(t){return t+" { ? }"}function et(t,e,r,n){return t+" ("+e+") {"+(n?rt(r,n):x.call(r,", "))+"}"}function rt(t,e){if(0===t.length)return"";var r="\n"+e.prev+e.base;return r+x.call(t,","+r)+"\n"+e.prev}function nt(t,e){var r=H(t),n=[];if(r){n.length=t.length;for(var o=0;o<t.length;o++)n[o]=K(t,o)?e(t[o],t):""}var i,u="function"==typeof E?E(t):[];if(I){i={};for(var l=0;l<u.length;l++)i["$"+u[l]]=u[l]}for(var c in t)K(t,c)&&(r&&String(Number(c))===c&&c<t.length||I&&i["$"+c]instanceof Symbol||(_.call(/[^\w$]/,c)?n.push(e(c,t)+": "+e(t[c],t)):n.push(c+": "+e(t[c],t))));if("function"==typeof E)for(var a=0;a<u.length;a++)$.call(t,u[a])&&n.push("["+e(u[a])+"]: "+e(t[u[a]],t));return n}return n}export{i as r};
|