ryesun commited on
Commit
4ae286a
·
0 Parent(s):

Duplicate from ryesun/copilot-for-dressing

Browse files
.gitattributes ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tflite filter=lfs diff=lfs merge=lfs -text
29
+ *.tgz filter=lfs diff=lfs merge=lfs -text
30
+ *.wasm filter=lfs diff=lfs merge=lfs -text
31
+ *.xz filter=lfs diff=lfs merge=lfs -text
32
+ *.zip filter=lfs diff=lfs merge=lfs -text
33
+ *.zst filter=lfs diff=lfs merge=lfs -text
34
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: Copilot For Dressing
3
+ emoji: 🏢
4
+ colorFrom: purple
5
+ colorTo: indigo
6
+ sdk: static
7
+ pinned: false
8
+ license: mit
9
+ duplicated_from: ryesun/copilot-for-dressing
10
+ ---
11
+
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
assets/404.76ec9370.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{j as a}from"./index.bd3517ca.js";function t(){return a("div",{className:"NotPage",children:"404"})}export{t as default};
assets/about.14743d22.js ADDED
The diff for this file is too large to render. See raw diff
 
assets/about.d655aa77.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .adm-mask{--z-index: var(--adm-mask-z-index, 1000);position:fixed;top:0;left:0;z-index:var(--z-index);display:block;width:100%;height:100%}.adm-mask-aria-button{position:absolute;top:0;left:0;z-index:0;width:100%;height:100%;pointer-events:none}.adm-mask-content{z-index:1}.adm-safe-area{--multiple: var(--adm-safe-area-multiple, 1);display:block;width:100%}.adm-safe-area-position-top{padding-top:calc(env(safe-area-inset-top) * var(--multiple))}.adm-safe-area-position-bottom{padding-bottom:calc(env(safe-area-inset-bottom) * var(--multiple))}.adm-image-viewer-content{width:100vw;height:100vh;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.adm-image-viewer-footer{position:absolute;width:100%;bottom:0;z-index:1}.adm-image-viewer-slides{height:100%;position:relative;z-index:1;cursor:grab;touch-action:none}.adm-image-viewer-slides-inner{height:100%;white-space:nowrap}.adm-image-viewer-slides-inner>*{margin-right:16px}.adm-image-viewer-slide{position:relative;width:100%;height:100%;display:inline-block}.adm-image-viewer-control{position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;cursor:grab;touch-action:none}.adm-image-viewer-image-wrapper{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.adm-image-viewer-image-wrapper img{display:block;max-width:100%;max-height:100%}.adm-image-viewer-indicator{position:absolute;z-index:2;left:50%;top:12px;transform:translate(-50%);color:#e6e6e6;font-size:var(--adm-font-size-6)}a{text-decoration:none;color:#666}._about_1iioc_8{font-size:4.8vw}._text_1iioc_11{color:red;font-size:4vw}._button_1iioc_15{font-size:4vw}
assets/axios.a426b7c9.js ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ import{s as Be}from"./utils.62547028.js";var V={exports:{}},fe=function(e,r){return function(){for(var n=new Array(arguments.length),u=0;u<n.length;u++)n[u]=arguments[u];return e.apply(r,n)}},xe=fe,F=Object.prototype.toString;function W(t){return F.call(t)==="[object Array]"}function I(t){return typeof t=="undefined"}function Re(t){return t!==null&&!I(t)&&t.constructor!==null&&!I(t.constructor)&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function De(t){return F.call(t)==="[object ArrayBuffer]"}function Te(t){return typeof FormData!="undefined"&&t instanceof FormData}function ge(t){var e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&t.buffer instanceof ArrayBuffer,e}function Oe(t){return typeof t=="string"}function Ue(t){return typeof t=="number"}function de(t){return t!==null&&typeof t=="object"}function O(t){if(F.call(t)!=="[object Object]")return!1;var e=Object.getPrototypeOf(t);return e===null||e===Object.prototype}function $e(t){return F.call(t)==="[object Date]"}function Pe(t){return F.call(t)==="[object File]"}function Ne(t){return F.call(t)==="[object Blob]"}function he(t){return F.call(t)==="[object Function]"}function Le(t){return de(t)&&he(t.pipe)}function je(t){return typeof URLSearchParams!="undefined"&&t instanceof URLSearchParams}function qe(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function ke(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function G(t,e){if(!(t===null||typeof t=="undefined"))if(typeof t!="object"&&(t=[t]),W(t))for(var r=0,a=t.length;r<a;r++)e.call(null,t[r],r,t);else for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.call(null,t[n],n,t)}function J(){var t={};function e(n,u){O(t[u])&&O(n)?t[u]=J(t[u],n):O(n)?t[u]=J({},n):W(n)?t[u]=n.slice():t[u]=n}for(var r=0,a=arguments.length;r<a;r++)G(arguments[r],e);return t}function _e(t,e,r){return G(e,function(n,u){r&&typeof n=="function"?t[u]=xe(n,r):t[u]=n}),t}function He(t){return t.charCodeAt(0)===65279&&(t=t.slice(1)),t}var p={isArray:W,isArrayBuffer:De,isBuffer:Re,isFormData:Te,isArrayBufferView:ge,isString:Oe,isNumber:Ue,isObject:de,isPlainObject:O,isUndefined:I,isDate:$e,isFile:Pe,isBlob:Ne,isFunction:he,isStream:Le,isURLSearchParams:je,isStandardBrowserEnv:ke,forEach:G,merge:J,extend:_e,trim:qe,stripBOM:He},b=p;function ee(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var pe=function(e,r,a){if(!r)return e;var n;if(a)n=a(r);else if(b.isURLSearchParams(r))n=r.toString();else{var u=[];b.forEach(r,function(l,v){l===null||typeof l=="undefined"||(b.isArray(l)?v=v+"[]":l=[l],b.forEach(l,function(c){b.isDate(c)?c=c.toISOString():b.isObject(c)&&(c=JSON.stringify(c)),u.push(ee(v)+"="+ee(c))}))}),n=u.join("&")}if(n){var s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+n}return e},Me=p;function $(){this.handlers=[]}$.prototype.use=function(e,r,a){return this.handlers.push({fulfilled:e,rejected:r,synchronous:a?a.synchronous:!1,runWhen:a?a.runWhen:null}),this.handlers.length-1};$.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};$.prototype.forEach=function(e){Me.forEach(this.handlers,function(a){a!==null&&e(a)})};var Ie=$,Je=p,ze=function(e,r){Je.forEach(e,function(n,u){u!==r&&u.toUpperCase()===r.toUpperCase()&&(e[r]=n,delete e[u])})},me=function(e,r,a,n,u){return e.config=r,a&&(e.code=a),e.request=n,e.response=u,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}},e},Ve=me,ve=function(e,r,a,n,u){var s=new Error(e);return Ve(s,r,a,n,u)},We=ve,Ge=function(e,r,a){var n=a.config.validateStatus;!a.status||!n||n(a.status)?e(a):r(We("Request failed with status code "+a.status,a.config,null,a.request,a))},T=p,Xe=T.isStandardBrowserEnv()?function(){return{write:function(r,a,n,u,s,o){var l=[];l.push(r+"="+encodeURIComponent(a)),T.isNumber(n)&&l.push("expires="+new Date(n).toGMTString()),T.isString(u)&&l.push("path="+u),T.isString(s)&&l.push("domain="+s),o===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){var a=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return a?decodeURIComponent(a[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Ye=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)},Ke=function(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e},Qe=Ye,Ze=Ke,et=function(e,r){return e&&!Qe(r)?Ze(e,r):r},k=p,tt=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],rt=function(e){var r={},a,n,u;return e&&k.forEach(e.split(`
2
+ `),function(o){if(u=o.indexOf(":"),a=k.trim(o.substr(0,u)).toLowerCase(),n=k.trim(o.substr(u+1)),a){if(r[a]&&tt.indexOf(a)>=0)return;a==="set-cookie"?r[a]=(r[a]?r[a]:[]).concat([n]):r[a]=r[a]?r[a]+", "+n:n}}),r},te=p,nt=te.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),a;function n(u){var s=u;return e&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return a=n(window.location.href),function(s){var o=te.isString(s)?n(s):s;return o.protocol===a.protocol&&o.host===a.host}}():function(){return function(){return!0}}();function X(t){this.message=t}X.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};X.prototype.__CANCEL__=!0;var P=X,g=p,at=Ge,ut=Xe,st=pe,it=et,ot=rt,lt=nt,_=ve,ct=L,ft=P,re=function(e){return new Promise(function(a,n){var u=e.data,s=e.headers,o=e.responseType,l;function v(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}g.isFormData(u)&&delete s["Content-Type"];var i=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",d=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.Authorization="Basic "+btoa(c+":"+d)}var S=it(e.baseURL,e.url);i.open(e.method.toUpperCase(),st(S,e.params,e.paramsSerializer),!0),i.timeout=e.timeout;function Q(){if(!!i){var m="getAllResponseHeaders"in i?ot(i.getAllResponseHeaders()):null,w=!o||o==="text"||o==="json"?i.responseText:i.response,y={data:w,status:i.status,statusText:i.statusText,headers:m,config:e,request:i};at(function(q){a(q),v()},function(q){n(q),v()},y),i=null}}if("onloadend"in i?i.onloadend=Q:i.onreadystatechange=function(){!i||i.readyState!==4||i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0)||setTimeout(Q)},i.onabort=function(){!i||(n(_("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){n(_("Network Error",e,null,i)),i=null},i.ontimeout=function(){var w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",y=e.transitional||ct.transitional;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),n(_(w,e,y.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",i)),i=null},g.isStandardBrowserEnv()){var Z=(e.withCredentials||lt(S))&&e.xsrfCookieName?ut.read(e.xsrfCookieName):void 0;Z&&(s[e.xsrfHeaderName]=Z)}"setRequestHeader"in i&&g.forEach(s,function(w,y){typeof u=="undefined"&&y.toLowerCase()==="content-type"?delete s[y]:i.setRequestHeader(y,w)}),g.isUndefined(e.withCredentials)||(i.withCredentials=!!e.withCredentials),o&&o!=="json"&&(i.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&i.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function(m){!i||(n(!m||m&&m.type?new ft("canceled"):m),i.abort(),i=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),u||(u=null),i.send(u)})},f=p,ne=ze,dt=me,ht={"Content-Type":"application/x-www-form-urlencoded"};function ae(t,e){!f.isUndefined(t)&&f.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function pt(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=re),t}function mt(t,e,r){if(f.isString(t))try{return(e||JSON.parse)(t),f.trim(t)}catch(a){if(a.name!=="SyntaxError")throw a}return(r||JSON.stringify)(t)}var N={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:pt(),transformRequest:[function(e,r){return ne(r,"Accept"),ne(r,"Content-Type"),f.isFormData(e)||f.isArrayBuffer(e)||f.isBuffer(e)||f.isStream(e)||f.isFile(e)||f.isBlob(e)?e:f.isArrayBufferView(e)?e.buffer:f.isURLSearchParams(e)?(ae(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):f.isObject(e)||r&&r["Content-Type"]==="application/json"?(ae(r,"application/json"),mt(e)):e}],transformResponse:[function(e){var r=this.transitional||N.transitional,a=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,u=!a&&this.responseType==="json";if(u||n&&f.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(u)throw s.name==="SyntaxError"?dt(s,this,"E_JSON_PARSE"):s}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};f.forEach(["delete","get","head"],function(e){N.headers[e]={}});f.forEach(["post","put","patch"],function(e){N.headers[e]=f.merge(ht)});var L=N,vt=p,Et=L,yt=function(e,r,a){var n=this||Et;return vt.forEach(a,function(s){e=s.call(n,e,r)}),e},Ee=function(e){return!!(e&&e.__CANCEL__)},ue=p,H=yt,Ft=Ee,wt=L,bt=P;function M(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new bt("canceled")}var Ct=function(e){M(e),e.headers=e.headers||{},e.data=H.call(e,e.data,e.headers,e.transformRequest),e.headers=ue.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),ue.forEach(["delete","get","head","post","put","patch","common"],function(n){delete e.headers[n]});var r=e.adapter||wt.adapter;return r(e).then(function(n){return M(e),n.data=H.call(e,n.data,n.headers,e.transformResponse),n},function(n){return Ft(n)||(M(e),n&&n.response&&(n.response.data=H.call(e,n.response.data,n.response.headers,e.transformResponse))),Promise.reject(n)})},h=p,ye=function(e,r){r=r||{};var a={};function n(i,c){return h.isPlainObject(i)&&h.isPlainObject(c)?h.merge(i,c):h.isPlainObject(c)?h.merge({},c):h.isArray(c)?c.slice():c}function u(i){if(h.isUndefined(r[i])){if(!h.isUndefined(e[i]))return n(void 0,e[i])}else return n(e[i],r[i])}function s(i){if(!h.isUndefined(r[i]))return n(void 0,r[i])}function o(i){if(h.isUndefined(r[i])){if(!h.isUndefined(e[i]))return n(void 0,e[i])}else return n(void 0,r[i])}function l(i){if(i in r)return n(e[i],r[i]);if(i in e)return n(void 0,e[i])}var v={url:s,method:s,data:s,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:l};return h.forEach(Object.keys(e).concat(Object.keys(r)),function(c){var d=v[c]||u,S=d(c);h.isUndefined(S)&&d!==l||(a[c]=S)}),a},Fe={version:"0.23.0"},At=Fe.version,Y={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){Y[t]=function(a){return typeof a===t||"a"+(e<1?"n ":" ")+t}});var se={};Y.transitional=function(e,r,a){function n(u,s){return"[Axios v"+At+"] Transitional option '"+u+"'"+s+(a?". "+a:"")}return function(u,s,o){if(e===!1)throw new Error(n(s," has been removed"+(r?" in "+r:"")));return r&&!se[s]&&(se[s]=!0,console.warn(n(s," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(u,s,o):!0}};function St(t,e,r){if(typeof t!="object")throw new TypeError("options must be an object");for(var a=Object.keys(t),n=a.length;n-- >0;){var u=a[n],s=e[u];if(s){var o=t[u],l=o===void 0||s(o,u,t);if(l!==!0)throw new TypeError("option "+u+" must be "+l);continue}if(r!==!0)throw Error("Unknown option "+u)}}var Bt={assertOptions:St,validators:Y},we=p,xt=pe,ie=Ie,oe=Ct,j=ye,be=Bt,C=be.validators;function D(t){this.defaults=t,this.interceptors={request:new ie,response:new ie}}D.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=j(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var r=e.transitional;r!==void 0&&be.assertOptions(r,{silentJSONParsing:C.transitional(C.boolean),forcedJSONParsing:C.transitional(C.boolean),clarifyTimeoutError:C.transitional(C.boolean)},!1);var a=[],n=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(e)===!1||(n=n&&d.synchronous,a.unshift(d.fulfilled,d.rejected))});var u=[];this.interceptors.response.forEach(function(d){u.push(d.fulfilled,d.rejected)});var s;if(!n){var o=[oe,void 0];for(Array.prototype.unshift.apply(o,a),o=o.concat(u),s=Promise.resolve(e);o.length;)s=s.then(o.shift(),o.shift());return s}for(var l=e;a.length;){var v=a.shift(),i=a.shift();try{l=v(l)}catch(c){i(c);break}}try{s=oe(l)}catch(c){return Promise.reject(c)}for(;u.length;)s=s.then(u.shift(),u.shift());return s};D.prototype.getUri=function(e){return e=j(this.defaults,e),xt(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};we.forEach(["delete","get","head","options"],function(e){D.prototype[e]=function(r,a){return this.request(j(a||{},{method:e,url:r,data:(a||{}).data}))}});we.forEach(["post","put","patch"],function(e){D.prototype[e]=function(r,a,n){return this.request(j(n||{},{method:e,url:r,data:a}))}});var Rt=D,Dt=P;function A(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(n){e=n});var r=this;this.promise.then(function(a){if(!!r._listeners){var n,u=r._listeners.length;for(n=0;n<u;n++)r._listeners[n](a);r._listeners=null}}),this.promise.then=function(a){var n,u=new Promise(function(s){r.subscribe(s),n=s}).then(a);return u.cancel=function(){r.unsubscribe(n)},u},t(function(n){r.reason||(r.reason=new Dt(n),e(r.reason))})}A.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};A.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]};A.prototype.unsubscribe=function(e){if(!!this._listeners){var r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}};A.source=function(){var e,r=new A(function(n){e=n});return{token:r,cancel:e}};var Tt=A,gt=function(e){return function(a){return e.apply(null,a)}},Ot=function(e){return typeof e=="object"&&e.isAxiosError===!0},le=p,Ut=fe,U=Rt,$t=ye,Pt=L;function Ce(t){var e=new U(t),r=Ut(U.prototype.request,e);return le.extend(r,U.prototype,e),le.extend(r,e),r.create=function(n){return Ce($t(t,n))},r}var E=Ce(Pt);E.Axios=U;E.Cancel=P;E.CancelToken=Tt;E.isCancel=Ee;E.VERSION=Fe.version;E.all=function(e){return Promise.all(e)};E.spread=gt;E.isAxiosError=Ot;V.exports=E;V.exports.default=E;var K=V.exports,Nt={exportDetails:"/exportDetails",commonUpload:"/upload",PageCustomService:"/second/hwydystoreadmin/storeUser/name/one",PageCustomService2:"/hwydystoreadmin/storeUser/name/one",resetPassword:"/resetPassword",searchURL:"https://serpapi.com/search.json",itemFilterURL:"http://106.52.238.44:8080/api"};let x="";switch("production"){case"development":x="/dev";break;case"test":x="/test";break;case"production":x="/production";break;default:x="/dev";break}var Lt=x;const jt={200:"\u670D\u52A1\u5668\u6210\u529F\u8FD4\u56DE\u8BF7\u6C42\u7684\u6570\u636E\u3002",201:"\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u6210\u529F\u3002",202:"\u4E00\u4E2A\u8BF7\u6C42\u5DF2\u7ECF\u8FDB\u5165\u540E\u53F0\u6392\u961F\uFF08\u5F02\u6B65\u4EFB\u52A1\uFF09\u3002",204:"\u5220\u9664\u6570\u636E\u6210\u529F\u3002",400:"\u53D1\u51FA\u7684\u8BF7\u6C42\u6709\u9519\u8BEF\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u65B0\u5EFA\u6216\u4FEE\u6539\u6570\u636E\u7684\u64CD\u4F5C\u3002",401:"\u7528\u6237\u6CA1\u6709\u6743\u9650\uFF08\u4EE4\u724C\u3001\u7528\u6237\u540D\u3001\u5BC6\u7801\u9519\u8BEF\uFF09\u3002",403:"\u7528\u6237\u5F97\u5230\u6388\u6743\uFF0C\u4F46\u662F\u8BBF\u95EE\u662F\u88AB\u7981\u6B62\u7684\u3002",404:"\u53D1\u51FA\u7684\u8BF7\u6C42\u9488\u5BF9\u7684\u662F\u4E0D\u5B58\u5728\u7684\u8BB0\u5F55\uFF0C\u670D\u52A1\u5668\u6CA1\u6709\u8FDB\u884C\u64CD\u4F5C\u3002",406:"\u8BF7\u6C42\u7684\u683C\u5F0F\u4E0D\u53EF\u5F97\u3002",410:"\u8BF7\u6C42\u7684\u8D44\u6E90\u88AB\u6C38\u4E45\u5220\u9664\uFF0C\u4E14\u4E0D\u4F1A\u518D\u5F97\u5230\u7684\u3002",422:"\u5F53\u521B\u5EFA\u4E00\u4E2A\u5BF9\u8C61\u65F6\uFF0C\u53D1\u751F\u4E00\u4E2A\u9A8C\u8BC1\u9519\u8BEF\u3002",500:"\u670D\u52A1\u5668\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u68C0\u67E5\u670D\u52A1\u5668\u3002",502:"\u7F51\u5173\u9519\u8BEF\u3002",503:"\u670D\u52A1\u4E0D\u53EF\u7528\uFF0C\u670D\u52A1\u5668\u6682\u65F6\u8FC7\u8F7D\u6216\u7EF4\u62A4\u3002",504:"\u7F51\u5173\u8D85\u65F6\u3002"},ce={toast:101,loginFail:10086};let R=K.create({baseURL:Lt,timeout:2e4,responseType:"json"});const qt=t=>{if(t&&(t==null?void 0:t.status)){const e=jt[t.status]||t.statusText,{status:r,url:a}=t;(t==null?void 0:t.status)===401?setTimeout(()=>{window.sessionStorage.clear(),window.location.href=`${window.location.origin}/login`},1e3):console.log(`\u8BF7\u6C42\u9519\u8BEF ${r}: ${a},${e}`)}return t},z=[];R.interceptors.request.use(t=>{const e=t;return e.cancelToken=new K.CancelToken(r=>{z.push(r)}),e},()=>{});window.$cancelRequest=()=>{z.forEach((t,e)=>{t("cancel"),delete z[e]})};const Ae=[{url:Nt.exportDetails,type:"export",export:1}];R.interceptors.request.use(t=>{var a;const e=Ae.find(n=>t.url.includes(n.url)),r=((a=t[t.method.toUpperCase()==="GET"?"params":"data"])==null?void 0:a.export)||0;return e&&r===1&&(t.responseType="blob"),t},t=>{console.log(t)});R.interceptors.response.use(async t=>{var n,u;const e=t.config,r=Ae.find(s=>e.url.includes(s.url)),a=((n=e[e.method.toUpperCase()==="GET"?"params":"data"])==null?void 0:n.export)||0;if(r&&a===1&&t.status===200){const s=new Blob([t.data],{type:"application/vnd.ms-excel"});let o=((u=e[e.method.toUpperCase()==="GET"?"params":"data"])==null?void 0:u.fileName)||new Date().Format("YYYY-MM-DD hh:mm:ss");const l=document.createElement("a");return l.download=o,l.style.display="none",l.href=URL.createObjectURL(s),document.body.appendChild(l),l.click(),URL.revokeObjectURL(l.href),document.body.removeChild(l),s}if(t.status===200)try{t.data.code&&t.data.code!==200&&(t.data.code===ce.loginFail&&setTimeout(()=>{window.sessionStorage.clear(),window.location.href=`${window.location.origin}/login`},1e3),t.data.code===ce.toast?alert(t.data.errorMsg):console.log(t.data.errorMsg))}catch{console.log("\u63A5\u53E3\u8BF7\u6C42\u5931\u8D25")}else qt(t);return t.data});K.defaults.withCredentials=!0;const B=(t,e)=>{let r=Be.get("token"),a=null;return t!=="FILE"?(t==="POST"||t==="PUT"?a={data:JSON.stringify(e.data)}:(t==="GET"||t==="DELETE")&&(a={params:e.data}),new Promise((n,u)=>{R(e.url,{method:t,...a,headers:{"Content-Type":"application/json;charset=UTF-8",Authorization:r||"Basic aHc6aHc=","with-credentials":!0,...e.header}}).then(s=>{n(s)}).catch(s=>{console.log(s,"\u5F02\u5E38")})})):new Promise((n,u)=>{R(e.url,{method:"post",data:e.data,requestType:"form",headers:{Authorization:r||"Basic aHc6aHc="}}).then(s=>{n(s)}).catch(s=>{console.log(s,"\u5F02\u5E38")})})};var _t={post:t=>B("POST",t),get:t=>B("GET",t),delete:t=>B("DELETE",t),put:t=>B("PUT",t),file:t=>B("FILE",t)};export{Nt as a,K as b,_t as r};
assets/defaultImage.6ddd0d30.png ADDED
assets/favicon.17e50649.svg ADDED
assets/home.51b841f4.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import{r as l,R as E,j as g,a as N,F as fe,w as $e}from"./index.bd3517ca.js";import{i as me,a as pe,_ as Ae,b as Ie,c as Me,d as re,e as he,u as Te,f as Re,g as Ne,h as j,m as ge,j as Q,k as je,w as te,l as T,n as A,S as Be,o as ve,p as We,q as ze,r as De,s as Ce,I as Pe,B as Ue}from"./index.c5d86e93.js";import{r as ye,a as be,b as we}from"./axios.a426b7c9.js";import"./utils.62547028.js";function ne(e){me&&(pe(e)||console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof e)));var r=l.exports.useRef(e);r.current=l.exports.useMemo(function(){return e},[e]);var t=l.exports.useRef();return t.current||(t.current=function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return r.current.apply(this,i)}),t.current}var qe=Ae,Ze=function(){return qe.Date.now()},Ke=Ze,Ve=/\s/;function Xe(e){for(var r=e.length;r--&&Ve.test(e.charAt(r)););return r}var Ge=Xe,He=Ge,Je=/^\s+/;function Qe(e){return e&&e.slice(0,He(e)+1).replace(Je,"")}var Ye=Qe,et=Ie,tt=Me,rt="[object Symbol]";function nt(e){return typeof e=="symbol"||tt(e)&&et(e)==rt}var it=nt,at=Ye,oe=re,st=it,le=0/0,ot=/^[-+]0x[0-9a-f]+$/i,lt=/^0b[01]+$/i,ct=/^0o[0-7]+$/i,ut=parseInt;function dt(e){if(typeof e=="number")return e;if(st(e))return le;if(oe(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=oe(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=at(e);var t=lt.test(e);return t||ct.test(e)?ut(e.slice(2),t?2:8):ot.test(e)?le:+e}var ft=dt,mt=re,Y=Ke,ce=ft,pt="Expected a function",ht=Math.max,gt=Math.min;function vt(e,r,t){var i,s,c,v,a,d,y=0,o=!1,b=!1,C=!0;if(typeof e!="function")throw new TypeError(pt);r=ce(r)||0,mt(t)&&(o=!!t.leading,b="maxWait"in t,c=b?ht(ce(t.maxWait)||0,r):c,C="trailing"in t?!!t.trailing:C);function n(m){var w=i,k=s;return i=s=void 0,y=m,v=e.apply(k,w),v}function u(m){return y=m,a=setTimeout(O,r),o?n(m):v}function _(m){var w=m-d,k=m-y,$=r-w;return b?gt($,c-k):$}function F(m){var w=m-d,k=m-y;return d===void 0||w>=r||w<0||b&&k>=c}function O(){var m=Y();if(F(m))return S(m);a=setTimeout(O,_(m))}function S(m){return a=void 0,C&&i?n(m):(i=s=void 0,v)}function I(){a!==void 0&&clearTimeout(a),y=0,i=d=s=a=void 0}function f(){return a===void 0?v:S(Y())}function h(){var m=Y(),w=F(m);if(i=arguments,s=this,d=m,w){if(a===void 0)return u(d);if(b)return clearTimeout(a),a=setTimeout(O,r),n(d)}return a===void 0&&(a=setTimeout(O,r)),v}return h.cancel=I,h.flush=f,h}var Ct=vt,yt=Ct,bt=re,wt="Expected a function";function xt(e,r,t){var i=!0,s=!0;if(typeof e!="function")throw new TypeError(wt);return bt(t)&&(i="leading"in t?!!t.leading:i,s="trailing"in t?!!t.trailing:s),yt(e,r,{leading:i,maxWait:r,trailing:s})}var Lt=xt,kt=function(){var e=he(l.exports.useState({}),2),r=e[1];return l.exports.useCallback(function(){return r({})},[])},_t=kt;function Ft(e,r){var t;me&&(pe(e)||console.error("useThrottleFn expected parameter is a function, got ".concat(typeof e)));var i=Te(e),s=(t=r==null?void 0:r.wait)!==null&&t!==void 0?t:1e3,c=l.exports.useMemo(function(){return Lt(function(){for(var v=[],a=0;a<arguments.length;a++)v[a]=arguments[a];return i.current.apply(i,Ne([],he(v),!1))},s,r)},[]);return Re(function(){c.cancel()}),{run:c,cancel:c.cancel,flush:c.flush}}function Et(e){return l.exports.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),l.exports.createElement("g",{id:"ArrowsAltOutline-ArrowsAltOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l.exports.createElement("g",{id:"ArrowsAltOutline-\u7F16\u7EC4"},l.exports.createElement("rect",{id:"ArrowsAltOutline-\u77E9\u5F62",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),l.exports.createElement("path",{d:"M27.54027,25.4192995 L37.9992424,35.878922 L37.9992424,35.878922 L37.9999293,26.5005854 C37.9999455,26.2796715 38.1790447,26.1005985 38.3999586,26.1006147 C38.506035,26.1006225 38.6077646,26.1427646 38.682772,26.217772 L40.8828427,28.4178427 C40.9578573,28.4928573 41,28.5945988 41,28.7006854 L41,38.0000814 L41,38.0000814 C41,39.5977189 39.7511139,40.9036635 38.1763494,40.9949074 L38.0000214,41 L28.7016885,41 C28.5956001,41 28.4938569,40.9578558 28.4188421,40.882839 L26.2188213,38.6827611 C26.0626136,38.5265493 26.0626169,38.2732833 26.2188286,38.1170756 C26.2938429,38.0420633 26.3955829,37.999922 26.5016677,37.999922 L35.8782424,37.999922 L35.8782424,37.999922 L25.4189935,27.540576 C25.2627863,27.3843648 25.2627869,27.1310998 25.4189948,26.9748893 L26.9745934,25.4192907 C27.1307943,25.2630722 27.3840603,25.2630722 27.54027,25.4192819 C27.5402729,25.4192848 27.5402759,25.4192878 27.54027,25.4192995 Z M19.5801734,7.11717343 L21.78015,9.31715001 C21.9363597,9.47335972 21.9363597,9.72662572 21.78015,9.88283543 C21.7051347,9.95785072 21.6033919,9.99999352 21.4973043,9.99999272 L12.1212424,9.99992204 L12.1212424,9.99992204 L22.5812531,20.4603418 C22.7374521,20.6165579 22.7374496,20.8698197 22.5812476,21.0260328 L21.025649,22.5816313 C20.8694312,22.7378225 20.6161755,22.7378285 20.4599503,22.5816447 L9.9992424,12.121922 L9.9992424,12.121922 L9.99992925,21.4981366 C9.99994543,21.7190505 9.82087245,21.8981497 9.59995855,21.8981659 C9.49386181,21.8981736 9.39210827,21.8560303 9.31708654,21.7810086 L7.11716153,19.5810836 C7.04214447,19.5060665 7.00000153,19.4043208 7.00000424,19.2982306 L7.0002424,10.0009006 L7.0002424,10.0009006 C7.0002424,8.40323116 8.24915346,7.09726047 9.82394948,7.00601469 L10.000221,7.00092204 L19.2972917,7.00001615 C19.4033918,7.00000581 19.5051493,7.04214933 19.5801734,7.11717343 Z",id:"ArrowsAltOutline-\u5F62\u72B6",fill:"currentColor",fillRule:"nonzero"}))))}function St(e){return l.exports.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),l.exports.createElement("g",{id:"AudioOutline-AudioOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l.exports.createElement("g",{id:"AudioOutline-\u7F16\u7EC4"},l.exports.createElement("rect",{id:"AudioOutline-\u77E9\u5F62",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),l.exports.createElement("path",{d:"M11.0280234,24.3721176 C11.0554205,24.7535019 11.0834856,25.0501619 11.1122187,25.2620977 C11.9726084,31.6083434 17.4147757,36.5 24,36.5 C30.5563593,36.5 35.9796602,31.6511327 36.8762035,25.3454661 C36.9089551,25.115114 36.9406933,24.7904814 36.9714181,24.3715686 C36.9866919,24.1625336 37.1607543,24.0007701 37.3703465,24.0007701 C37.634525,24.0007701 37.8444095,24.0007701 38,24.0007701 C38.2582838,24.0007701 38.591617,24.0007701 39,24.0007701 C39.1309734,24.0007701 39.3230245,24.0007701 39.5761532,24.0007701 C39.7971012,24.0007084 39.9762149,24.1798221 39.9762149,24.4007701 C39.9762149,24.4090903 39.9759553,24.4174084 39.9754366,24.4257124 C39.9477159,24.8694729 39.9187796,25.2146393 39.8886277,25.4612117 C39.0287343,32.4931489 33.6046985,38.1156092 26.6678639,39.2787918 C26.4729481,39.3114756 26.2013766,39.3485576 25.8531495,39.3900377 C25.6518802,39.4139065 25.5003394,39.5845847 25.5003569,39.7872643 C25.5003843,40.1036252 25.5004059,40.3526672 25.5004216,40.5343904 C25.50051,41.5562603 25.5005984,42.5781301 25.5006868,43.6 C25.5007405,43.8209139 25.3216699,44.0000155 25.100756,44.0000346 C25.1007444,44.0000346 25.1007329,44.0000346 25.1007214,44 L22.8992786,44 C22.6783647,44.0000346 22.4992786,43.8209485 22.4992786,43.6000346 C22.4992786,43.6000231 22.4992786,43.6000115 22.4993132,43.6 C22.4994011,42.583939 22.499489,41.567878 22.4995769,40.551817 C22.4995929,40.3665507 22.4996149,40.1124027 22.4996429,39.7893728 C22.4997293,39.5859497 22.3470932,39.4148995 22.1449805,39.3918467 C21.9611406,39.370878 21.8134608,39.3523813 21.7019412,39.3363565 C14.5024883,38.3018333 8.85079948,32.4787457 8.0816193,25.200152 C8.06165814,25.0112636 8.04204009,24.7526316 8.02276516,24.4242559 C8.00977186,24.2036984 8.17807611,24.0144039 8.39863633,24.0014575 C8.40644177,24.0009993 8.41425897,24.0007701 8.42207785,24.0007701 C8.66215694,24.0007701 8.85479766,24.0007701 9,24.0007701 C9.2583604,24.0007701 9.59169394,24.0007701 10,24.0007701 C10.1400474,24.0007701 10.3497683,24.0007701 10.6291627,24.0007701 C10.8388973,24.0008816 11.0129956,24.1629221 11.0280234,24.3721176 Z M24,4 C29.2492283,4 33.5045687,8.25329488 33.5045687,13.5 L33.5045687,23.5 C33.5045687,28.7467051 29.2492283,33 24,33 C18.7507717,33 14.4954313,28.7467051 14.4954313,23.5 L14.4954313,13.5 C14.4954313,8.25329488 18.7507717,4 24,4 Z M24,7 C20.4865005,7 17.6237845,9.78499621 17.500979,13.2668659 L17.4968741,13.5 L17.4968741,23.5 C17.4968741,27.0898509 20.4084227,30 24,30 C27.5134995,30 30.3762155,27.2150038 30.499021,23.7331341 L30.5031259,23.5 L30.5031259,13.5 C30.5031259,9.91014913 27.5915773,7 24,7 Z",id:"AudioOutline-\u5F62\u72B6",fill:"currentColor",fillRule:"nonzero"}))))}function Ot(e){return l.exports.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),l.exports.createElement("g",{id:"CloseCircleFill-CloseCircleFill",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l.exports.createElement("g",{id:"CloseCircleFill-\u7F16\u7EC4"},l.exports.createElement("rect",{id:"CloseCircleFill-\u77E9\u5F62",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),l.exports.createElement("path",{d:"M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M18.6753876,16 L15.5637812,16 C15.4576916,16 15.3559474,16.0421451 15.2809323,16.1171635 C15.124726,16.2733766 15.1247316,16.5266426 15.2809447,16.6828489 L15.2809447,16.6828489 L22.299066,23.7006641 L14.6828159,31.3171619 C14.6078042,31.3921761 14.5656632,31.4939157 14.5656632,31.6 C14.5656632,31.8209139 14.7447493,32 14.9656632,32 L14.9656632,32 L18.0753284,32 C18.1814068,32 18.2831412,31.9578638 18.3581544,31.8828594 L18.3581544,31.8828594 L24.420066,25.8216641 L30.4818451,31.8828564 C30.5568585,31.9578626 30.6585942,32 30.7646741,32 L30.7646741,32 L33.8763476,32 C33.9824309,32 34.0841695,31.9578599 34.1591835,31.8828496 C34.315397,31.7266436 34.3154031,31.4733776 34.1591972,31.3171641 L34.1591972,31.3171641 L26.542066,23.6996641 L33.5591874,16.6828489 C33.6342057,16.6078338 33.6763508,16.5060896 33.6763508,16.4 C33.6763508,16.1790861 33.4972647,16 33.2763508,16 L33.2763508,16 L30.1637654,16 C30.0576705,16 29.9559218,16.0421493 29.8809058,16.1171741 L29.8809058,16.1171741 L24.420066,21.5786641 L18.9582218,16.1171488 C18.883208,16.0421394 18.7814701,16 18.6753876,16 L18.6753876,16 Z",id:"CloseCircleFill-\u5F62\u72B6\u7ED3\u5408",fill:"currentColor",fillRule:"nonzero"}))))}function $t(e){return l.exports.createElement("svg",Object.assign({width:"1em",height:"1em",viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink"},e,{style:Object.assign({verticalAlign:"-0.125em"},e.style),className:["antd-mobile-icon",e.className].filter(Boolean).join(" ")}),l.exports.createElement("g",{id:"UpCircleOutline-UpCircleOutline",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},l.exports.createElement("g",{id:"UpCircleOutline-\u7F16\u7EC4"},l.exports.createElement("rect",{id:"UpCircleOutline-\u77E9\u5F62",fill:"#FFFFFF",opacity:0,x:0,y:0,width:48,height:48}),l.exports.createElement("path",{d:"M24,2 C36.1502645,2 46,11.8497355 46,24 C46,36.1502645 36.1502645,46 24,46 C11.8497355,46 2,36.1502645 2,24 C2,11.8497355 11.8497355,2 24,2 Z M24,5 C13.5065898,5 5,13.5065898 5,24 C5,34.4934102 13.5065898,43 24,43 C34.4934102,43 43,34.4934102 43,24 C43,13.5065898 34.4934102,5 24,5 Z M24.6342571,17.9537046 C24.9541516,17.9465077 25.2763361,18.0411018 25.5483174,18.2386679 L25.6798814,18.3460374 L32.8698331,24.9163737 C32.952761,24.992155 33,25.0993153 33,25.2116534 L33,28.1878801 C33,28.408794 32.8209139,28.5878801 32.6,28.5878801 C32.5001308,28.5878801 32.403874,28.5505211 32.3301537,28.4831477 L24.614,21.431323 L24.614,21.431323 L16.6698394,28.6911828 C16.5067641,28.840211 16.2537542,28.8288236 16.1047261,28.6657483 C16.0373566,28.5920287 16,28.4957749 16,28.3959089 L16,25.4196582 C16,25.3073173 16.0472414,25.2001546 16.1301729,25.124373 L23.5480406,18.3460374 L23.5480406,18.3460374 C23.8119743,18.1048436 24.1396674,17.9752317 24.4720765,17.9558732 L24.6342571,17.9537046 Z",id:"UpCircleOutline-\u5F62\u72B6",fill:"currentColor",fillRule:"nonzero"}))))}function xe(e){const{value:r,defaultValue:t,onChange:i}=e,s=_t(),c=l.exports.useRef(r!==void 0?r:t);r!==void 0&&(c.current=r);const v=ne((a,d=!1)=>{const y=typeof a=="function"?a(c.current):a;if(!(!d&&y===c.current))return c.current=y,s(),i==null?void 0:i(y)});return[c.current,v]}function At(e,r){const t=ne(e);j(()=>{const i=r.current;if(!!i)if(window.ResizeObserver){let s;const c=new ResizeObserver(()=>{s=window.requestAnimationFrame(()=>t(i))});return c.observe(i),()=>{window.cancelAnimationFrame(s),c.disconnect()}}else t(i)},[r])}function It(e,r,t){const i=ne(e);l.exports.useEffect(()=>{const s=new MutationObserver(()=>{i()});if(!!r.current)return s.observe(r.current,t),()=>{s.disconnect()}},[r])}var Le={exports:{}},p={};/**
2
+ * @license React
3
+ * react-is.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var ie=Symbol.for("react.element"),ae=Symbol.for("react.portal"),B=Symbol.for("react.fragment"),W=Symbol.for("react.strict_mode"),z=Symbol.for("react.profiler"),D=Symbol.for("react.provider"),P=Symbol.for("react.context"),Mt=Symbol.for("react.server_context"),U=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),Tt=Symbol.for("react.offscreen"),ke;ke=Symbol.for("react.module.reference");function L(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case ie:switch(e=e.type,e){case B:case z:case W:case q:case Z:return e;default:switch(e=e&&e.$$typeof,e){case Mt:case P:case U:case V:case K:case D:return e;default:return r}}case ae:return r}}}p.ContextConsumer=P;p.ContextProvider=D;p.Element=ie;p.ForwardRef=U;p.Fragment=B;p.Lazy=V;p.Memo=K;p.Portal=ae;p.Profiler=z;p.StrictMode=W;p.Suspense=q;p.SuspenseList=Z;p.isAsyncMode=function(){return!1};p.isConcurrentMode=function(){return!1};p.isContextConsumer=function(e){return L(e)===P};p.isContextProvider=function(e){return L(e)===D};p.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ie};p.isForwardRef=function(e){return L(e)===U};p.isFragment=function(e){return L(e)===B};p.isLazy=function(e){return L(e)===V};p.isMemo=function(e){return L(e)===K};p.isPortal=function(e){return L(e)===ae};p.isProfiler=function(e){return L(e)===z};p.isStrictMode=function(e){return L(e)===W};p.isSuspense=function(e){return L(e)===q};p.isSuspenseList=function(e){return L(e)===Z};p.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===B||e===z||e===W||e===q||e===Z||e===Tt||typeof e=="object"&&e!==null&&(e.$$typeof===V||e.$$typeof===K||e.$$typeof===D||e.$$typeof===P||e.$$typeof===U||e.$$typeof===ke||e.getModuleId!==void 0)};p.typeOf=L;Le.exports=p;function Rt(e,r){let t=0;function i(s){E.Children.forEach(s,c=>{Le.exports.isFragment(c)?i(c.props.children):(r(c,t),t+=1)})}i(e)}const x="adm-tabs",Nt=()=>null,jt={activeLineMode:"auto",stretch:!0},Bt=e=>{var r;const t=ge(jt,e),i=l.exports.useRef(null),s=l.exports.useRef(null),c={};let v=null;const a=[];Rt(t.children,(f,h)=>{if(!E.isValidElement(f))return;const m=f.key;if(typeof m!="string")return;h===0&&(v=m);const w=a.push(f);c[m]=w-1});const[d,y]=xe({value:t.activeKey,defaultValue:(r=t.defaultActiveKey)!==null&&r!==void 0?r:v,onChange:f=>{var h;f!==null&&((h=t.onChange)===null||h===void 0||h.call(t,f))}}),[{x:o,width:b},C]=Q(()=>({x:0,width:0,config:{tension:300,clamp:!0}})),[{scrollLeft:n},u]=Q(()=>({scrollLeft:0,config:{tension:300,clamp:!0}})),[{leftMaskOpacity:_,rightMaskOpacity:F},O]=Q(()=>({leftMaskOpacity:0,rightMaskOpacity:0,config:{clamp:!0}}));function S(f=!1){const h=i.current;if(!h)return;const m=c[d];if(m===void 0){C.start({x:0,width:0,immediate:!0});return}const w=s.current;if(!w)return;const k=h.children.item(m+1),$=k.children.item(0),X=$.offsetLeft,G=$.offsetWidth,_e=k.offsetLeft,Fe=k.offsetWidth,H=h.offsetWidth,se=h.scrollWidth,Ee=h.scrollLeft,Se=w.offsetWidth;let M=0,J=0;if(t.activeLineMode==="auto"?(M=X,J=G):t.activeLineMode==="full"?(M=_e,J=Fe):M=X+(G-Se)/2,C.start({x:M,width:J,immediate:f}),se-H<=0)return;const Oe=ve(X-(H-G)/2,0,se-H);u.start({scrollLeft:Oe,from:{scrollLeft:Ee},immediate:f})}j(()=>{S(!o.isAnimating)},[]),je(()=>{S()},[d]),At(()=>{S(!o.isAnimating)},i),It(()=>{S(!o.isAnimating)},i,{subtree:!0,childList:!0,characterData:!0});const{run:I}=Ft((f=!1)=>{const h=i.current;if(!h)return;const m=h.scrollLeft,w=m>0,k=m+h.offsetWidth<h.scrollWidth;O.start({leftMaskOpacity:w?1:0,rightMaskOpacity:k?1:0,immediate:f})},{wait:100,trailing:!0,leading:!0});return j(()=>{I(!0)},[]),te(t,E.createElement("div",{className:x},E.createElement("div",{className:`${x}-header`},E.createElement(T.div,{className:A(`${x}-header-mask`,`${x}-header-mask-left`),style:{opacity:_}}),E.createElement(T.div,{className:A(`${x}-header-mask`,`${x}-header-mask-right`),style:{opacity:F}}),E.createElement(T.div,{className:`${x}-tab-list`,ref:i,scrollLeft:n,onScroll:I,role:"tablist"},E.createElement(T.div,{ref:s,className:`${x}-tab-line`,style:{width:t.activeLineMode==="fixed"?"var(--fixed-active-line-width, 30px)":b,x:o}}),a.map(f=>te(f.props,g("div",{className:A(`${x}-tab-wrapper`,{[`${x}-tab-wrapper-stretch`]:t.stretch}),children:g("div",{onClick:()=>{const{key:h}=f;f.props.disabled||h!=null&&y(h.toString())},className:A(`${x}-tab`,{[`${x}-tab-active`]:f.key===d,[`${x}-tab-disabled`]:f.props.disabled}),role:"tab","aria-selected":f.key===d,children:f.props.title})},f.key))))),a.map(f=>{if(f.props.children===void 0)return null;const h=f.key===d;return g(Be,{active:h,forceRender:f.props.forceRender,destroyOnClose:f.props.destroyOnClose,children:g("div",{className:`${x}-content`,style:{display:h?"block":"none"},children:f.props.children})},f.key)})))};var ee=We(Bt,{Tab:Nt});const R="adm-input",Wt={defaultValue:"",onlyShowClearWhenFocus:!0},zt=l.exports.forwardRef((e,r)=>{const t=ge(Wt,e),[i,s]=xe(t),[c,v]=l.exports.useState(!1),a=l.exports.useRef(!1),d=l.exports.useRef(null),{locale:y}=ze();l.exports.useImperativeHandle(r,()=>({clear:()=>{s("")},focus:()=>{var n;(n=d.current)===null||n===void 0||n.focus()},blur:()=>{var n;(n=d.current)===null||n===void 0||n.blur()},get nativeElement(){return d.current}}));const o=n=>{var u;t.onEnterPress&&(n.code==="Enter"||n.keyCode===13)&&t.onEnterPress(n),(u=t.onKeyDown)===null||u===void 0||u.call(t,n)};j(()=>{var n;if(!!t.enterKeyHint)return(n=d.current)===null||n===void 0||n.setAttribute("enterkeyhint",t.enterKeyHint),()=>{var u;(u=d.current)===null||u===void 0||u.removeAttribute("enterkeyhint")}},[t.enterKeyHint]);function b(){let n=i;t.type==="number"&&(n=n&&ve(parseFloat(n),t.min,t.max).toString()),n!==i&&s(n)}const C=(()=>!t.clearable||!i||t.readOnly?!1:t.onlyShowClearWhenFocus?c:!0)();return te(t,N("div",{className:A(`${R}`,t.disabled&&`${R}-disabled`),children:[g("input",{ref:d,className:`${R}-element`,value:i,onChange:n=>{s(n.target.value)},onFocus:n=>{var u;v(!0),(u=t.onFocus)===null||u===void 0||u.call(t,n)},onBlur:n=>{var u;v(!1),b(),(u=t.onBlur)===null||u===void 0||u.call(t,n)},id:t.id,placeholder:t.placeholder,disabled:t.disabled,readOnly:t.readOnly,maxLength:t.maxLength,minLength:t.minLength,max:t.max,min:t.min,autoComplete:t.autoComplete,autoFocus:t.autoFocus,pattern:t.pattern,inputMode:t.inputMode,type:t.type,name:t.name,autoCapitalize:t.autoCapitalize,autoCorrect:t.autoCorrect,onKeyDown:o,onKeyUp:t.onKeyUp,onCompositionStart:n=>{var u;a.current=!0,(u=t.onCompositionStart)===null||u===void 0||u.call(t,n)},onCompositionEnd:n=>{var u;a.current=!1,(u=t.onCompositionEnd)===null||u===void 0||u.call(t,n)},onClick:t.onClick,step:t.step,role:t.role,"aria-valuenow":t["aria-valuenow"],"aria-valuemax":t["aria-valuemax"],"aria-valuemin":t["aria-valuemin"],"aria-label":t["aria-label"]}),C&&g("div",{className:`${R}-clear`,onMouseDown:n=>{n.preventDefault()},onClick:()=>{var n,u;s(""),(n=t.onClear)===null||n===void 0||n.call(t),De()&&a.current&&(a.current=!1,(u=d.current)===null||u===void 0||u.blur())},"aria-label":y.Input.clear,children:g(Ot,{})})]}))});var Dt=zt;function ue(e){const{messages:r}=e;return g(fe,{children:g("div",{className:"chat-container",children:r&&r.map(t=>g("div",{className:t.type==="0"?"chat-container-msg-content-right":"chat-container-msg-content-left",children:g("div",{className:"chat-container-msg",children:t.value})}))})})}const Pt=e=>{let r={url:be.searchURL,data:{engine:"baidu",q:e,api_key:"83df36ff90429072fcd39b47811df999a8ed942f4f2492225fe6a7f494a07935"}};return ye.get(r)},Ut=e=>{let r={url:`${be.itemFilterURL}/output-images/`,data:{populate:"images",["filters[item_id][$eq]"]:e},header:{Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwiaWF0IjoxNjgwNDU1MTk2LCJleHAiOjE2ODMwNDcxOTZ9.aGgsBDn8uo5pxqINwms6doMU_EfF9rzkm96ZUsXuy0M"}};return ye.get(r)},qt="A young lady is wearing a beige knit sweater, a black shirt, black suit pants and a black blazer for a professional yet soft look.",Zt="\u8FD9\u5957\u642D\u914D\u5145\u5206\u8003\u8651\u5230\u4E86\u5929\u6C14\u3001\u6E29\u5EA6\u3001\u5DE5\u4F5C\u573A\u666F\u548C\u67D4\u548C\u98CE\u683C\uFF0C\u5C55\u73B0\u4E86\u4F60\u7684\u4E2A\u6027\u548C\u54C1\u5473\u3002\u7C73\u8272\u9488\u7EC7\u6BDB\u8863\u5916\u642D\u767D\u8272\u886C\u886B\uFF0C\u6253\u9020\u6E29\u99A8\u67D4\u548C\u7684\u611F\u89C9\uFF0C\u540C\u65F6\u642D\u914D\u9ED1\u8272\u9AD8\u8170\u5BBD\u817F\u88E4\uFF0C\u5C55\u73B0\u804C\u573A\u4F18\u96C5\u6C14\u8D28\u3002\u5916\u642D\u4E00\u4EF6\u9ED1\u8272\u897F\u88C5\u5916\u5957\uFF0C\u4F7F\u6574\u4F53\u9020\u578B\u66F4\u52A0\u804C\u573A\u6B63\u5F0F\uFF0C\u53C8\u4E0D\u5931\u67D4\u548C\u98CE\u683C\u3002";var de={description:qt,explanation:Zt,"item in the closet":[{id:"white-t-shirt",item:"Beige knit sweater"},{id:"white-t-shirt",item:"Black blazer"}],"item not in the closet":["black shirt","black suit pants"]};function Kt(){const[e,r]=l.exports.useState([]),t=()=>new Promise((s,c)=>{const v=de["item in the closet"].map(a=>Ut(a==null?void 0:a.id));Promise.all(v).then(a=>{const d=a.map(y=>{var C,n,u,_;const o=y==null?void 0:y.data[0],b={id:o==null?void 0:o.id,url:((_=(u=(n=(C=o==null?void 0:o.attributes)==null?void 0:C.images)==null?void 0:n.data[0])==null?void 0:u.attributes)==null?void 0:_.url)||"",from:"closet",link:""};return b.url=`http://106.52.238.44:8080${b.url}`,b});s(d)}).catch(a=>c(a))}),i=()=>{const s=de["item not in the closet"].map(c=>Pt(c));return new Promise((c,v)=>{Promise.all(s).then(a=>{const d=[];a.forEach(y=>{var b,C,n,u,_;const o=y==null?void 0:y.organic_results[2];if(o){if(o!=null&&o.related_images){const F={id:((C=(b=o==null?void 0:o.related_images)==null?void 0:b[0])==null?void 0:C.link)||"",url:((u=(n=o==null?void 0:o.related_images)==null?void 0:n[0])==null?void 0:u.image)||"",from:"not closet",link:((_=o==null?void 0:o.related_images[0])==null?void 0:_.link)||""};d.push(F)}else if(o!=null&&o.thumbnail){const F={id:(o==null?void 0:o.link)||"",url:(o==null?void 0:o.thumbnail)||"",from:"not closet",link:(o==null?void 0:o.link)||""};d.push(F)}}}),c(d)}).catch(a=>v(a))})};return l.exports.useEffect(()=>{(async()=>{const c=await t(),v=await i();r([...e,...c,...v])})()},[]),g(fe,{children:g("div",{className:"search-container",children:g("div",{className:"search-container-image",children:g(Ce,{wrap:!0,children:e.map(s=>g(Pe,{src:s.url},s.id))})})})})}const Vt=e=>{let r={url:"https://wef4y-stable-diffusion-webui-controlnet-docker.hf.space/sdapi/v1/txt2img",data:{prompt:"(8k, RAW photo, best quality, masterpiece:1.2), (realistic, photo-realistic:1.37),(Kpop idol), (aegyo sal:1), cute, professional lighting, photon mapping, radiosity, physically-based rendering, <lora:liyuuLora_liyuuV1:1>, standing,(simple white background:1.3),Fujifilm XT3,"+e,enable_hr:!1,denoising_strength:.7,firstphase_width:0,firstphase_height:0,hr_scale:2,hr_upscaler:"",hr_second_pass_steps:0,hr_resize_x:0,hr_resize_y:0,styles:[],seed:-1,subseed:-1,subseed_strength:0,seed_resize_from_h:-1,seed_resize_from_w:-1,sampler_name:"DPM++ SDE Karras",batch_size:1,n_iter:1,steps:24,cfg_scale:8,width:512,height:768,restore_faces:!1,tiling:!1,negative_prompt:"paintings, sketches, (worst quality:2), (low quality:2), (normal quality:2), lowres, normal quality, ((monochrome)), ((grayscale)), skin spots, acnes, skin blemishes, age spot, glans, lowres,bad anatomy,bad hands, text, error, missing fingers,extra digit, fewer digits, cropped, worstquality, low quality, normal quality,jpegartifacts,signature, watermark, username,blurry,bad feet,cropped,poorly drawn hands,poorly drawn face,mutation,deformed,worst quality,low quality,normal quality,jpeg artifacts,signature,watermark,extra fingers,fewer digits,extra limbs,extra arms,extra legs,malformed limbs,fused fingers,too many fingers,long neck,cross-eyed,mutated hands,polar lowres,bad body,bad proportions,gross proportions,text,error,missing fingers,missing arms,missing legs,extra digit,wrinkle, NSFW, nude",eta:0,s_churn:0,s_tmax:0,s_tmin:0,s_noise:1,override_settings:{},override_settings_restore_afterwards:!0,script_args:[],sampler_index:"DPM++ SDE Karras"},header:{Authorization:"Bearer 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"}};return we.post(r.url,r.data,{timeout:3e7,headers:{"Content-Type":"application/json;charset=UTF-8","with-credentials":!0,...r.header}})},Xt=e=>{const r={url:"https://wef4y-chat-js-server.hf.space/api/chat",data:{input:e},header:{Authorization:"Bearer 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"}};return we.post(r.url,r.data,{timeout:3e7,headers:{"Content-Type":"application/json;charset=UTF-8","with-credentials":!0,...r.header}})};var Gt="./assets/defaultImage.6ddd0d30.png";function Ht(e){const[r,t]=l.exports.useState(Gt),[i,s]=l.exports.useState(!1),[c,v]=l.exports.useState(""),[a,d]=l.exports.useState([]),[y,o]=l.exports.useState(!0),b=()=>{c!==""&&(d(C=>[...C,{type:"0",value:c}]),v(""),Xt(c).then(C=>{setTimeout(()=>{d(n=>{var u;return[...n,{type:"1",value:((u=C.data)==null?void 0:u.response)||""}]})},30)}))};return l.exports.useEffect(()=>{Vt("A young lady is wearing a white button-down shirt, a black midi skirt, light brown pumps, and a beige trench coat for a professional and elegant look.").then(C=>{C&&t("data:image/png;base64,"+C.data.images[0])})},[]),N("div",{className:"home",style:{backgroundImage:`url(${r})`},children:[g(Et,{fontSize:32,onClick:()=>s(!i)}),!i&&N(ee,{onChange:C=>{o(C==="chat")},children:[g(ee.Tab,{title:"\u7A7F\u642D",children:g(ue,{messages:a})},"chat"),g(ee.Tab,{title:"\u5355\u54C1",children:g(Kt,{})},"recommend")]}),i&&y&&g(ue,{messages:a}),y&&g("div",{className:"chat-container-input",children:N(Ce,{children:[g(St,{fontSize:24}),g(Dt,{placeholder:"\u8F93\u5165\u6587\u5B57",value:c,onChange:C=>{v(C)},onEnterPress:b}),g(Ue,{onClick:b,children:g($t,{fontSize:24})})]})})]})}var rr=$e(Ht);export{rr as default};
assets/home.eb82dbc6.css ADDED
@@ -0,0 +1 @@
 
 
1
+ .adm-tabs{--title-font-size: var(--adm-font-size-9);--content-padding: 12px;--active-line-height: 2px;--active-line-border-radius: var(--active-line-height);--active-line-color: var(--adm-color-primary);--active-title-color: var(--adm-color-primary);position:relative;min-width:0}.adm-tabs-header{position:relative;border-bottom:solid 1px var(--adm-color-border)}.adm-tabs-tab-list{display:flex;flex-wrap:nowrap;justify-content:flex-start;align-items:center;position:relative;overflow-x:scroll;scrollbar-width:none}.adm-tabs-tab-list::-webkit-scrollbar{display:none}.adm-tabs-tab-wrapper{padding:0 12px}.adm-tabs-tab-wrapper-stretch{flex:auto}.adm-tabs-tab{white-space:nowrap;padding:8px 0 10px;width:-moz-min-content;width:min-content;margin:0 auto;font-size:var(--title-font-size);position:relative;cursor:pointer}.adm-tabs-tab-active{color:var(--active-title-color)}.adm-tabs-tab-disabled{opacity:.5;cursor:not-allowed}.adm-tabs-tab-line{position:absolute;bottom:0;height:var(--active-line-height);background:var(--active-line-color);border-radius:var(--active-line-border-radius)}.adm-tabs-content{padding:var(--content-padding)}.adm-tabs-header-mask{position:absolute;top:0;bottom:0;z-index:1;width:30px;height:100%;pointer-events:none}.adm-tabs-header-mask-left{left:0;background:linear-gradient(to right,var(--adm-color-background),rgba(255,255,255,0))}.adm-tabs-header-mask-right{right:0;background:linear-gradient(to left,var(--adm-color-background),rgba(255,255,255,0))}.adm-input{--font-size: var(--adm-font-size-9);--color: var(--adm-color-text);--placeholder-color: var(--adm-color-light);--text-align: left;--background-color: transparent;display:flex;justify-content:flex-start;align-items:center;width:100%;max-width:100%;max-height:100%;min-height:24px;background-color:var(--background-color)}.adm-input-disabled{opacity:.4;cursor:not-allowed}.adm-input-element{flex:auto;display:inline-block;box-sizing:border-box;width:100%;max-width:100%;max-height:100%;padding:0;margin:0;color:var(--color);font-size:var(--font-size);line-height:1.5;background:transparent;border:0;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;min-height:1.5em;text-align:var(--text-align)}.adm-input-element::-moz-placeholder{color:var(--placeholder-color);font-family:inherit}.adm-input-element::placeholder{color:var(--placeholder-color);font-family:inherit}.adm-input-element:-webkit-autofill{background-color:transparent}.adm-input-element:-moz-read-only{cursor:default}.adm-input-element:read-only{cursor:default}.adm-input-element:invalid{box-shadow:none}.adm-input-element::-ms-clear{display:none}.adm-input-element::-ms-reveal{display:none}.adm-input-element::-webkit-search-cancel-button{display:none}.adm-input-element::-webkit-search-decoration{display:none}.adm-input-element:disabled{opacity:1}.adm-input-element[type=date],.adm-input-element[type=time],.adm-input-element[type=datetime-local]{min-height:1.5em}.adm-input-element[type=search]{-webkit-appearance:none}.adm-input-element[readonly]{pointer-events:none}.adm-input-clear{flex:none;margin-left:8px;color:var(--adm-color-light);padding:4px;cursor:pointer}.adm-input-clear:active{color:var(--adm-color-weak)}.adm-input-clear .antd-mobile-icon{display:block;font-size:var(--adm-font-size-7)}.chat-container{position:relative}.chat-container-msg-content-right{display:flex;flex-wrap:nowrap;justify-content:flex-end;word-wrap:normal;word-break:break-word}.chat-container-msg-content-left{display:flex;max-width:80vw;flex-wrap:nowrap;justify-content:flex-start;word-wrap:normal;word-break:break-word}.chat-container-msg{height:100%;line-height:4vw;background-color:#a9a9a9;border-radius:4vw;padding:1.333vw;margin:1.333vw 0}.chat-container-input{position:fixed;bottom:5.333vw;padding:1.333vw;border-radius:4vw;border:1px solid #ccc;left:4vw}.chat-container-input .adm-input{width:66.667vw}.chat-container-input .adm-button{padding:0;border:none;background-color:transparent}.search-container{position:relative}.search-container-image{--adm-image-width: 40vw;--adm-image-height: 40vw}.search-container .adm-image{border:1px solid #ccc;margin:.667vw;padding:1.333vw;border-radius:1.067vw}a{text-decoration:none;color:#666}.home{width:100%;height:100vh;background-size:cover;background-repeat:no-repeat}.home-header{position:absolute;height:100%}.home-content{height:66.667vw;background:#fff;border-radius:1.067vw}.home .adm-tabs{top:73.333vw;height:106.667vw;background-color:#fff}.home .adm-tabs-content{max-height:66.667vw;overflow:scroll}
assets/index.01c01a32.css ADDED
@@ -0,0 +1 @@
 
 
1
+ :root{--adm-radius-s: 4px;--adm-radius-m: 8px;--adm-radius-l: 12px;--adm-font-size-1: 9px;--adm-font-size-2: 10px;--adm-font-size-3: 11px;--adm-font-size-4: 12px;--adm-font-size-5: 13px;--adm-font-size-6: 14px;--adm-font-size-7: 15px;--adm-font-size-8: 16px;--adm-font-size-9: 17px;--adm-font-size-10: 18px;--adm-color-primary: #1677ff;--adm-color-success: #00b578;--adm-color-warning: #ff8f1f;--adm-color-danger: #ff3141;--adm-color-text: #333333;--adm-color-text-secondary: #666666;--adm-color-weak: #999999;--adm-color-light: #cccccc;--adm-color-border: #eeeeee;--adm-color-background: #ffffff;--adm-color-white: #ffffff;--adm-color-box: #f5f5f5;--adm-color-text-light-solid: var(--adm-color-white);--adm-color-text-dark-solid: #000000;--adm-color-fill-content: var(--adm-color-box);--adm-font-size-main: var(--adm-font-size-5);--adm-font-family: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, segoe ui, arial, roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--adm-border-color: var(--adm-color-border)}html[data-prefers-color-scheme=dark]{--adm-color-primary: #3086ff;--adm-color-success: #34b368;--adm-color-warning: #ffa930;--adm-color-danger: #ff4a58;--adm-color-text: #e6e6e6;--adm-color-text-secondary: #b3b3b3;--adm-color-weak: #808080;--adm-color-light: #4d4d4d;--adm-color-border: #2b2b2b;--adm-color-box: #0a0a0a;--adm-color-background: #1a1a1a;--adm-border-color: var(--adm-color-border)}:root{-webkit-tap-highlight-color:rgba(0,0,0,0)}body{color:var(--adm-color-text);font-size:var(--adm-font-size-main);font-family:var(--adm-font-family)}a,button{cursor:pointer}a{color:var(--adm-color-primary);transition:opacity ease-in-out .2s}a:active{opacity:.8}.adm-plain-anchor{color:unset;transition:none}.adm-plain-anchor:active{opacity:unset}body.adm-overflow-hidden{overflow:hidden!important}div.adm-px-tester{--size: 1;height:calc(var(--size) / 2 * 2px);width:0;position:fixed;right:-100vw;bottom:-100vh;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.adm-image{--width: var(--adm-image-width, auto);--height: var(--adm-image-height, auto);width:var(--width);height:var(--height);display:block;overflow:hidden}.adm-image-img{width:100%;height:100%}.adm-image-tip{position:relative;background-color:var(--adm-color-fill-content);height:100%;min-height:24px;min-width:24px}.adm-image-tip>svg{width:24px;height:24px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:var(--adm-color-weak)}.adm-button{--color: var(--adm-color-text-light-solid);--text-color: var(--adm-button-text-color, var(--adm-color-text));--background-color: var(--adm-button-background-color, var(--adm-color-background));--border-radius: var(--adm-button-border-radius, 4px);--border-width: var(--adm-button-border-width, 1px);--border-style: var(--adm-button-border-style, solid);--border-color: var(--adm-button-border-color, var(--adm-color-border));color:var(--text-color);background-color:var(--background-color);position:relative;display:inline-block;box-sizing:border-box;height:auto;padding:7px 12px;margin:0;font-size:var(--adm-font-size-9);line-height:1.4;text-align:center;border:var(--border-width) var(--border-style) var(--border-color);border-radius:var(--border-radius);cursor:pointer;transition:opacity ease .15s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.adm-button:focus{outline:none}.adm-button:before{position:absolute;top:0;left:0;transform:translate(calc(var(--border-width) * -1),calc(var(--border-width) * -1));width:100%;height:100%;background-color:#000;border:var(--border-width) var(--border-style) #000;border-radius:var(--border-radius);opacity:0;content:" ";box-sizing:content-box}.adm-button:active:before{opacity:.08}.adm-button-default.adm-button-fill-outline{--background-color: transparent;--border-color: var(--adm-color-text)}.adm-button-default.adm-button-fill-none{--background-color: transparent;--border-width: 0px}.adm-button:not(.adm-button-default){--text-color: var(--adm-color-text-light-solid);--background-color: var(--color);--border-color: var(--color)}.adm-button:not(.adm-button-default).adm-button-fill-outline{--text-color: var(--color);--background-color: transparent}.adm-button:not(.adm-button-default).adm-button-fill-none{--text-color: var(--color);--background-color: transparent;--border-width: 0px}.adm-button-primary{--color: var(--adm-color-primary)}.adm-button-success{--color: var(--adm-color-success)}.adm-button-danger{--color: var(--adm-color-danger)}.adm-button-warning{--color: var(--adm-color-warning)}.adm-button-block{display:block;width:100%}.adm-button-disabled{cursor:not-allowed;opacity:.4}.adm-button-disabled:active:before{display:none}.adm-button.adm-button-mini{padding-top:3px;padding-bottom:3px;font-size:var(--adm-font-size-main)}.adm-button.adm-button-mini.adm-button-shape-rounded{padding-left:9px;padding-right:9px}.adm-button.adm-button-small{padding-top:3px;padding-bottom:3px;font-size:var(--adm-font-size-7)}.adm-button.adm-button-large{padding-top:11px;padding-bottom:11px;font-size:var(--adm-font-size-10)}.adm-button.adm-button-shape-rounded{--border-radius: 1000px}.adm-button.adm-button-shape-rectangular{--border-radius: 0}.adm-button-loading{vertical-align:bottom}.adm-button-loading-wrapper{display:flex;height:1.4em;align-items:center;justify-content:center}.adm-button-loading-wrapper>.adm-loading{opacity:.6}.adm-dot-loading{display:inline-block}.adm-space-item{flex:none}.adm-space{display:inline-flex;--gap: 8px;--gap-vertical: var(--gap);--gap-horizontal: var(--gap)}.adm-space-vertical{flex-direction:column}.adm-space-vertical>.adm-space-item{margin-bottom:var(--gap-vertical)}.adm-space-vertical>.adm-space-item:last-child{margin-bottom:0}.adm-space-horizontal{flex-direction:row}.adm-space-horizontal>.adm-space-item{margin-right:var(--gap-horizontal)}.adm-space-horizontal>.adm-space-item:last-child{margin-right:0}.adm-space-horizontal.adm-space-wrap{flex-wrap:wrap;margin-bottom:calc(var(--gap-vertical) * -1)}.adm-space-horizontal.adm-space-wrap>.adm-space-item{padding-bottom:var(--gap-vertical)}.adm-space.adm-space-block{display:flex}.adm-space-align-center{align-items:center}.adm-space-align-start{align-items:flex-start}.adm-space-align-end{align-items:flex-end}.adm-space-align-baseline{align-items:baseline}.adm-space-justify-center{justify-content:center}.adm-space-justify-start{justify-content:flex-start}.adm-space-justify-end{justify-content:flex-end}.adm-space-justify-between{justify-content:space-between}.adm-space-justify-around{justify-content:space-around}.adm-space-justify-evenly{justify-content:space-evenly}.adm-space-justify-stretch{justify-content:stretch}
assets/index.aeab7df9.css ADDED
@@ -0,0 +1 @@
 
 
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}a{text-decoration:none;color:#666}._page_1hga9_8{height:100vh;display:flex;flex-direction:column}._content_1hga9_13{flex:1;overflow-y:auto}._footer_1hga9_17{height:13.333vw;display:flex;line-height:13.333vw;text-align:center;justify-content:space-around;border-top:1px solid #eee}._footer_1hga9_17 ._item_1hga9_25{flex:1;font-size:3.467vw;color:#666}._footer_1hga9_17 ._item_1hga9_25._active_1hga9_30{color:red;font-weight:700}
assets/index.bd3517ca.js ADDED
The diff for this file is too large to render. See raw diff
 
assets/index.c5d86e93.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ import{R as Z,r as w,b as Or,j as C,a as ct,F as Wt}from"./index.bd3517ca.js";var ae=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};const En=!!(typeof window!="undefined"&&typeof document!="undefined"&&window.document&&window.document.createElement);En&&document.addEventListener("touchstart",()=>{},!0);var Ne=function(){return Ne=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Ne.apply(this,arguments)};function Ar(e,t,n,r){function i(s){return s instanceof n?s:new n(function(o){o(s)})}return new(n||(n=Promise))(function(s,o){function c(p){try{f(r.next(p))}catch(g){o(g)}}function d(p){try{f(r.throw(p))}catch(g){o(g)}}function f(p){p.done?s(p.value):i(p.value).then(c,d)}f((r=r.apply(e,t||[])).next())})}function Pr(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Gt(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,s=[],o;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(c){o={error:c}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function Rf(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}function Rr(e,t){function n(r,i){if(typeof r!="object"||typeof i!="object"||Array.isArray(r)||Array.isArray(i))return i!==void 0?i:r;const s={};for(const o in r)r.hasOwnProperty(o)&&(s[o]=n(r[o],i[o]));return s}return n(e,t)}const V="${label} is not a valid ${type}",Er={locale:"en",common:{confirm:"Confirm",cancel:"Cancel",loading:"Loading",close:"Close"},Calendar:{markItems:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],renderYearAndMonth:(e,t)=>`${e}/${t}`},Cascader:{placeholder:"Selecting"},Dialog:{ok:"OK"},DatePicker:{tillNow:"Till Now"},ErrorBlock:{default:{title:"Oops, something went wrong",description:"Please wait a minute and try again"},busy:{title:"Oops, not loading",description:"Try to refresh the page"},disconnected:{title:"Network is busy",description:"Try to refresh the page"},empty:{title:"Hmm, couldn't find that...",description:"Want to try a new search?"}},Form:{required:"Required",optional:"Optional",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:V,method:V,array:V,object:V,number:V,date:V,boolean:V,integer:V,float:V,regexp:V,email:V,url:V,hex:V},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},ImageUploader:{uploading:"Uploading...",upload:"Upload"},InfiniteScroll:{noMore:"No more",failedToLoad:"Failed to load",retry:"Retry"},Input:{clear:"clear"},Mask:{name:"Mask"},Modal:{ok:"OK"},PasscodeInput:{name:"Passcode Input"},PullToRefresh:{pulling:"Scroll down to refresh",canRelease:"Release to refresh immediately",complete:"Refresh successful"},SearchBar:{name:"Search Bar"},Slider:{name:"Slider"},Stepper:{decrease:"decrease",increase:"increase"},Switch:{name:"Switch"},Selector:{name:"Selector"}},N="${label}\u4E0D\u662F\u4E00\u4E2A\u6709\u6548\u7684${type}",jr=Rr(Er,{locale:"zh-CH",common:{confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",loading:"\u52A0\u8F7D\u4E2D",close:"\u5173\u95ED"},Calendar:{markItems:["\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u65E5"],renderYearAndMonth:(e,t)=>`${e}\u5E74${t}\u6708`},Cascader:{placeholder:"\u8BF7\u9009\u62E9"},Dialog:{ok:"\u6211\u77E5\u9053\u4E86"},DatePicker:{tillNow:"\u81F3\u4ECA"},ErrorBlock:{default:{title:"\u9875\u9762\u9047\u5230\u4E00\u4E9B\u5C0F\u95EE\u9898",description:"\u5F85\u4F1A\u6765\u8BD5\u8BD5"},busy:{title:"\u524D\u65B9\u62E5\u5835",description:"\u5237\u65B0\u8BD5\u8BD5"},disconnected:{title:"\u7F51\u7EDC\u6709\u70B9\u5FD9",description:"\u52A8\u52A8\u624B\u6307\u5E2E\u5FD9\u4FEE\u590D"},empty:{title:"\u6CA1\u6709\u627E\u5230\u4F60\u9700\u8981\u7684\u4E1C\u897F",description:"\u627E\u627E\u5176\u4ED6\u7684\u5427"}},Form:{required:"\u5FC5\u586B",optional:"\u9009\u586B",defaultValidateMessages:{default:"\u5B57\u6BB5\u9A8C\u8BC1\u9519\u8BEF${label}",required:"\u8BF7\u8F93\u5165${label}",enum:"${label}\u5FC5\u987B\u662F\u5176\u4E2D\u4E00\u4E2A[${enum}]",whitespace:"${label}\u4E0D\u80FD\u4E3A\u7A7A\u5B57\u7B26",date:{format:"${label}\u65E5\u671F\u683C\u5F0F\u65E0\u6548",parse:"${label}\u4E0D\u80FD\u8F6C\u6362\u4E3A\u65E5\u671F",invalid:"${label}\u662F\u4E00\u4E2A\u65E0\u6548\u65E5\u671F"},types:{string:N,method:N,array:N,object:N,number:N,date:N,boolean:N,integer:N,float:N,regexp:N,email:N,url:N,hex:N},string:{len:"${label}\u987B\u4E3A${len}\u4E2A\u5B57\u7B26",min:"${label}\u6700\u5C11${min}\u4E2A\u5B57\u7B26",max:"${label}\u6700\u591A${max}\u4E2A\u5B57\u7B26",range:"${label}\u987B\u5728${min}-${max}\u5B57\u7B26\u4E4B\u95F4"},number:{len:"${label}\u5FC5\u987B\u7B49\u4E8E${len}",min:"${label}\u6700\u5C0F\u503C\u4E3A${min}",max:"${label}\u6700\u5927\u503C\u4E3A${max}",range:"${label}\u987B\u5728${min}-${max}\u4E4B\u95F4"},array:{len:"\u987B\u4E3A${len}\u4E2A${label}",min:"\u6700\u5C11${min}\u4E2A${label}",max:"\u6700\u591A${max}\u4E2A${label}",range:"${label}\u6570\u91CF\u987B\u5728${min}-${max}\u4E4B\u95F4"},pattern:{mismatch:"${label}\u4E0E\u6A21\u5F0F\u4E0D\u5339\u914D${pattern}"}}},ImageUploader:{uploading:"\u4E0A\u4F20\u4E2D...",upload:"\u4E0A\u4F20"},InfiniteScroll:{noMore:"\u6CA1\u6709\u66F4\u591A\u4E86",failedToLoad:"\u52A0\u8F7D\u5931\u8D25",retry:"\u91CD\u65B0\u52A0\u8F7D"},Input:{clear:"\u6E05\u9664"},Mask:{name:"\u80CC\u666F\u8499\u5C42"},Modal:{ok:"\u6211\u77E5\u9053\u4E86"},PasscodeInput:{name:"\u5BC6\u7801\u8F93\u5165\u6846"},PullToRefresh:{pulling:"\u4E0B\u62C9\u5237\u65B0",canRelease:"\u91CA\u653E\u7ACB\u5373\u5237\u65B0",complete:"\u5237\u65B0\u6210\u529F"},SearchBar:{name:"\u641C\u7D22\u6846"},Slider:{name:"\u6ED1\u52A8\u8F93\u5165\u6761"},Stepper:{decrease:"\u51CF\u5C11",increase:"\u589E\u52A0"},Switch:{name:"\u5F00\u5173"},Selector:{name:"\u9009\u62E9\u7EC4"}});var Cr=jr;const kr={current:{locale:Cr}};function Mr(){return kr.current}const Fr=Z.createContext(null);function Ef(){var e;return(e=w.exports.useContext(Fr))!==null&&e!==void 0?e:Mr()}function jf(e,t){const n=e;for(const r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n}var jn={exports:{}};/*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var r=[],i=0;i<arguments.length;i++){var s=arguments[i];if(!!s){var o=typeof s;if(o==="string"||o==="number")r.push(s);else if(Array.isArray(s)){if(s.length){var c=n.apply(null,s);c&&r.push(c)}}else if(o==="object"){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){r.push(s.toString());continue}for(var d in s)t.call(s,d)&&s[d]&&r.push(d)}}}return r.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n})()})(jn);var We=jn.exports;function Ge(e,t){const n=Object.assign({},t.props);e.className&&(n.className=We(t.props.className,e.className)),e.style&&(n.style=Object.assign(Object.assign({},n.style),e.style)),e.tabIndex!==void 0&&(n.tabIndex=e.tabIndex);for(const r in e)!e.hasOwnProperty(r)||(r.startsWith("data-")||r.startsWith("aria-"))&&(n[r]=e[r]);return Z.cloneElement(t,n)}var Vr=typeof ae=="object"&&ae&&ae.Object===Object&&ae,Cn=Vr,Nr=Cn,Dr=typeof self=="object"&&self&&self.Object===Object&&self,Lr=Nr||Dr||Function("return this")(),St=Lr,Ur=St,qr=Ur.Symbol,kn=qr,Ht=kn,Mn=Object.prototype,Br=Mn.hasOwnProperty,zr=Mn.toString,pe=Ht?Ht.toStringTag:void 0;function Qr(e){var t=Br.call(e,pe),n=e[pe];try{e[pe]=void 0;var r=!0}catch{}var i=zr.call(e);return r&&(t?e[pe]=n:delete e[pe]),i}var Wr=Qr,Gr=Object.prototype,Hr=Gr.toString;function Kr(e){return Hr.call(e)}var Zr=Kr,Kt=kn,Jr=Wr,Xr=Zr,Yr="[object Null]",ei="[object Undefined]",Zt=Kt?Kt.toStringTag:void 0;function ti(e){return e==null?e===void 0?ei:Yr:Zt&&Zt in Object(e)?Jr(e):Xr(e)}var It=ti;function ni(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Ot=ni,ri=It,ii=Ot,si="[object AsyncFunction]",oi="[object Function]",ai="[object GeneratorFunction]",ui="[object Proxy]";function fi(e){if(!ii(e))return!1;var t=ri(e);return t==oi||t==ai||t==si||t==ui}var Fn=fi,ci=St,li=ci["__core-js_shared__"],di=li,rt=di,Jt=function(){var e=/[^.]+$/.exec(rt&&rt.keys&&rt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function hi(e){return!!Jt&&Jt in e}var pi=hi,mi=Function.prototype,gi=mi.toString;function vi(e){if(e!=null){try{return gi.call(e)}catch{}try{return e+""}catch{}}return""}var yi=vi,bi=Fn,_i=pi,wi=Ot,xi=yi,$i=/[\\^$.*+?()[\]{}|]/g,Ti=/^\[object .+?Constructor\]$/,Si=Function.prototype,Ii=Object.prototype,Oi=Si.toString,Ai=Ii.hasOwnProperty,Pi=RegExp("^"+Oi.call(Ai).replace($i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ri(e){if(!wi(e)||_i(e))return!1;var t=bi(e)?Pi:Ti;return t.test(xi(e))}var Ei=Ri;function ji(e,t){return e==null?void 0:e[t]}var Ci=ji,ki=Ei,Mi=Ci;function Fi(e,t){var n=Mi(e,t);return ki(n)?n:void 0}var Vi=Fi,Ni=Vi,Di=function(){try{var e=Ni(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Vn=Di,Xt=Vn;function Li(e,t,n){t=="__proto__"&&Xt?Xt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Nn=Li;function Ui(e,t){return e===t||e!==e&&t!==t}var Dn=Ui,qi=Nn,Bi=Dn,zi=Object.prototype,Qi=zi.hasOwnProperty;function Wi(e,t,n){var r=e[t];(!(Qi.call(e,t)&&Bi(r,n))||n===void 0&&!(t in e))&&qi(e,t,n)}var Gi=Wi,Hi=Gi,Ki=Nn;function Zi(e,t,n,r){var i=!n;n||(n={});for(var s=-1,o=t.length;++s<o;){var c=t[s],d=r?r(n[c],e[c],c,n,e):void 0;d===void 0&&(d=e[c]),i?Ki(n,c,d):Hi(n,c,d)}return n}var Ji=Zi;function Xi(e){return e}var Ln=Xi;function Yi(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var es=Yi,ts=es,Yt=Math.max;function ns(e,t,n){return t=Yt(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=Yt(r.length-t,0),o=Array(s);++i<s;)o[i]=r[t+i];i=-1;for(var c=Array(t+1);++i<t;)c[i]=r[i];return c[t]=n(o),ts(e,this,c)}}var rs=ns;function is(e){return function(){return e}}var ss=is,os=ss,en=Vn,as=Ln,us=en?function(e,t){return en(e,"toString",{configurable:!0,enumerable:!1,value:os(t),writable:!0})}:as,fs=us,cs=800,ls=16,ds=Date.now;function hs(e){var t=0,n=0;return function(){var r=ds(),i=ls-(r-n);if(n=r,i>0){if(++t>=cs)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var ps=hs,ms=fs,gs=ps,vs=gs(ms),ys=vs,bs=Ln,_s=rs,ws=ys;function xs(e,t){return ws(_s(e,t,bs),e+"")}var $s=xs,Ts=9007199254740991;function Ss(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ts}var Un=Ss,Is=Fn,Os=Un;function As(e){return e!=null&&Os(e.length)&&!Is(e)}var qn=As,Ps=9007199254740991,Rs=/^(?:0|[1-9]\d*)$/;function Es(e,t){var n=typeof e;return t=t==null?Ps:t,!!t&&(n=="number"||n!="symbol"&&Rs.test(e))&&e>-1&&e%1==0&&e<t}var Bn=Es,js=Dn,Cs=qn,ks=Bn,Ms=Ot;function Fs(e,t,n){if(!Ms(n))return!1;var r=typeof t;return(r=="number"?Cs(n)&&ks(t,n.length):r=="string"&&t in n)?js(n[t],e):!1}var Vs=Fs,Ns=$s,Ds=Vs;function Ls(e){return Ns(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&Ds(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++r<i;){var c=n[r];c&&e(t,c,r,s)}return t})}var Us=Ls;function qs(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Bs=qs;function zs(e){return e!=null&&typeof e=="object"}var At=zs,Qs=It,Ws=At,Gs="[object Arguments]";function Hs(e){return Ws(e)&&Qs(e)==Gs}var Ks=Hs,tn=Ks,Zs=At,zn=Object.prototype,Js=zn.hasOwnProperty,Xs=zn.propertyIsEnumerable,Ys=tn(function(){return arguments}())?tn:function(e){return Zs(e)&&Js.call(e,"callee")&&!Xs.call(e,"callee")},eo=Ys,to=Array.isArray,no=to,lt={exports:{}};function ro(){return!1}var io=ro;(function(e,t){var n=St,r=io,i=t&&!t.nodeType&&t,s=i&&!0&&e&&!e.nodeType&&e,o=s&&s.exports===i,c=o?n.Buffer:void 0,d=c?c.isBuffer:void 0,f=d||r;e.exports=f})(lt,lt.exports);var so=It,oo=Un,ao=At,uo="[object Arguments]",fo="[object Array]",co="[object Boolean]",lo="[object Date]",ho="[object Error]",po="[object Function]",mo="[object Map]",go="[object Number]",vo="[object Object]",yo="[object RegExp]",bo="[object Set]",_o="[object String]",wo="[object WeakMap]",xo="[object ArrayBuffer]",$o="[object DataView]",To="[object Float32Array]",So="[object Float64Array]",Io="[object Int8Array]",Oo="[object Int16Array]",Ao="[object Int32Array]",Po="[object Uint8Array]",Ro="[object Uint8ClampedArray]",Eo="[object Uint16Array]",jo="[object Uint32Array]",E={};E[To]=E[So]=E[Io]=E[Oo]=E[Ao]=E[Po]=E[Ro]=E[Eo]=E[jo]=!0;E[uo]=E[fo]=E[xo]=E[co]=E[$o]=E[lo]=E[ho]=E[po]=E[mo]=E[go]=E[vo]=E[yo]=E[bo]=E[_o]=E[wo]=!1;function Co(e){return ao(e)&&oo(e.length)&&!!E[so(e)]}var ko=Co;function Mo(e){return function(t){return e(t)}}var Fo=Mo,dt={exports:{}};(function(e,t){var n=Cn,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,s=i&&i.exports===r,o=s&&n.process,c=function(){try{var d=i&&i.require&&i.require("util").types;return d||o&&o.binding&&o.binding("util")}catch{}}();e.exports=c})(dt,dt.exports);var Vo=ko,No=Fo,nn=dt.exports,rn=nn&&nn.isTypedArray,Do=rn?No(rn):Vo,Lo=Do,Uo=Bs,qo=eo,Bo=no,zo=lt.exports,Qo=Bn,Wo=Lo,Go=Object.prototype,Ho=Go.hasOwnProperty;function Ko(e,t){var n=Bo(e),r=!n&&qo(e),i=!n&&!r&&zo(e),s=!n&&!r&&!i&&Wo(e),o=n||r||i||s,c=o?Uo(e.length,String):[],d=c.length;for(var f in e)(t||Ho.call(e,f))&&!(o&&(f=="length"||i&&(f=="offset"||f=="parent")||s&&(f=="buffer"||f=="byteLength"||f=="byteOffset")||Qo(f,d)))&&c.push(f);return c}var Zo=Ko,Jo=Object.prototype;function Xo(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Jo;return e===n}var Yo=Xo;function ea(e,t){return function(n){return e(t(n))}}var ta=ea,na=ta,ra=na(Object.keys,Object),ia=ra,sa=Yo,oa=ia,aa=Object.prototype,ua=aa.hasOwnProperty;function fa(e){if(!sa(e))return oa(e);var t=[];for(var n in Object(e))ua.call(e,n)&&n!="constructor"&&t.push(n);return t}var ca=fa,la=Zo,da=ca,ha=qn;function pa(e){return ha(e)?la(e):da(e)}var ma=pa,ga=Ji,va=Us,ya=ma,ba=va(function(e,t,n,r){ga(t,ya(t),e,r)}),_a=ba;function He(...e){function t(r,i){return i===void 0?r:i}let n=Object.assign({},e[0]);for(let r=1;r<e.length;r++)n=_a(n,e[r],t);return n}var wa=function(e){return function(t,n){var r=w.exports.useRef(!1);e(function(){return function(){r.current=!1}},[]),e(function(){if(!r.current)r.current=!0;else return t()},n)}},Qn=function(e){return typeof e=="function"},xa=!1,$a=xa;function sn(e,t){if(e===t)return!0;for(var n=0;n<e.length;n++)if(!Object.is(e[n],t[n]))return!1;return!0}function Ta(e){var t=w.exports.useRef(e);return t.current=e,t}var Sa=function(e){$a&&(Qn(e)||console.error("useUnmount expected parameter is a function, got ".concat(typeof e)));var t=Ta(e);w.exports.useEffect(function(){return function(){t.current()}},[])},Ia=Sa,Oa=!!(typeof window!="undefined"&&window.document&&window.document.createElement),Wn=Oa;function ht(e,t){if(!!Wn){if(!e)return t;var n;return Qn(e)?n=e():"current"in e?n=e.current:n=e,n}}var Aa=function(e){var t=function(n,r,i){var s=w.exports.useRef(!1),o=w.exports.useRef([]),c=w.exports.useRef([]),d=w.exports.useRef();e(function(){var f,p=Array.isArray(i)?i:[i],g=p.map(function(m){return ht(m)});if(!s.current){s.current=!0,o.current=g,c.current=r,d.current=n();return}(g.length!==o.current.length||!sn(g,o.current)||!sn(r,c.current))&&((f=d.current)===null||f===void 0||f.call(d),o.current=g,c.current=r,d.current=n())}),Ia(function(){var f;(f=d.current)===null||f===void 0||f.call(d),s.current=!1})};return t},Pa=Aa,Ra=Pa(w.exports.useEffect),Ea=Ra;(function(){if(typeof window!="object")return;if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype){"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});return}function e(a){try{return a.defaultView&&a.defaultView.frameElement||null}catch{return null}}var t=function(a){for(var u=a,l=e(u);l;)u=l.ownerDocument,l=e(u);return u}(window.document),n=[],r=null,i=null;function s(a){this.time=a.time,this.target=a.target,this.rootBounds=y(a.rootBounds),this.boundingClientRect=y(a.boundingClientRect),this.intersectionRect=y(a.intersectionRect||x()),this.isIntersecting=!!a.intersectionRect;var u=this.boundingClientRect,l=u.width*u.height,v=this.intersectionRect,_=v.width*v.height;l?this.intersectionRatio=Number((_/l).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}function o(a,u){var l=u||{};if(typeof a!="function")throw new Error("callback must be a function");if(l.root&&l.root.nodeType!=1&&l.root.nodeType!=9)throw new Error("root must be a Document or Element");this._checkForIntersections=d(this._checkForIntersections.bind(this),this.THROTTLE_TIMEOUT),this._callback=a,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(l.rootMargin),this.thresholds=this._initThresholds(l.threshold),this.root=l.root||null,this.rootMargin=this._rootMarginValues.map(function(v){return v.value+v.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}o.prototype.THROTTLE_TIMEOUT=100,o.prototype.POLL_INTERVAL=null,o.prototype.USE_MUTATION_OBSERVER=!0,o._setupCrossOriginUpdater=function(){return r||(r=function(a,u){!a||!u?i=x():i=b(a,u),n.forEach(function(l){l._checkForIntersections()})}),r},o._resetCrossOriginUpdater=function(){r=null,i=null},o.prototype.observe=function(a){var u=this._observationTargets.some(function(l){return l.element==a});if(!u){if(!(a&&a.nodeType==1))throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:a,entry:null}),this._monitorIntersections(a.ownerDocument),this._checkForIntersections()}},o.prototype.unobserve=function(a){this._observationTargets=this._observationTargets.filter(function(u){return u.element!=a}),this._unmonitorIntersections(a.ownerDocument),this._observationTargets.length==0&&this._unregisterInstance()},o.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},o.prototype.takeRecords=function(){var a=this._queuedEntries.slice();return this._queuedEntries=[],a},o.prototype._initThresholds=function(a){var u=a||[0];return Array.isArray(u)||(u=[u]),u.sort().filter(function(l,v,_){if(typeof l!="number"||isNaN(l)||l<0||l>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return l!==_[v-1]})},o.prototype._parseRootMargin=function(a){var u=a||"0px",l=u.split(/\s+/).map(function(v){var _=/^(-?\d*\.?\d+)(px|%)$/.exec(v);if(!_)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(_[1]),unit:_[2]}});return l[1]=l[1]||l[0],l[2]=l[2]||l[0],l[3]=l[3]||l[1],l},o.prototype._monitorIntersections=function(a){var u=a.defaultView;if(!!u&&this._monitoringDocuments.indexOf(a)==-1){var l=this._checkForIntersections,v=null,_=null;this.POLL_INTERVAL?v=u.setInterval(l,this.POLL_INTERVAL):(f(u,"resize",l,!0),f(a,"scroll",l,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in u&&(_=new u.MutationObserver(l),_.observe(a,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))),this._monitoringDocuments.push(a),this._monitoringUnsubscribes.push(function(){var A=a.defaultView;A&&(v&&A.clearInterval(v),p(A,"resize",l,!0)),p(a,"scroll",l,!0),_&&_.disconnect()});var P=this.root&&(this.root.ownerDocument||this.root)||t;if(a!=P){var R=e(a);R&&this._monitorIntersections(R.ownerDocument)}}},o.prototype._unmonitorIntersections=function(a){var u=this._monitoringDocuments.indexOf(a);if(u!=-1){var l=this.root&&(this.root.ownerDocument||this.root)||t,v=this._observationTargets.some(function(R){var A=R.element.ownerDocument;if(A==a)return!0;for(;A&&A!=l;){var k=e(A);if(A=k&&k.ownerDocument,A==a)return!0}return!1});if(!v){var _=this._monitoringUnsubscribes[u];if(this._monitoringDocuments.splice(u,1),this._monitoringUnsubscribes.splice(u,1),_(),a!=l){var P=e(a);P&&this._unmonitorIntersections(P.ownerDocument)}}}},o.prototype._unmonitorAllIntersections=function(){var a=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var u=0;u<a.length;u++)a[u]()},o.prototype._checkForIntersections=function(){if(!(!this.root&&r&&!i)){var a=this._rootIsInDom(),u=a?this._getRootRect():x();this._observationTargets.forEach(function(l){var v=l.element,_=m(v),P=this._rootContainsTarget(v),R=l.entry,A=a&&P&&this._computeTargetAndRootIntersection(v,_,u),k=null;this._rootContainsTarget(v)?(!r||this.root)&&(k=u):k=x();var j=l.entry=new s({time:c(),target:v,boundingClientRect:_,rootBounds:k,intersectionRect:A});R?a&&P?this._hasCrossedThreshold(R,j)&&this._queuedEntries.push(j):R&&R.isIntersecting&&this._queuedEntries.push(j):this._queuedEntries.push(j)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},o.prototype._computeTargetAndRootIntersection=function(a,u,l){if(window.getComputedStyle(a).display!="none"){for(var v=u,_=T(a),P=!1;!P&&_;){var R=null,A=_.nodeType==1?window.getComputedStyle(_):{};if(A.display=="none")return null;if(_==this.root||_.nodeType==9)if(P=!0,_==this.root||_==t)r&&!this.root?!i||i.width==0&&i.height==0?(_=null,R=null,v=null):R=i:R=l;else{var k=T(_),j=k&&m(k),H=k&&this._computeTargetAndRootIntersection(k,j,l);j&&H?(_=k,R=b(j,H)):(_=null,v=null)}else{var se=_.ownerDocument;_!=se.body&&_!=se.documentElement&&A.overflow!="visible"&&(R=m(_))}if(R&&(v=g(R,v)),!v)break;_=_&&T(_)}return v}},o.prototype._getRootRect=function(){var a;if(this.root&&!I(this.root))a=m(this.root);else{var u=I(this.root)?this.root:t,l=u.documentElement,v=u.body;a={top:0,left:0,right:l.clientWidth||v.clientWidth,width:l.clientWidth||v.clientWidth,bottom:l.clientHeight||v.clientHeight,height:l.clientHeight||v.clientHeight}}return this._expandRectByRootMargin(a)},o.prototype._expandRectByRootMargin=function(a){var u=this._rootMarginValues.map(function(v,_){return v.unit=="px"?v.value:v.value*(_%2?a.width:a.height)/100}),l={top:a.top-u[0],right:a.right+u[1],bottom:a.bottom+u[2],left:a.left-u[3]};return l.width=l.right-l.left,l.height=l.bottom-l.top,l},o.prototype._hasCrossedThreshold=function(a,u){var l=a&&a.isIntersecting?a.intersectionRatio||0:-1,v=u.isIntersecting?u.intersectionRatio||0:-1;if(l!==v)for(var _=0;_<this.thresholds.length;_++){var P=this.thresholds[_];if(P==l||P==v||P<l!=P<v)return!0}},o.prototype._rootIsInDom=function(){return!this.root||$(t,this.root)},o.prototype._rootContainsTarget=function(a){var u=this.root&&(this.root.ownerDocument||this.root)||t;return $(u,a)&&(!this.root||u==a.ownerDocument)},o.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},o.prototype._unregisterInstance=function(){var a=n.indexOf(this);a!=-1&&n.splice(a,1)};function c(){return window.performance&&performance.now&&performance.now()}function d(a,u){var l=null;return function(){l||(l=setTimeout(function(){a(),l=null},u))}}function f(a,u,l,v){typeof a.addEventListener=="function"?a.addEventListener(u,l,v||!1):typeof a.attachEvent=="function"&&a.attachEvent("on"+u,l)}function p(a,u,l,v){typeof a.removeEventListener=="function"?a.removeEventListener(u,l,v||!1):typeof a.detachEvent=="function"&&a.detachEvent("on"+u,l)}function g(a,u){var l=Math.max(a.top,u.top),v=Math.min(a.bottom,u.bottom),_=Math.max(a.left,u.left),P=Math.min(a.right,u.right),R=P-_,A=v-l;return R>=0&&A>=0&&{top:l,bottom:v,left:_,right:P,width:R,height:A}||null}function m(a){var u;try{u=a.getBoundingClientRect()}catch{}return u?(u.width&&u.height||(u={top:u.top,right:u.right,bottom:u.bottom,left:u.left,width:u.right-u.left,height:u.bottom-u.top}),u):x()}function x(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function y(a){return!a||"x"in a?a:{top:a.top,y:a.top,bottom:a.bottom,left:a.left,x:a.left,right:a.right,width:a.width,height:a.height}}function b(a,u){var l=u.top-a.top,v=u.left-a.left;return{top:l,left:v,height:u.height,width:u.width,bottom:l+u.height,right:v+u.width}}function $(a,u){for(var l=u;l;){if(l==a)return!0;l=T(l)}return!1}function T(a){var u=a.parentNode;return a.nodeType==9&&a!=t?e(a):(u&&u.assignedSlot&&(u=u.assignedSlot.parentNode),u&&u.nodeType==11&&u.host?u.host:u)}function I(a){return a&&a.nodeType===9}window.IntersectionObserver=o,window.IntersectionObserverEntry=s})();function ja(e,t){var n=Gt(w.exports.useState(),2),r=n[0],i=n[1],s=Gt(w.exports.useState(),2),o=s[0],c=s[1];return Ea(function(){var d=ht(e);if(!!d){var f=new IntersectionObserver(function(p){var g,m;try{for(var x=Pr(p),y=x.next();!y.done;y=x.next()){var b=y.value;c(b.intersectionRatio),i(b.isIntersecting)}}catch($){g={error:$}}finally{try{y&&!y.done&&(m=x.return)&&m.call(x)}finally{if(g)throw g.error}}},Ne(Ne({},t),{root:ht(t==null?void 0:t.root)}));return f.observe(d),function(){f.disconnect()}}},[t==null?void 0:t.rootMargin,t==null?void 0:t.threshold],e),[r,o]}var Ca=Wn?w.exports.useLayoutEffect:w.exports.useEffect,ka=Ca;let Pt=Ee();const S=e=>Re(e,Pt);let Rt=Ee();S.write=e=>Re(e,Rt);let Ke=Ee();S.onStart=e=>Re(e,Ke);let Et=Ee();S.onFrame=e=>Re(e,Et);let jt=Ee();S.onFinish=e=>Re(e,jt);let ue=[];S.setTimeout=(e,t)=>{let n=S.now()+t,r=()=>{let s=ue.findIndex(o=>o.cancel==r);~s&&ue.splice(s,1),Y-=~s?1:0},i={time:n,handler:e,cancel:r};return ue.splice(Gn(n),0,i),Y+=1,Hn(),i};let Gn=e=>~(~ue.findIndex(t=>t.time>e)||~ue.length);S.cancel=e=>{Ke.delete(e),Et.delete(e),jt.delete(e),Pt.delete(e),Rt.delete(e)};S.sync=e=>{pt=!0,S.batchedUpdates(e),pt=!1};S.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...i){t=i,S.onStart(n)}return r.handler=e,r.cancel=()=>{Ke.delete(n),t=null},r};let Ct=typeof window!="undefined"?window.requestAnimationFrame:()=>{};S.use=e=>Ct=e;S.now=typeof performance!="undefined"?()=>performance.now():Date.now;S.batchedUpdates=e=>e();S.catch=console.error;S.frameLoop="always";S.advance=()=>{S.frameLoop!=="demand"?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):Zn()};let X=-1,Y=0,pt=!1;function Re(e,t){pt?(t.delete(e),e(0)):(t.add(e),Hn())}function Hn(){X<0&&(X=0,S.frameLoop!=="demand"&&Ct(Kn))}function Ma(){X=-1}function Kn(){~X&&(Ct(Kn),S.batchedUpdates(Zn))}function Zn(){let e=X;X=S.now();let t=Gn(X);if(t&&(Jn(ue.splice(0,t),n=>n.handler()),Y-=t),!Y){Ma();return}Ke.flush(),Pt.flush(e?Math.min(64,X-e):16.667),Et.flush(),Rt.flush(),jt.flush()}function Ee(){let e=new Set,t=e;return{add(n){Y+=t==e&&!e.has(n)?1:0,e.add(n)},delete(n){return Y-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,Y-=t.size,Jn(t,r=>r(n)&&e.add(r)),Y+=e.size,t=e)}}}function Jn(e,t){e.forEach(n=>{try{t(n)}catch(r){S.catch(r)}})}function mt(){}const Fa=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),h={arr:Array.isArray,obj:e=>!!e&&e.constructor.name==="Object",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0};function K(e,t){if(h.arr(e)){if(!h.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const O=(e,t)=>e.forEach(t);function W(e,t,n){if(h.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const D=e=>h.und(e)?[]:h.arr(e)?e:[e];function be(e,t){if(e.size){const n=Array.from(e);e.clear(),O(n,t)}}const ye=(e,...t)=>be(e,n=>n(...t)),kt=()=>typeof window=="undefined"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let Mt,Xn,ee=null,Yn=!1,Ft=mt;const Va=e=>{e.to&&(Xn=e.to),e.now&&(S.now=e.now),e.colors!==void 0&&(ee=e.colors),e.skipAnimation!=null&&(Yn=e.skipAnimation),e.createStringInterpolator&&(Mt=e.createStringInterpolator),e.requestAnimationFrame&&S.use(e.requestAnimationFrame),e.batchedUpdates&&(S.batchedUpdates=e.batchedUpdates),e.willAdvance&&(Ft=e.willAdvance),e.frameLoop&&(S.frameLoop=e.frameLoop)};var G=Object.freeze({__proto__:null,get createStringInterpolator(){return Mt},get to(){return Xn},get colors(){return ee},get skipAnimation(){return Yn},get willAdvance(){return Ft},assign:Va});const _e=new Set;let q=[],it=[],De=0;const Ze={get idle(){return!_e.size&&!q.length},start(e){De>e.priority?(_e.add(e),S.onStart(Na)):(er(e),S(gt))},advance:gt,sort(e){if(De)S.onFrame(()=>Ze.sort(e));else{const t=q.indexOf(e);~t&&(q.splice(t,1),tr(e))}},clear(){q=[],_e.clear()}};function Na(){_e.forEach(er),_e.clear(),S(gt)}function er(e){q.includes(e)||tr(e)}function tr(e){q.splice(Da(q,t=>t.priority>e.priority),0,e)}function gt(e){const t=it;for(let n=0;n<q.length;n++){const r=q[n];De=r.priority,r.idle||(Ft(r),r.advance(e),r.idle||t.push(r))}return De=0,it=q,it.length=0,q=t,q.length>0}function Da(e,t){const n=e.findIndex(t);return n<0?e.length:n}const La=(e,t,n)=>Math.min(Math.max(n,e),t),Ua={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},z="[-+]?\\d*\\.?\\d+",Le=z+"%";function Je(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const qa=new RegExp("rgb"+Je(z,z,z)),Ba=new RegExp("rgba"+Je(z,z,z,z)),za=new RegExp("hsl"+Je(z,Le,Le)),Qa=new RegExp("hsla"+Je(z,Le,Le,z)),Wa=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ga=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ha=/^#([0-9a-fA-F]{6})$/,Ka=/^#([0-9a-fA-F]{8})$/;function Za(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ha.exec(e))?parseInt(t[1]+"ff",16)>>>0:ee&&ee[e]!==void 0?ee[e]:(t=qa.exec(e))?(oe(t[1])<<24|oe(t[2])<<16|oe(t[3])<<8|255)>>>0:(t=Ba.exec(e))?(oe(t[1])<<24|oe(t[2])<<16|oe(t[3])<<8|un(t[4]))>>>0:(t=Wa.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Ka.exec(e))?parseInt(t[1],16)>>>0:(t=Ga.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=za.exec(e))?(on(an(t[1]),je(t[2]),je(t[3]))|255)>>>0:(t=Qa.exec(e))?(on(an(t[1]),je(t[2]),je(t[3]))|un(t[4]))>>>0:null}function st(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function on(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,s=st(i,r,e+1/3),o=st(i,r,e),c=st(i,r,e-1/3);return Math.round(s*255)<<24|Math.round(o*255)<<16|Math.round(c*255)<<8}function oe(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function an(e){return(parseFloat(e)%360+360)%360/360}function un(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function je(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function fn(e){let t=Za(e);if(t===null)return e;t=t||0;let n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,s=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${s})`}const $e=(e,t,n)=>{if(h.fun(e))return e;if(h.arr(e))return $e({range:e,output:t,extrapolate:n});if(h.str(e.output[0]))return Mt(e);const r=e,i=r.output,s=r.range||[0,1],o=r.extrapolateLeft||r.extrapolate||"extend",c=r.extrapolateRight||r.extrapolate||"extend",d=r.easing||(f=>f);return f=>{const p=Xa(f,s);return Ja(f,s[p],s[p+1],i[p],i[p+1],d,o,c,r.map)}};function Ja(e,t,n,r,i,s,o,c,d){let f=d?d(e):e;if(f<t){if(o==="identity")return f;o==="clamp"&&(f=t)}if(f>n){if(c==="identity")return f;c==="clamp"&&(f=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?f=-f:n===1/0?f=f-t:f=(f-t)/(n-t),f=s(f),r===-1/0?f=-f:i===1/0?f=f+r:f=f*(i-r)+r,f)}function Xa(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}const Ya=(e,t="end")=>n=>{n=t==="end"?Math.min(n,.999):Math.max(n,.001);const r=n*e,i=t==="end"?Math.floor(r):Math.ceil(r);return La(0,1,i/e)},Ue=1.70158,Ce=Ue*1.525,cn=Ue+1,ln=2*Math.PI/3,dn=2*Math.PI/4.5,ke=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,eu={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>e===0?0:Math.pow(2,10*e-10),easeOutExpo:e=>e===1?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>e===0?0:e===1?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>cn*e*e*e-Ue*e*e,easeOutBack:e=>1+cn*Math.pow(e-1,3)+Ue*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*((Ce+1)*2*e-Ce)/2:(Math.pow(2*e-2,2)*((Ce+1)*(e*2-2)+Ce)+2)/2,easeInElastic:e=>e===0?0:e===1?1:-Math.pow(2,10*e-10)*Math.sin((e*10-10.75)*ln),easeOutElastic:e=>e===0?0:e===1?1:Math.pow(2,-10*e)*Math.sin((e*10-.75)*ln)+1,easeInOutElastic:e=>e===0?0:e===1?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*dn))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*dn)/2+1,easeInBounce:e=>1-ke(1-e),easeOutBounce:ke,easeInOutBounce:e=>e<.5?(1-ke(1-2*e))/2:(1+ke(2*e-1))/2,steps:Ya};function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vt.apply(this,arguments)}const ce=Symbol.for("FluidValue.get"),re=Symbol.for("FluidValue.observers"),U=e=>Boolean(e&&e[ce]),F=e=>e&&e[ce]?e[ce]():e,hn=e=>e[re]||null;function tu(e,t){e.eventObserved?e.eventObserved(t):e(t)}function Te(e,t){let n=e[re];n&&n.forEach(r=>{tu(r,t)})}class nr{constructor(t){if(this[ce]=void 0,this[re]=void 0,!t&&!(t=this.get))throw Error("Unknown getter");nu(this,t)}}const nu=(e,t)=>rr(e,ce,t);function de(e,t){if(e[ce]){let n=e[re];n||rr(e,re,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function Se(e,t){let n=e[re];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[re]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const rr=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),Fe=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,ru=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,pn=new RegExp(`(${Fe.source})(%|[a-z]+)`,"i"),iu=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Xe=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,ir=e=>{const[t,n]=su(e);if(!t||kt())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const i=window.getComputedStyle(document.documentElement).getPropertyValue(n);return i||e}else{if(n&&Xe.test(n))return ir(n);if(n)return n}return e},su=e=>{const t=Xe.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let ot;const ou=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,sr=e=>{ot||(ot=ee?new RegExp(`(${Object.keys(ee).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map(s=>F(s).replace(Xe,ir).replace(ru,fn).replace(ot,fn)),n=t.map(s=>s.match(Fe).map(Number)),i=n[0].map((s,o)=>n.map(c=>{if(!(o in c))throw Error('The arity of each "output" value must be equal');return c[o]})).map(s=>$e(vt({},e,{output:s})));return s=>{var o;const c=!pn.test(t[0])&&((o=t.find(f=>pn.test(f)))==null?void 0:o.replace(Fe,""));let d=0;return t[0].replace(Fe,()=>`${i[d++](s)}${c||""}`).replace(iu,ou)}},Vt="react-spring: ",or=e=>{const t=e;let n=!1;if(typeof t!="function")throw new TypeError(`${Vt}once requires a function parameter`);return(...r)=>{n||(t(...r),n=!0)}},au=or(console.warn);function uu(){au(`${Vt}The "interpolate" function is deprecated in v9 (use "to" instead)`)}const fu=or(console.warn);function cu(){fu(`${Vt}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function Ye(e){return h.str(e)&&(e[0]=="#"||/\d/.test(e)||!kt()&&Xe.test(e)||e in(ee||{}))}const Nt=kt()?w.exports.useEffect:w.exports.useLayoutEffect,lu=()=>{const e=w.exports.useRef(!1);return Nt(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function ar(){const e=w.exports.useState()[1],t=lu();return()=>{t.current&&e(Math.random())}}function du(e,t){const[n]=w.exports.useState(()=>({inputs:t,result:e()})),r=w.exports.useRef(),i=r.current;let s=i;return s?Boolean(t&&s.inputs&&hu(t,s.inputs))||(s={inputs:t,result:e()}):s=n,w.exports.useEffect(()=>{r.current=s,i==n&&(n.inputs=n.result=void 0)},[s]),s.result}function hu(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const ur=e=>w.exports.useEffect(e,pu),pu=[];function mn(e){const t=w.exports.useRef();return w.exports.useEffect(()=>{t.current=e}),t.current}const Ie=Symbol.for("Animated:node"),mu=e=>!!e&&e[Ie]===e,Q=e=>e&&e[Ie],Dt=(e,t)=>Fa(e,Ie,t),et=e=>e&&e[Ie]&&e[Ie].getPayload();class fr{constructor(){this.payload=void 0,Dt(this,this)}getPayload(){return this.payload||[]}}class he extends fr{constructor(t){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=t,h.num(this._value)&&(this.lastPosition=this._value)}static create(t){return new he(t)}getPayload(){return[this]}getValue(){return this._value}setValue(t,n){return h.num(t)&&(this.lastPosition=t,n&&(t=Math.round(t/n)*n,this.done&&(this.lastPosition=t))),this._value===t?!1:(this._value=t,!0)}reset(){const{done:t}=this;this.done=!1,h.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,t&&(this.lastVelocity=null),this.v0=null)}}class le extends he{constructor(t){super(0),this._string=null,this._toString=void 0,this._toString=$e({output:[t,t]})}static create(t){return new le(t)}getValue(){let t=this._string;return t==null?this._string=this._toString(this._value):t}setValue(t){if(h.str(t)){if(t==this._string)return!1;this._string=t,this._value=1}else if(super.setValue(t))this._string=null;else return!1;return!0}reset(t){t&&(this._toString=$e({output:[this.getValue(),t]})),this._value=0,super.reset()}}const qe={dependencies:null};class tt extends fr{constructor(t){super(),this.source=t,this.setValue(t)}getValue(t){const n={};return W(this.source,(r,i)=>{mu(r)?n[i]=r.getValue(t):U(r)?n[i]=F(r):t||(n[i]=r)}),n}setValue(t){this.source=t,this.payload=this._makePayload(t)}reset(){this.payload&&O(this.payload,t=>t.reset())}_makePayload(t){if(t){const n=new Set;return W(t,this._addToPayload,n),Array.from(n)}}_addToPayload(t){qe.dependencies&&U(t)&&qe.dependencies.add(t);const n=et(t);n&&O(n,r=>this.add(r))}}class Lt extends tt{constructor(t){super(t)}static create(t){return new Lt(t)}getValue(){return this.source.map(t=>t.getValue())}setValue(t){const n=this.getPayload();return t.length==n.length?n.map((r,i)=>r.setValue(t[i])).some(Boolean):(super.setValue(t.map(gu)),!0)}}function gu(e){return(Ye(e)?le:he).create(e)}function yt(e){const t=Q(e);return t?t.constructor:h.arr(e)?Lt:Ye(e)?le:he}function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Be.apply(this,arguments)}const gn=(e,t)=>{const n=!h.fun(e)||e.prototype&&e.prototype.isReactComponent;return w.exports.forwardRef((r,i)=>{const s=w.exports.useRef(null),o=n&&w.exports.useCallback(y=>{s.current=bu(i,y)},[i]),[c,d]=yu(r,t),f=ar(),p=()=>{const y=s.current;if(n&&!y)return;(y?t.applyAnimatedValues(y,c.getValue(!0)):!1)===!1&&f()},g=new vu(p,d),m=w.exports.useRef();Nt(()=>(m.current=g,O(d,y=>de(y,g)),()=>{m.current&&(O(m.current.deps,y=>Se(y,m.current)),S.cancel(m.current.update))})),w.exports.useEffect(p,[]),ur(()=>()=>{const y=m.current;O(y.deps,b=>Se(b,y))});const x=t.getComponentProps(c.getValue());return w.exports.createElement(e,Be({},x,{ref:o}))})};class vu{constructor(t,n){this.update=t,this.deps=n}eventObserved(t){t.type=="change"&&S.write(this.update)}}function yu(e,t){const n=new Set;return qe.dependencies=n,e.style&&(e=Be({},e,{style:t.createAnimatedStyle(e.style)})),e=new tt(e),qe.dependencies=null,[e,n]}function bu(e,t){return e&&(h.fun(e)?e(t):e.current=t),t}const vn=Symbol.for("AnimatedComponent"),_u=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=i=>new tt(i),getComponentProps:r=i=>i}={})=>{const i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},s=o=>{const c=yn(o)||"Anonymous";return h.str(o)?o=s[o]||(s[o]=gn(o,i)):o=o[vn]||(o[vn]=gn(o,i)),o.displayName=`Animated(${c})`,o};return W(e,(o,c)=>{h.arr(e)&&(c=yn(o)),s[c]=s(o)}),{animated:s}},yn=e=>h.str(e)?e:e&&h.str(e.displayName)?e.displayName:h.fun(e)&&e.name||null;function M(){return M=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},M.apply(this,arguments)}function ne(e,...t){return h.fun(e)?e(...t):e}const we=(e,t)=>e===!0||!!(t&&e&&(h.fun(e)?e(t):D(e).includes(t))),cr=(e,t)=>h.obj(e)?t&&e[t]:e,lr=(e,t)=>e.default===!0?e[t]:e.default?e.default[t]:void 0,wu=e=>e,Ut=(e,t=wu)=>{let n=xu;e.default&&e.default!==!0&&(e=e.default,n=Object.keys(e));const r={};for(const i of n){const s=t(e[i],i);h.und(s)||(r[i]=s)}return r},xu=["config","onProps","onStart","onChange","onPause","onResume","onRest"],$u={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function Tu(e){const t={};let n=0;if(W(e,(r,i)=>{$u[i]||(t[i]=r,n++)}),n)return t}function dr(e){const t=Tu(e);if(t){const n={to:t};return W(e,(r,i)=>i in t||(n[i]=r)),n}return M({},e)}function Oe(e){return e=F(e),h.arr(e)?e.map(Oe):Ye(e)?G.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function Su(e){for(const t in e)return!0;return!1}function bt(e){return h.fun(e)||h.arr(e)&&h.obj(e[0])}function Iu(e,t){var n;(n=e.ref)==null||n.delete(e),t==null||t.delete(e)}function Ou(e,t){if(t&&e.ref!==t){var n;(n=e.ref)==null||n.delete(e),t.add(e),e.ref=t}}const Au={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},_t=M({},Au.default,{mass:1,damping:1,easing:eu.linear,clamp:!1});class Pu{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,_t)}}function Ru(e,t,n){n&&(n=M({},n),bn(n,t),t=M({},n,t)),bn(e,t),Object.assign(e,t);for(const o in _t)e[o]==null&&(e[o]=_t[o]);let{mass:r,frequency:i,damping:s}=e;return h.und(i)||(i<.01&&(i=.01),s<0&&(s=0),e.tension=Math.pow(2*Math.PI/i,2)*r,e.friction=4*Math.PI*s*r/i),e}function bn(e,t){if(!h.und(t.decay))e.duration=void 0;else{const n=!h.und(t.tension)||!h.und(t.friction);(n||!h.und(t.frequency)||!h.und(t.damping)||!h.und(t.mass))&&(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}}const _n=[];class Eu{constructor(){this.changed=!1,this.values=_n,this.toValues=null,this.fromValues=_n,this.to=void 0,this.from=void 0,this.config=new Pu,this.immediate=!1}}function hr(e,{key:t,props:n,defaultProps:r,state:i,actions:s}){return new Promise((o,c)=>{var d;let f,p,g=we((d=n.cancel)!=null?d:r==null?void 0:r.cancel,t);if(g)y();else{h.und(n.pause)||(i.paused=we(n.pause,t));let b=r==null?void 0:r.pause;b!==!0&&(b=i.paused||we(b,t)),f=ne(n.delay||0,t),b?(i.resumeQueue.add(x),s.pause()):(s.resume(),x())}function m(){i.resumeQueue.add(x),i.timeouts.delete(p),p.cancel(),f=p.time-S.now()}function x(){f>0&&!G.skipAnimation?(i.delayed=!0,p=S.setTimeout(y,f),i.pauseQueue.add(m),i.timeouts.add(p)):y()}function y(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(m),i.timeouts.delete(p),e<=(i.cancelId||0)&&(g=!0);try{s.start(M({},n,{callId:e,cancel:g}),o)}catch(b){c(b)}}})}const qt=(e,t)=>t.length==1?t[0]:t.some(n=>n.cancelled)?fe(e.get()):t.every(n=>n.noop)?pr(e.get()):B(e.get(),t.every(n=>n.finished)),pr=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),B=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),fe=e=>({value:e,cancelled:!0,finished:!1});function mr(e,t,n,r){const{callId:i,parentId:s,onRest:o}=t,{asyncTo:c,promise:d}=n;return!s&&e===c&&!t.reset?d:n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;const f=Ut(t,($,T)=>T==="onRest"?void 0:$);let p,g;const m=new Promise(($,T)=>(p=$,g=T)),x=$=>{const T=i<=(n.cancelId||0)&&fe(r)||i!==n.asyncId&&B(r,!1);if(T)throw $.result=T,g($),$},y=($,T)=>{const I=new wn,a=new xn;return(async()=>{if(G.skipAnimation)throw Ae(n),a.result=B(r,!1),g(a),a;x(I);const u=h.obj($)?M({},$):M({},T,{to:$});u.parentId=i,W(f,(v,_)=>{h.und(u[_])&&(u[_]=v)});const l=await r.start(u);return x(I),n.paused&&await new Promise(v=>{n.resumeQueue.add(v)}),l})()};let b;if(G.skipAnimation)return Ae(n),B(r,!1);try{let $;h.arr(e)?$=(async T=>{for(const I of T)await y(I)})(e):$=Promise.resolve(e(y,r.stop.bind(r))),await Promise.all([$.then(p),m]),b=B(r.get(),!0,!1)}catch($){if($ instanceof wn)b=$.result;else if($ instanceof xn)b=$.result;else throw $}finally{i==n.asyncId&&(n.asyncId=s,n.asyncTo=s?c:void 0,n.promise=s?d:void 0)}return h.fun(o)&&S.batchedUpdates(()=>{o(b,r,r.item)}),b})()}function Ae(e,t){be(e.timeouts,n=>n.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class wn extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class xn extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const wt=e=>e instanceof Bt;let ju=1;class Bt extends nr{constructor(...t){super(...t),this.id=ju++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(t){this._priority!=t&&(this._priority=t,this._onPriorityChange(t))}get(){const t=Q(this);return t&&t.getValue()}to(...t){return G.to(this,t)}interpolate(...t){return uu(),G.to(this,t)}toJSON(){return this.get()}observerAdded(t){t==1&&this._attach()}observerRemoved(t){t==0&&this._detach()}_attach(){}_detach(){}_onChange(t,n=!1){Te(this,{type:"change",parent:this,value:t,idle:n})}_onPriorityChange(t){this.idle||Ze.sort(this),Te(this,{type:"priority",parent:this,priority:t})}}const ie=Symbol.for("SpringPhase"),gr=1,xt=2,$t=4,at=e=>(e[ie]&gr)>0,J=e=>(e[ie]&xt)>0,me=e=>(e[ie]&$t)>0,$n=(e,t)=>t?e[ie]|=xt|gr:e[ie]&=~xt,Tn=(e,t)=>t?e[ie]|=$t:e[ie]&=~$t;class Cu extends Bt{constructor(t,n){if(super(),this.key=void 0,this.animation=new Eu,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!h.und(t)||!h.und(n)){const r=h.obj(t)?M({},t):M({},n,{from:t});h.und(r.default)&&(r.default=!0),this.start(r)}}get idle(){return!(J(this)||this._state.asyncTo)||me(this)}get goal(){return F(this.animation.to)}get velocity(){const t=Q(this);return t instanceof he?t.lastVelocity||0:t.getPayload().map(n=>n.lastVelocity||0)}get hasAnimated(){return at(this)}get isAnimating(){return J(this)}get isPaused(){return me(this)}get isDelayed(){return this._state.delayed}advance(t){let n=!0,r=!1;const i=this.animation;let{config:s,toValues:o}=i;const c=et(i.to);!c&&U(i.to)&&(o=D(F(i.to))),i.values.forEach((p,g)=>{if(p.done)return;const m=p.constructor==le?1:c?c[g].lastPosition:o[g];let x=i.immediate,y=m;if(!x){if(y=p.lastPosition,s.tension<=0){p.done=!0;return}let b=p.elapsedTime+=t;const $=i.fromValues[g],T=p.v0!=null?p.v0:p.v0=h.arr(s.velocity)?s.velocity[g]:s.velocity;let I;const a=s.precision||($==m?.005:Math.min(1,Math.abs(m-$)*.001));if(h.und(s.duration))if(s.decay){const u=s.decay===!0?.998:s.decay,l=Math.exp(-(1-u)*b);y=$+T/(1-u)*(1-l),x=Math.abs(p.lastPosition-y)<=a,I=T*l}else{I=p.lastVelocity==null?T:p.lastVelocity;const u=s.restVelocity||a/10,l=s.clamp?0:s.bounce,v=!h.und(l),_=$==m?p.v0>0:$<m;let P,R=!1;const A=1,k=Math.ceil(t/A);for(let j=0;j<k&&(P=Math.abs(I)>u,!(!P&&(x=Math.abs(m-y)<=a,x)));++j){v&&(R=y==m||y>m==_,R&&(I=-I*l,y=m));const H=-s.tension*1e-6*(y-m),se=-s.friction*.001*I,Ir=(H+se)/s.mass;I=I+Ir*A,y=y+I*A}}else{let u=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,p.durationProgress>0&&(p.elapsedTime=s.duration*p.durationProgress,b=p.elapsedTime+=t)),u=(s.progress||0)+b/this._memoizedDuration,u=u>1?1:u<0?0:u,p.durationProgress=u),y=$+s.easing(u)*(m-$),I=(y-p.lastPosition)/t,x=u==1}p.lastVelocity=I,Number.isNaN(y)&&(console.warn("Got NaN while animating:",this),x=!0)}c&&!c[g].done&&(x=!1),x?p.done=!0:n=!1,p.setValue(y,s.round)&&(r=!0)});const d=Q(this),f=d.getValue();if(n){const p=F(i.to);(f!==p||r)&&!s.decay?(d.setValue(p),this._onChange(p)):r&&s.decay&&this._onChange(f),this._stop()}else r&&this._onChange(f)}set(t){return S.batchedUpdates(()=>{this._stop(),this._focus(t),this._set(t)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(J(this)){const{to:t,config:n}=this.animation;S.batchedUpdates(()=>{this._onStart(),n.decay||this._set(t,!1),this._stop()})}return this}update(t){return(this.queue||(this.queue=[])).push(t),this}start(t,n){let r;return h.und(t)?(r=this.queue||[],this.queue=[]):r=[h.obj(t)?t:M({},n,{to:t})],Promise.all(r.map(i=>this._update(i))).then(i=>qt(this,i))}stop(t){const{to:n}=this.animation;return this._focus(this.get()),Ae(this._state,t&&this._lastCallId),S.batchedUpdates(()=>this._stop(n,t)),this}reset(){this._update({reset:!0})}eventObserved(t){t.type=="change"?this._start():t.type=="priority"&&(this.priority=t.priority+1)}_prepareNode(t){const n=this.key||"";let{to:r,from:i}=t;r=h.obj(r)?r[n]:r,(r==null||bt(r))&&(r=void 0),i=h.obj(i)?i[n]:i,i==null&&(i=void 0);const s={to:r,from:i};return at(this)||(t.reverse&&([r,i]=[i,r]),i=F(i),h.und(i)?Q(this)||this._set(r):this._set(i)),s}_update(t,n){let r=M({},t);const{key:i,defaultProps:s}=this;r.default&&Object.assign(s,Ut(r,(d,f)=>/^on/.test(f)?cr(d,i):d)),In(this,r,"onProps"),ve(this,"onProps",r,this);const o=this._prepareNode(r);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const c=this._state;return hr(++this._lastCallId,{key:i,props:r,defaultProps:s,state:c,actions:{pause:()=>{me(this)||(Tn(this,!0),ye(c.pauseQueue),ve(this,"onPause",B(this,ge(this,this.animation.to)),this))},resume:()=>{me(this)&&(Tn(this,!1),J(this)&&this._resume(),ye(c.resumeQueue),ve(this,"onResume",B(this,ge(this,this.animation.to)),this))},start:this._merge.bind(this,o)}}).then(d=>{if(r.loop&&d.finished&&!(n&&d.noop)){const f=vr(r);if(f)return this._update(f,!0)}return d})}_merge(t,n,r){if(n.cancel)return this.stop(!0),r(fe(this));const i=!h.und(t.to),s=!h.und(t.from);if(i||s)if(n.callId>this._lastToId)this._lastToId=n.callId;else return r(fe(this));const{key:o,defaultProps:c,animation:d}=this,{to:f,from:p}=d;let{to:g=f,from:m=p}=t;s&&!i&&(!n.default||h.und(g))&&(g=m),n.reverse&&([g,m]=[m,g]);const x=!K(m,p);x&&(d.from=m),m=F(m);const y=!K(g,f);y&&this._focus(g);const b=bt(n.to),{config:$}=d,{decay:T,velocity:I}=$;(i||s)&&($.velocity=0),n.config&&!b&&Ru($,ne(n.config,o),n.config!==c.config?ne(c.config,o):void 0);let a=Q(this);if(!a||h.und(g))return r(B(this,!0));const u=h.und(n.reset)?s&&!n.default:!h.und(m)&&we(n.reset,o),l=u?m:this.get(),v=Oe(g),_=h.num(v)||h.arr(v)||Ye(v),P=!b&&(!_||we(c.immediate||n.immediate,o));if(y){const j=yt(g);if(j!==a.constructor)if(P)a=this._set(v);else throw Error(`Cannot animate between ${a.constructor.name} and ${j.name}, as the "to" prop suggests`)}const R=a.constructor;let A=U(g),k=!1;if(!A){const j=u||!at(this)&&x;(y||j)&&(k=K(Oe(l),v),A=!k),(!K(d.immediate,P)&&!P||!K($.decay,T)||!K($.velocity,I))&&(A=!0)}if(k&&J(this)&&(d.changed&&!u?A=!0:A||this._stop(f)),!b&&((A||U(f))&&(d.values=a.getPayload(),d.toValues=U(g)?null:R==le?[1]:D(v)),d.immediate!=P&&(d.immediate=P,!P&&!u&&this._set(f)),A)){const{onRest:j}=d;O(Mu,se=>In(this,n,se));const H=B(this,ge(this,f));ye(this._pendingCalls,H),this._pendingCalls.add(r),d.changed&&S.batchedUpdates(()=>{d.changed=!u,j==null||j(H,this),u?ne(c.onRest,H):d.onStart==null||d.onStart(H,this)})}u&&this._set(l),b?r(mr(n.to,n,this._state,this)):A?this._start():J(this)&&!y?this._pendingCalls.add(r):r(pr(l))}_focus(t){const n=this.animation;t!==n.to&&(hn(this)&&this._detach(),n.to=t,hn(this)&&this._attach())}_attach(){let t=0;const{to:n}=this.animation;U(n)&&(de(n,this),wt(n)&&(t=n.priority+1)),this.priority=t}_detach(){const{to:t}=this.animation;U(t)&&Se(t,this)}_set(t,n=!0){const r=F(t);if(!h.und(r)){const i=Q(this);if(!i||!K(r,i.getValue())){const s=yt(r);!i||i.constructor!=s?Dt(this,s.create(r)):i.setValue(r),i&&S.batchedUpdates(()=>{this._onChange(r,n)})}}return Q(this)}_onStart(){const t=this.animation;t.changed||(t.changed=!0,ve(this,"onStart",B(this,ge(this,t.to)),this))}_onChange(t,n){n||(this._onStart(),ne(this.animation.onChange,t,this)),ne(this.defaultProps.onChange,t,this),super._onChange(t,n)}_start(){const t=this.animation;Q(this).reset(F(t.to)),t.immediate||(t.fromValues=t.values.map(n=>n.lastPosition)),J(this)||($n(this,!0),me(this)||this._resume())}_resume(){G.skipAnimation?this.finish():Ze.start(this)}_stop(t,n){if(J(this)){$n(this,!1);const r=this.animation;O(r.values,s=>{s.done=!0}),r.toValues&&(r.onChange=r.onPause=r.onResume=void 0),Te(this,{type:"idle",parent:this});const i=n?fe(this.get()):B(this.get(),ge(this,t!=null?t:r.to));ye(this._pendingCalls,i),r.changed&&(r.changed=!1,ve(this,"onRest",i,this))}}}function ge(e,t){const n=Oe(t),r=Oe(e.get());return K(r,n)}function vr(e,t=e.loop,n=e.to){let r=ne(t);if(r){const i=r!==!0&&dr(r),s=(i||e).reverse,o=!i||i.reset;return Pe(M({},e,{loop:t,default:!1,pause:void 0,to:!s||bt(n)?n:void 0,from:o?e.from:void 0,reset:o},i))}}function Pe(e){const{to:t,from:n}=e=dr(e),r=new Set;return h.obj(t)&&Sn(t,r),h.obj(n)&&Sn(n,r),e.keys=r.size?Array.from(r):null,e}function ku(e){const t=Pe(e);return h.und(t.default)&&(t.default=Ut(t)),t}function Sn(e,t){W(e,(n,r)=>n!=null&&t.add(r))}const Mu=["onStart","onRest","onChange","onPause","onResume"];function In(e,t,n){e.animation[n]=t[n]!==lr(t,n)?cr(t[n],e.key):void 0}function ve(e,t,...n){var r,i,s,o;(r=(i=e.animation)[t])==null||r.call(i,...n),(s=(o=e.defaultProps)[t])==null||s.call(o,...n)}const Fu=["onStart","onChange","onRest"];let Vu=1;class Nu{constructor(t,n){this.id=Vu++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),n&&(this._flush=n),t&&this.start(M({default:!0},t))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(t=>t.idle&&!t.isDelayed&&!t.isPaused)}get item(){return this._item}set item(t){this._item=t}get(){const t={};return this.each((n,r)=>t[r]=n.get()),t}set(t){for(const n in t){const r=t[n];h.und(r)||this.springs[n].set(r)}}update(t){return t&&this.queue.push(Pe(t)),this}start(t){let{queue:n}=this;return t?n=D(t).map(Pe):this.queue=[],this._flush?this._flush(this,n):(xr(this,n),Tt(this,n))}stop(t,n){if(t!==!!t&&(n=t),n){const r=this.springs;O(D(n),i=>r[i].stop(!!t))}else Ae(this._state,this._lastAsyncId),this.each(r=>r.stop(!!t));return this}pause(t){if(h.und(t))this.start({pause:!0});else{const n=this.springs;O(D(t),r=>n[r].pause())}return this}resume(t){if(h.und(t))this.start({pause:!1});else{const n=this.springs;O(D(t),r=>n[r].resume())}return this}each(t){W(this.springs,t)}_onFrame(){const{onStart:t,onChange:n,onRest:r}=this._events,i=this._active.size>0,s=this._changed.size>0;(i&&!this._started||s&&!this._started)&&(this._started=!0,be(t,([d,f])=>{f.value=this.get(),d(f,this,this._item)}));const o=!i&&this._started,c=s||o&&r.size?this.get():null;s&&n.size&&be(n,([d,f])=>{f.value=c,d(f,this,this._item)}),o&&(this._started=!1,be(r,([d,f])=>{f.value=c,d(f,this,this._item)}))}eventObserved(t){if(t.type=="change")this._changed.add(t.parent),t.idle||this._active.add(t.parent);else if(t.type=="idle")this._active.delete(t.parent);else return;S.onFrame(this._onFrame)}}function Tt(e,t){return Promise.all(t.map(n=>yr(e,n))).then(n=>qt(e,n))}async function yr(e,t,n){const{keys:r,to:i,from:s,loop:o,onRest:c,onResolve:d}=t,f=h.obj(t.default)&&t.default;o&&(t.loop=!1),i===!1&&(t.to=null),s===!1&&(t.from=null);const p=h.arr(i)||h.fun(i)?i:void 0;p?(t.to=void 0,t.onRest=void 0,f&&(f.onRest=void 0)):O(Fu,b=>{const $=t[b];if(h.fun($)){const T=e._events[b];t[b]=({finished:I,cancelled:a})=>{const u=T.get($);u?(I||(u.finished=!1),a&&(u.cancelled=!0)):T.set($,{value:null,finished:I||!1,cancelled:a||!1})},f&&(f[b]=t[b])}});const g=e._state;t.pause===!g.paused?(g.paused=t.pause,ye(t.pause?g.pauseQueue:g.resumeQueue)):g.paused&&(t.pause=!0);const m=(r||Object.keys(e.springs)).map(b=>e.springs[b].start(t)),x=t.cancel===!0||lr(t,"cancel")===!0;(p||x&&g.asyncId)&&m.push(hr(++e._lastAsyncId,{props:t,state:g,actions:{pause:mt,resume:mt,start(b,$){x?(Ae(g,e._lastAsyncId),$(fe(e))):(b.onRest=c,$(mr(p,b,g,e)))}}})),g.paused&&await new Promise(b=>{g.resumeQueue.add(b)});const y=qt(e,await Promise.all(m));if(o&&y.finished&&!(n&&y.noop)){const b=vr(t,o,i);if(b)return xr(e,[b]),yr(e,b,!0)}return d&&S.batchedUpdates(()=>d(y,e,e.item)),y}function On(e,t){const n=M({},e.springs);return t&&O(D(t),r=>{h.und(r.keys)&&(r=Pe(r)),h.obj(r.to)||(r=M({},r,{to:void 0})),wr(n,r,i=>_r(i))}),br(e,n),n}function br(e,t){W(t,(n,r)=>{e.springs[r]||(e.springs[r]=n,de(n,e))})}function _r(e,t){const n=new Cu;return n.key=e,t&&de(n,t),n}function wr(e,t,n){t.keys&&O(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function xr(e,t){O(t,n=>{wr(e.springs,n,r=>_r(r,e))})}function Du(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Lu=["children"],nt=e=>{let{children:t}=e,n=Du(e,Lu);const r=w.exports.useContext(ze),i=n.pause||!!r.pause,s=n.immediate||!!r.immediate;n=du(()=>({pause:i,immediate:s}),[i,s]);const{Provider:o}=ze;return w.exports.createElement(o,{value:n},t)},ze=Uu(nt,{});nt.Provider=ze.Provider;nt.Consumer=ze.Consumer;function Uu(e,t){return Object.assign(e,w.exports.createContext(t)),e.Provider._context=e,e.Consumer._context=e,e}const qu=()=>{const e=[],t=function(i){cu();const s=[];return O(e,(o,c)=>{if(h.und(i))s.push(o.start());else{const d=n(i,o,c);d&&s.push(o.start(d))}}),s};t.current=e,t.add=function(r){e.includes(r)||e.push(r)},t.delete=function(r){const i=e.indexOf(r);~i&&e.splice(i,1)},t.pause=function(){return O(e,r=>r.pause(...arguments)),this},t.resume=function(){return O(e,r=>r.resume(...arguments)),this},t.set=function(r){O(e,i=>i.set(r))},t.start=function(r){const i=[];return O(e,(s,o)=>{if(h.und(r))i.push(s.start());else{const c=this._getProps(r,s,o);c&&i.push(s.start(c))}}),i},t.stop=function(){return O(e,r=>r.stop(...arguments)),this},t.update=function(r){return O(e,(i,s)=>i.update(this._getProps(r,i,s))),this};const n=function(i,s,o){return h.fun(i)?i(o,s):i};return t._getProps=n,t};function Bu(e,t,n){const r=h.fun(t)&&t;r&&!n&&(n=[]);const i=w.exports.useMemo(()=>r||arguments.length==3?qu():void 0,[]),s=w.exports.useRef(0),o=ar(),c=w.exports.useMemo(()=>({ctrls:[],queue:[],flush(T,I){const a=On(T,I);return s.current>0&&!c.queue.length&&!Object.keys(a).some(l=>!T.springs[l])?Tt(T,I):new Promise(l=>{br(T,a),c.queue.push(()=>{l(Tt(T,I))}),o()})}}),[]),d=w.exports.useRef([...c.ctrls]),f=[],p=mn(e)||0;w.exports.useMemo(()=>{O(d.current.slice(e,p),T=>{Iu(T,i),T.stop(!0)}),d.current.length=e,g(p,e)},[e]),w.exports.useMemo(()=>{g(0,Math.min(p,e))},n);function g(T,I){for(let a=T;a<I;a++){const u=d.current[a]||(d.current[a]=new Nu(null,c.flush)),l=r?r(a,u):t[a];l&&(f[a]=ku(l))}}const m=d.current.map((T,I)=>On(T,f[I])),x=w.exports.useContext(nt),y=mn(x),b=x!==y&&Su(x);Nt(()=>{s.current++,c.ctrls=d.current;const{queue:T}=c;T.length&&(c.queue=[],O(T,I=>I())),O(d.current,(I,a)=>{i==null||i.add(I),b&&I.start({default:x});const u=f[a];u&&(Ou(I,u.ref),I.ref?I.queue.push(u):I.start(u))})}),ur(()=>()=>{O(c.ctrls,T=>T.stop(!0))});const $=m.map(T=>M({},T));return i?[$,i]:$}function Cf(e,t){const n=h.fun(e),[[r],i]=Bu(1,n?e:[e],n?t||[]:t);return n||arguments.length==2?[r,i]:r}let An;(function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"})(An||(An={}));class zu extends Bt{constructor(t,n){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=t,this.calc=$e(...n);const r=this._get(),i=yt(r);Dt(this,i.create(r))}advance(t){const n=this._get(),r=this.get();K(n,r)||(Q(this).setValue(n),this._onChange(n,this.idle)),!this.idle&&Pn(this._active)&&ut(this)}_get(){const t=h.arr(this.source)?this.source.map(F):D(F(this.source));return this.calc(...t)}_start(){this.idle&&!Pn(this._active)&&(this.idle=!1,O(et(this),t=>{t.done=!1}),G.skipAnimation?(S.batchedUpdates(()=>this.advance()),ut(this)):Ze.start(this))}_attach(){let t=1;O(D(this.source),n=>{U(n)&&de(n,this),wt(n)&&(n.idle||this._active.add(n),t=Math.max(t,n.priority+1))}),this.priority=t,this._start()}_detach(){O(D(this.source),t=>{U(t)&&Se(t,this)}),this._active.clear(),ut(this)}eventObserved(t){t.type=="change"?t.idle?this.advance():(this._active.add(t.parent),this._start()):t.type=="idle"?this._active.delete(t.parent):t.type=="priority"&&(this.priority=D(this.source).reduce((n,r)=>Math.max(n,(wt(r)?r.priority:0)+1),0))}}function Qu(e){return e.idle!==!1}function Pn(e){return!e.size||Array.from(e).every(Qu)}function ut(e){e.idle||(e.idle=!0,O(et(e),t=>{t.done=!0}),Te(e,{type:"idle",parent:e}))}G.assign({createStringInterpolator:sr,to:(e,t)=>new zu(e,t)});function zt(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Wu=["style","children","scrollTop","scrollLeft","viewBox"],$r=/^--/;function Gu(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t=="number"&&t!==0&&!$r.test(e)&&!(xe.hasOwnProperty(e)&&xe[e])?t+"px":(""+t).trim()}const Rn={};function Hu(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter",r=t,{style:i,children:s,scrollTop:o,scrollLeft:c,viewBox:d}=r,f=zt(r,Wu),p=Object.values(f),g=Object.keys(f).map(m=>n||e.hasAttribute(m)?m:Rn[m]||(Rn[m]=m.replace(/([A-Z])/g,x=>"-"+x.toLowerCase())));s!==void 0&&(e.textContent=s);for(let m in i)if(i.hasOwnProperty(m)){const x=Gu(m,i[m]);$r.test(m)?e.style.setProperty(m,x):e.style[m]=x}g.forEach((m,x)=>{e.setAttribute(m,p[x])}),o!==void 0&&(e.scrollTop=o),c!==void 0&&(e.scrollLeft=c),d!==void 0&&e.setAttribute("viewBox",d)}let xe={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const Ku=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),Zu=["Webkit","Ms","Moz","O"];xe=Object.keys(xe).reduce((e,t)=>(Zu.forEach(n=>e[Ku(n,t)]=e[t]),e),xe);const Ju=["x","y","z"],Xu=/^(matrix|translate|scale|rotate|skew)/,Yu=/^(translate)/,ef=/^(rotate|skew)/,ft=(e,t)=>h.num(e)&&e!==0?e+t:e,Ve=(e,t)=>h.arr(e)?e.every(n=>Ve(n,t)):h.num(e)?e===t:parseFloat(e)===t;class tf extends tt{constructor(t){let{x:n,y:r,z:i}=t,s=zt(t,Ju);const o=[],c=[];(n||r||i)&&(o.push([n||0,r||0,i||0]),c.push(d=>[`translate3d(${d.map(f=>ft(f,"px")).join(",")})`,Ve(d,0)])),W(s,(d,f)=>{if(f==="transform")o.push([d||""]),c.push(p=>[p,p===""]);else if(Xu.test(f)){if(delete s[f],h.und(d))return;const p=Yu.test(f)?"px":ef.test(f)?"deg":"";o.push(D(d)),c.push(f==="rotate3d"?([g,m,x,y])=>[`rotate3d(${g},${m},${x},${ft(y,p)})`,Ve(y,0)]:g=>[`${f}(${g.map(m=>ft(m,p)).join(",")})`,Ve(g,f.startsWith("scale")?1:0)])}}),o.length&&(s.transform=new nf(o,c)),super(s)}}class nf extends nr{constructor(t,n){super(),this._value=null,this.inputs=t,this.transforms=n}get(){return this._value||(this._value=this._get())}_get(){let t="",n=!0;return O(this.inputs,(r,i)=>{const s=F(r[0]),[o,c]=this.transforms[i](h.arr(s)?s:r.map(F));t+=" "+o,n=n&&c}),n?"none":t}observerAdded(t){t==1&&O(this.inputs,n=>O(n,r=>U(r)&&de(r,this)))}observerRemoved(t){t==0&&O(this.inputs,n=>O(n,r=>U(r)&&Se(r,this)))}eventObserved(t){t.type=="change"&&(this._value=null),Te(this,t)}}const rf=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],sf=["scrollTop","scrollLeft"];G.assign({batchedUpdates:Or.exports.unstable_batchedUpdates,createStringInterpolator:sr,colors:Ua});const of=_u(rf,{applyAnimatedValues:Hu,createAnimatedStyle:e=>new tf(e),getComponentProps:e=>zt(e,sf)}),kf=of.animated;function af(e){const t=w.exports.useRef(e);return e&&(t.current=!0),!!t.current}const Mf=e=>uf(e.active,e.forceRender,e.destroyOnClose)?e.children:null;function uf(e,t,n){const r=af(e);return t||e?!0:r?!n:!1}var Qt={},ff=ae&&ae.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Qt,"__esModule",{value:!0});var Tr=Qt.staged=void 0;const cf=ff(w.exports);function Sr(e){return typeof e=="function"?cf.default.createElement(lf,{stage:e}):e}function lf(e){const t=e.stage();return Sr(t)}function df(e){return function(n,r){const i=e(n,r);return Sr(i)}}Tr=Qt.staged=df;function Me(e){return typeof e=="number"?`${e}px`:e}const hf=e=>{const t=w.exports.useRef(null),[n]=ja(t);return w.exports.useEffect(()=>{n&&e.onActive()},[n]),C("div",{ref:t})},pf=wa(ka),mf=()=>Z.createElement("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Z.createElement("path",{d:"M41.396 6.234c1.923 0 3.487 1.574 3.487 3.505v29.14c0 1.937-1.568 3.51-3.491 3.51H6.604c-1.923 0-3.487-1.573-3.487-3.51V9.745c0-1.936 1.564-3.51 3.487-3.51Zm0 2.847H6.604c-.355 0-.654.3-.654.658V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.405 2.405 0 0 1 1.933.752l4.182 4.525 7.58-11.005a2.374 2.374 0 0 1 1.96-1.01c.79 0 1.532.38 1.966 1.01L42.05 34.89V9.74a.664.664 0 0 0-.654-.658Zm-28.305 2.763a3.119 3.119 0 0 1 3.117 3.117 3.119 3.119 0 0 1-3.117 3.117 3.122 3.122 0 0 1-3.117-3.117 3.119 3.119 0 0 1 3.117-3.117Z",fill:"#DBDBDB",fillRule:"nonzero"})),gf=()=>Z.createElement("svg",{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/2000/svg"},Z.createElement("path",{d:"M19.233 6.233 17.42 9.08l-10.817.001a.665.665 0 0 0-.647.562l-.007.096V34.9l5.989-8.707a2.373 2.373 0 0 1 1.801-1.005 2.415 2.415 0 0 1 1.807.625l.126.127 4.182 4.525 2.267-3.292 5.461 7.841-4.065 7.375H6.604c-1.86 0-3.382-1.47-3.482-3.317l-.005-.192V9.744c0-1.872 1.461-3.405 3.296-3.505l.19-.005h12.63Zm22.163 0c1.86 0 3.382 1.472 3.482 3.314l.005.192v29.14a3.507 3.507 0 0 1-3.3 3.505l-.191.006H27.789l3.63-6.587.06-.119a1.87 1.87 0 0 0-.163-1.853l-6.928-9.949 3.047-4.422a2.374 2.374 0 0 1 1.96-1.01 2.4 2.4 0 0 1 1.86.87l.106.14L42.05 34.89V9.74a.664.664 0 0 0-.654-.658H21.855l1.812-2.848h17.73Zm-28.305 5.611c.794 0 1.52.298 2.07.788l-.843 1.325-.067.114a1.87 1.87 0 0 0 .11 1.959l.848 1.217c-.556.515-1.3.83-2.118.83a3.122 3.122 0 0 1-3.117-3.116 3.119 3.119 0 0 1 3.117-3.117Z",fill:"#DBDBDB",fillRule:"nonzero"})),Qe="adm-image",vf={fit:"fill",placeholder:C("div",{className:`${Qe}-tip`,children:C(mf,{})}),fallback:C("div",{className:`${Qe}-tip`,children:C(gf,{})}),lazy:!1,draggable:!1},yf=Tr(e=>{const t=He(vf,e),[n,r]=w.exports.useState(!1),[i,s]=w.exports.useState(!1),o=w.exports.useRef(null);let c=t.src,d=t.srcSet;const[f,p]=w.exports.useState(!t.lazy);c=f?t.src:void 0,d=f?t.srcSet:void 0,pf(()=>{r(!1),s(!1)},[c]);function g(){if(i)return C(Wt,{children:t.fallback});const x=C("img",{className:`${Qe}-img`,src:c,alt:t.alt,onClick:t.onClick,onLoad:y=>{var b;r(!0),(b=t.onLoad)===null||b===void 0||b.call(t,y)},onError:y=>{var b;s(!0),(b=t.onError)===null||b===void 0||b.call(t,y)},style:{objectFit:t.fit,display:n?"block":"none"},crossOrigin:t.crossOrigin,decoding:t.decoding,loading:t.loading,referrerPolicy:t.referrerPolicy,sizes:t.sizes,srcSet:d,useMap:t.useMap,draggable:t.draggable});return ct(Wt,{children:[!n&&t.placeholder,x]})}const m={};return t.width&&(m["--width"]=Me(t.width),m.width=Me(t.width)),t.height&&(m["--height"]=Me(t.height),m.height=Me(t.height)),Ge(t,ct("div",{ref:o,className:Qe,style:m,onClick:t.onContainerClick,children:[t.lazy&&!f&&C(hf,{onActive:()=>{p(!0)}}),g()]}))});var Ff=yf;const bf="adm-dot-loading",_f={default:"var(--adm-color-weak)",primary:"var(--adm-color-primary)",white:"var(--adm-color-white)"},wf={color:"default"},xf=w.exports.memo(e=>{var t;const n=He(wf,e);return Ge(n,C("div",{style:{color:(t=_f[n.color])!==null&&t!==void 0?t:n.color},className:We("adm-loading",bf),children:C("svg",{height:"1em",viewBox:"0 0 100 40",style:{verticalAlign:"-0.125em"},children:C("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:C("g",{transform:"translate(-100.000000, -71.000000)",children:C("g",{transform:"translate(95.000000, 71.000000)",children:C("g",{transform:"translate(5.000000, 0.000000)",children:[0,1,2].map(r=>C("rect",{fill:"currentColor",x:20+r*26,y:"16",width:"8",height:"8",rx:"2",children:C("animate",{attributeName:"y",from:"16",to:"16",dur:"2s",begin:`${r*.2}s`,repeatCount:"indefinite",values:"16; 6; 26; 16; 16",keyTimes:"0; 0.1; 0.3; 0.4; 1"})},r))})})})})})}))});var $f=xf;function Tf(e){return!!e&&typeof e=="object"&&typeof e.then=="function"}function Vf(){return En?/ios|iphone|ipad|ipod/.test(navigator.userAgent.toLowerCase()):!1}const L="adm-button",Sf={color:"default",fill:"solid",block:!1,loading:!1,loadingIcon:C($f,{color:"currentColor"}),type:"button",shape:"default",size:"middle"},If=w.exports.forwardRef((e,t)=>{const n=He(Sf,e),[r,i]=w.exports.useState(!1),s=w.exports.useRef(null),o=n.loading==="auto"?r:n.loading,c=n.disabled||o;w.exports.useImperativeHandle(t,()=>({get nativeElement(){return s.current}}));const d=f=>Ar(void 0,void 0,void 0,function*(){if(!n.onClick)return;const p=n.onClick(f);if(Tf(p))try{i(!0),yield p,i(!1)}catch(g){throw i(!1),g}});return Ge(n,C("button",{ref:s,type:n.type,onClick:d,className:We(L,n.color?`${L}-${n.color}`:null,{[`${L}-block`]:n.block,[`${L}-disabled`]:c,[`${L}-fill-outline`]:n.fill==="outline",[`${L}-fill-none`]:n.fill==="none",[`${L}-mini`]:n.size==="mini",[`${L}-small`]:n.size==="small",[`${L}-large`]:n.size==="large",[`${L}-loading`]:o},`${L}-shape-${n.shape}`),disabled:c,onMouseDown:n.onMouseDown,onMouseUp:n.onMouseUp,onTouchStart:n.onTouchStart,onTouchEnd:n.onTouchEnd,children:o?ct("div",{className:`${L}-loading-wrapper`,children:[n.loadingIcon,n.loadingText]}):C("span",{children:n.children})}))});var Nf=If;function Df(e,t,n){let r=e;return t!==void 0&&(r=Math.max(e,t)),n!==void 0&&(r=Math.min(r,n)),r}const te="adm-space",Of={direction:"horizontal"},Af=e=>{const t=He(Of,e),{direction:n,onClick:r}=t;return Ge(t,Z.createElement("div",{className:We(te,{[`${te}-wrap`]:t.wrap,[`${te}-block`]:t.block,[`${te}-${n}`]:!0,[`${te}-align-${t.align}`]:!!t.align,[`${te}-justify-${t.justify}`]:!!t.justify}),onClick:r},Z.Children.map(t.children,i=>i!=null&&Z.createElement("div",{className:`${te}-item`},i))))};var Lf=Af;export{Ar as A,Nf as B,ae as C,Ff as I,Mf as S,St as _,Qn as a,It as b,At as c,Ot as d,Gt as e,Ia as f,Rf as g,ka as h,$a as i,Cf as j,pf as k,kf as l,He as m,We as n,Df as o,jf as p,Ef as q,Vf as r,Lf as s,Pa as t,Ta as u,Wn as v,Ge as w,Ea as x,ht as y,En as z};
assets/login.46ab8af5.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{s}from"./utils.62547028.js";import{w as a,a as l,j as r}from"./index.bd3517ca.js";function c(i){const t=()=>{let e=decodeURIComponent(i.location.search.split("redirect=")[1]).split("&"),n=e[0];const o=e.length>=2?JSON.parse(e[1]):{};s.set("token","eyJhbGciOiJIUzUxMiJ9.eyJtb2JpbGUiOiIxMzI3NzA4MjY3OCIsImV4cCI6MTYzNDM0NTcwMywidXNlcklkIjoiMjMyMl9fMl8wXzE2MzQyNTkzMDMifQ.pCmWnB_Gx00RaDAIX1gm8GbevL_B6U7N_xbVH1xf6pa1dY3TudnRcHNkMf4T9rBzaOGMyUbCvJn8FPFfQ9jXCw"),i.history.replace({pathname:n,...o})};return l("div",{className:"login",children:["login",r("button",{onClick:()=>{t()},children:"\u767B\u5F55"})]})}var p=a(c);export{p as default};
assets/user.c32aa20a.js ADDED
@@ -0,0 +1 @@
 
 
1
+ import{w,r as n,u as C,a as c,j as a}from"./index.bd3517ca.js";import{r as u,a as l}from"./axios.a426b7c9.js";import"./utils.62547028.js";const x=()=>{let e={url:l.PageCustomService,data:{name:"msw111"}};return u.get(e)},B=()=>{let e={url:l.PageCustomService2,data:{name:"msw111"}};return u.get(e)},y=e=>{let r={url:l.resetPassword,data:{name:e}};return u.post(r)},D=e=>{let r={url:l.commonUpload,data:e};return u.file(r)},b=()=>{let e={url:l.exportDetails,data:{id:4,fileName:"\u7533\u8BF7\u5546\u54C1\u660E\u7EC6.xls",export:1}};return u.get(e)};function v(e){n.exports.useState(!0);let r=C();console.log(r),n.exports.useEffect(()=>{i()},[]);const i=async()=>{let{data:t,code:s}=await x();await B(),console.log(t,s)},p=async()=>{let{code:t,data:s}=await y("gdtest002");console.log(t,s)},[o,d]=n.exports.useState(null),m=async()=>{if(!o)return;if((o==null?void 0:o.size)>2*1024*1024){alert("\u5927\u4E86");return}let t=new FormData;const s=e.name||"file";t.append(s,o);let{code:f,data:h}=await D(t);console.log(f,h)},g=async()=>{let t=await b();console.log(t)};return c("div",{className:"User",children:["user",a("p",{children:a("button",{onClick:()=>{p()},children:"post\u8BF7\u6C42"})}),a("p",{children:a("button",{onClick:()=>{r.replace("/about")},children:"\u70B9\u6211\u53BBabout"})}),a("p",{children:a("button",{onClick:()=>{g()},children:"\u70B9\u6211\u4E0B\u8F7D"})}),c("p",{children:[a("input",{type:"file",onChange:t=>{d(t.target.files[0])}}),a("button",{onClick:()=>{m()},children:"\u70B9\u6211\u4E0A\u4F20"})]})]})}var S=w(v);export{S as default};
assets/utils.62547028.js ADDED
@@ -0,0 +1 @@
 
 
1
+ const o={get(s){const e=sessionStorage[s];return!e||e==="null"?null:JSON.parse(e).value},set(s,e){const t={value:e};sessionStorage[s]=JSON.stringify(t)},remove(s){sessionStorage.removeItem(s)},clear(){sessionStorage.clear()}};export{o as s};
index.html ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <link rel="icon" type="image/svg+xml" href="./assets/favicon.17e50649.svg" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
8
+ <title>Vite App</title>
9
+ <script type="module" crossorigin src="./assets/index.bd3517ca.js"></script>
10
+ <link rel="stylesheet" href="./assets/index.aeab7df9.css">
11
+ </head>
12
+ <body>
13
+ <div id="root"></div>
14
+
15
+ </body>
16
+ </html>
style.css ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ padding: 2rem;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
+ }
5
+
6
+ h1 {
7
+ font-size: 16px;
8
+ margin-top: 0;
9
+ }
10
+
11
+ p {
12
+ color: rgb(107, 114, 128);
13
+ font-size: 15px;
14
+ margin-bottom: 10px;
15
+ margin-top: 5px;
16
+ }
17
+
18
+ .card {
19
+ max-width: 620px;
20
+ margin: 0 auto;
21
+ padding: 16px;
22
+ border: 1px solid lightgray;
23
+ border-radius: 16px;
24
+ }
25
+
26
+ .card p:last-child {
27
+ margin-bottom: 0;
28
+ }