diff --git a/.nvmrc b/.nvmrc index 8ce7030825b..3516580bbbc 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.16.0 +20.17.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c8b43339d2..d9b0dd5d77b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ +### 15.31.3 (21 August 2024) + ### 15.31.2 (21 August 2024) - FIX `postCleanup` hook not running diff --git a/dist/cjs/plugins/utils/utils-rxdb-version.js b/dist/cjs/plugins/utils/utils-rxdb-version.js index 9ace97c247e..532bdcb1114 100644 --- a/dist/cjs/plugins/utils/utils-rxdb-version.js +++ b/dist/cjs/plugins/utils/utils-rxdb-version.js @@ -7,5 +7,5 @@ exports.RXDB_VERSION = void 0; /** * This file is replaced in the 'npm run build:version' script. */ -var RXDB_VERSION = exports.RXDB_VERSION = '15.31.2'; +var RXDB_VERSION = exports.RXDB_VERSION = '15.31.3'; //# sourceMappingURL=utils-rxdb-version.js.map \ No newline at end of file diff --git a/dist/cjs/plugins/utils/utils-rxdb-version.js.map b/dist/cjs/plugins/utils/utils-rxdb-version.js.map index 0dfa1994c28..33935f74c91 100644 --- a/dist/cjs/plugins/utils/utils-rxdb-version.js.map +++ b/dist/cjs/plugins/utils/utils-rxdb-version.js.map @@ -1 +1 @@ -{"version":3,"file":"utils-rxdb-version.js","names":["RXDB_VERSION","exports"],"sources":["../../../../src/plugins/utils/utils-rxdb-version.ts"],"sourcesContent":["/**\n * This file is replaced in the 'npm run build:version' script.\n */\nexport const RXDB_VERSION = '15.31.2';\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACO,IAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,SAAS","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"utils-rxdb-version.js","names":["RXDB_VERSION","exports"],"sources":["../../../../src/plugins/utils/utils-rxdb-version.ts"],"sourcesContent":["/**\n * This file is replaced in the 'npm run build:version' script.\n */\nexport const RXDB_VERSION = '15.31.3';\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACO,IAAMA,YAAY,GAAAC,OAAA,CAAAD,YAAA,GAAG,SAAS","ignoreList":[]} \ No newline at end of file diff --git a/dist/esm/plugins/utils/utils-rxdb-version.js b/dist/esm/plugins/utils/utils-rxdb-version.js index f574e1b7028..efe11098d4f 100644 --- a/dist/esm/plugins/utils/utils-rxdb-version.js +++ b/dist/esm/plugins/utils/utils-rxdb-version.js @@ -1,5 +1,5 @@ /** * This file is replaced in the 'npm run build:version' script. */ -export var RXDB_VERSION = '15.31.2'; +export var RXDB_VERSION = '15.31.3'; //# sourceMappingURL=utils-rxdb-version.js.map \ No newline at end of file diff --git a/dist/esm/plugins/utils/utils-rxdb-version.js.map b/dist/esm/plugins/utils/utils-rxdb-version.js.map index d2806bb4e36..7f9c2209473 100644 --- a/dist/esm/plugins/utils/utils-rxdb-version.js.map +++ b/dist/esm/plugins/utils/utils-rxdb-version.js.map @@ -1 +1 @@ -{"version":3,"file":"utils-rxdb-version.js","names":["RXDB_VERSION"],"sources":["../../../../src/plugins/utils/utils-rxdb-version.ts"],"sourcesContent":["/**\n * This file is replaced in the 'npm run build:version' script.\n */\nexport const RXDB_VERSION = '15.31.2';\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAO,IAAMA,YAAY,GAAG,SAAS","ignoreList":[]} \ No newline at end of file +{"version":3,"file":"utils-rxdb-version.js","names":["RXDB_VERSION"],"sources":["../../../../src/plugins/utils/utils-rxdb-version.ts"],"sourcesContent":["/**\n * This file is replaced in the 'npm run build:version' script.\n */\nexport const RXDB_VERSION = '15.31.3';\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAO,IAAMA,YAAY,GAAG,SAAS","ignoreList":[]} \ No newline at end of file diff --git a/dist/types/plugins/storage-denokv/index.d.ts b/dist/types/plugins/storage-denokv/index.d.ts index 668e18f7dd8..41ce792556d 100644 --- a/dist/types/plugins/storage-denokv/index.d.ts +++ b/dist/types/plugins/storage-denokv/index.d.ts @@ -4,7 +4,7 @@ import { RxStorageInstanceDenoKV } from "./rx-storage-instance-denokv.ts"; export declare class RxStorageDenoKV implements RxStorage, DenoKVSettings> { settings: DenoKVSettings; name: string; - readonly rxdbVersion = "15.31.2"; + readonly rxdbVersion = "15.31.3"; constructor(settings: DenoKVSettings); createStorageInstance(params: RxStorageInstanceCreationParams): Promise>; } diff --git a/dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts b/dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts index fe1a26a6648..79bd484af7c 100644 --- a/dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts +++ b/dist/types/plugins/storage-dexie/rx-storage-dexie.d.ts @@ -4,7 +4,7 @@ import { RxStorageInstanceDexie } from './rx-storage-instance-dexie.ts'; export declare class RxStorageDexie implements RxStorage { settings: DexieSettings; name: string; - readonly rxdbVersion = "15.31.2"; + readonly rxdbVersion = "15.31.3"; constructor(settings: DexieSettings); createStorageInstance(params: RxStorageInstanceCreationParams): Promise>; } diff --git a/dist/types/plugins/storage-lokijs/rx-storage-lokijs.d.ts b/dist/types/plugins/storage-lokijs/rx-storage-lokijs.d.ts index dd43b7f37a4..af95cc803e2 100644 --- a/dist/types/plugins/storage-lokijs/rx-storage-lokijs.d.ts +++ b/dist/types/plugins/storage-lokijs/rx-storage-lokijs.d.ts @@ -4,7 +4,7 @@ import type { LeaderElector } from 'broadcast-channel'; export declare class RxStorageLoki implements RxStorage { databaseSettings: LokiDatabaseSettings; name: string; - readonly rxdbVersion = "15.31.2"; + readonly rxdbVersion = "15.31.3"; /** * Create one leader elector by db name. * This is done inside of the storage, not globally diff --git a/dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts b/dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts index 517d8ceb786..ca406c0e419 100644 --- a/dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts +++ b/dist/types/plugins/storage-mongodb/rx-storage-mongodb.d.ts @@ -4,7 +4,7 @@ import { RxStorageInstanceMongoDB } from './rx-storage-instance-mongodb.ts'; export declare class RxStorageMongoDB implements RxStorage { databaseSettings: MongoDBDatabaseSettings; name: string; - readonly rxdbVersion = "15.31.2"; + readonly rxdbVersion = "15.31.3"; constructor(databaseSettings: MongoDBDatabaseSettings); createStorageInstance(params: RxStorageInstanceCreationParams): Promise>; } diff --git a/dist/types/plugins/storage-remote/rx-storage-remote.d.ts b/dist/types/plugins/storage-remote/rx-storage-remote.d.ts index 1c7d3bc0ce8..b0051ec7d6b 100644 --- a/dist/types/plugins/storage-remote/rx-storage-remote.d.ts +++ b/dist/types/plugins/storage-remote/rx-storage-remote.d.ts @@ -4,7 +4,7 @@ import type { MessageFromRemote, RemoteMessageChannel, RxStorageRemoteInternals, export declare class RxStorageRemote implements RxStorage { readonly settings: RxStorageRemoteSettings; readonly name: string; - readonly rxdbVersion = "15.31.2"; + readonly rxdbVersion = "15.31.3"; private seed; private lastRequestId; messageChannelIfOneMode?: Promise; diff --git a/dist/types/plugins/utils/utils-rxdb-version.d.ts b/dist/types/plugins/utils/utils-rxdb-version.d.ts index 0286f202847..68077fedeb5 100644 --- a/dist/types/plugins/utils/utils-rxdb-version.d.ts +++ b/dist/types/plugins/utils/utils-rxdb-version.d.ts @@ -1,4 +1,4 @@ /** * This file is replaced in the 'npm run build:version' script. */ -export declare const RXDB_VERSION = "15.31.2"; +export declare const RXDB_VERSION = "15.31.3"; diff --git a/dist/types/rx-database.d.ts b/dist/types/rx-database.d.ts index 0d581a297d4..f7c996c68a5 100644 --- a/dist/types/rx-database.d.ts +++ b/dist/types/rx-database.d.ts @@ -29,7 +29,7 @@ export declare class RxDatabaseBase | undefined; readonly idleQueue: IdleQueue; - readonly rxdbVersion = "15.31.2"; + readonly rxdbVersion = "15.31.3"; /** * Contains all known non-closed storage instances * that belong to this database. diff --git a/docs/404.html b/docs/404.html index 31b73dfec34..8551de07c9e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/adapters.html b/docs/adapters.html index e68876f4fc2..81f153fdfdd 100644 --- a/docs/adapters.html +++ b/docs/adapters.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/alternatives.html b/docs/alternatives.html index 0dc82cbe5d5..865e446288e 100644 --- a/docs/alternatives.html +++ b/docs/alternatives.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/angular-database.html b/docs/articles/angular-database.html index 214578cb350..af38be6f589 100644 --- a/docs/articles/angular-database.html +++ b/docs/articles/angular-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/browser-database.html b/docs/articles/browser-database.html index 8c5b2476c18..43d4ddcbf66 100644 --- a/docs/articles/browser-database.html +++ b/docs/articles/browser-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/browser-storage.html b/docs/articles/browser-storage.html index 397469460eb..7d7e3f6c72e 100644 --- a/docs/articles/browser-storage.html +++ b/docs/articles/browser-storage.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/data-base.html b/docs/articles/data-base.html index 55c50e9cdc8..2c186df5099 100644 --- a/docs/articles/data-base.html +++ b/docs/articles/data-base.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/embedded-database.html b/docs/articles/embedded-database.html index 5cfdde37cb5..a643c16c8a6 100644 --- a/docs/articles/embedded-database.html +++ b/docs/articles/embedded-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/flutter-database.html b/docs/articles/flutter-database.html index e6665b90a5d..1331becf8ac 100644 --- a/docs/articles/flutter-database.html +++ b/docs/articles/flutter-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/frontend-database.html b/docs/articles/frontend-database.html index b8ad59b0b47..c0f4a3f4d54 100644 --- a/docs/articles/frontend-database.html +++ b/docs/articles/frontend-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/in-memory-nosql-database.html b/docs/articles/in-memory-nosql-database.html index 588ad1ce4cb..ec72f9774d0 100644 --- a/docs/articles/in-memory-nosql-database.html +++ b/docs/articles/in-memory-nosql-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/ionic-database.html b/docs/articles/ionic-database.html index dea4a2e1439..68bb67e0d18 100644 --- a/docs/articles/ionic-database.html +++ b/docs/articles/ionic-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/json-database.html b/docs/articles/json-database.html index e4573dfa6d5..c6f37fb527a 100644 --- a/docs/articles/json-database.html +++ b/docs/articles/json-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm/index.html b/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm/index.html index 4972754d6aa..12dd851e1c7 100644 --- a/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm/index.html +++ b/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm/index.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/localstorage.html b/docs/articles/localstorage.html index e476b71979d..e991543d98d 100644 --- a/docs/articles/localstorage.html +++ b/docs/articles/localstorage.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/mobile-database.html b/docs/articles/mobile-database.html index 407db5723a4..c991ec74b8e 100644 --- a/docs/articles/mobile-database.html +++ b/docs/articles/mobile-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/progressive-web-app-database.html b/docs/articles/progressive-web-app-database.html index f41af7444e9..eca9c0ddbc1 100644 --- a/docs/articles/progressive-web-app-database.html +++ b/docs/articles/progressive-web-app-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/react-database.html b/docs/articles/react-database.html index 09219ffcec7..44da1b8c625 100644 --- a/docs/articles/react-database.html +++ b/docs/articles/react-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/realtime-database.html b/docs/articles/realtime-database.html index 8503907bcf5..5bd6f3615dc 100644 --- a/docs/articles/realtime-database.html +++ b/docs/articles/realtime-database.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/articles/websockets-sse-polling-webrtc-webtransport.html b/docs/articles/websockets-sse-polling-webrtc-webtransport.html index ab0006276e4..6e87b37d737 100644 --- a/docs/articles/websockets-sse-polling-webrtc-webtransport.html +++ b/docs/articles/websockets-sse-polling-webrtc-webtransport.html @@ -15,8 +15,8 @@ - - + + diff --git a/docs/assets/js/6744.3b980d44.js b/docs/assets/js/6744.3b980d44.js deleted file mode 100644 index 82692041ed0..00000000000 --- a/docs/assets/js/6744.3b980d44.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 6744.3b980d44.js.LICENSE.txt */ -"use strict";(self.webpackChunkrxdb=self.webpackChunkrxdb||[]).push([[6744],{2742:(e,t,n)=>{n.d(t,{z1:()=>O,cM:()=>y});var r=n(2456),o=n(6250),i=2,a=.16,c=.05,l=.05,s=.15,u=5,f=4,d=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.wE)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function m(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.Ob)(t,n,o,!1))}function g(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function h(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===f?e.s+a:e.s+c*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function v(e,t,n){var r;return(r=n?e.v+l*t:e.v-s*t)>1&&(r=1),Number(r.toFixed(2))}function y(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.RO)(e),i=u;i>0;i-=1){var a=p(r),c=m((0,o.RO)({h:g(a,i,!0),s:h(a,i,!0),v:v(a,i,!0)}));n.push(c)}n.push(m(r));for(var l=1;l<=f;l+=1){var s=p(r),y=m((0,o.RO)({h:g(s,l),s:h(s,l),v:v(s,l)}));n.push(y)}return"dark"===t.theme?d.map((function(e){var r,i,a,c=e.index,l=e.opacity;return m((r=(0,o.RO)(t.backgroundColor||"#141414"),i=(0,o.RO)(n[c]),a=100*l/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var b=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];b.primary=b[5];var A=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];A.primary=A[5];var x=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];x.primary=x[5];var C=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];C.primary=C[5];var w=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];w.primary=w[5];var E=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];E.primary=E[5];var S=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];S.primary=S[5];var k=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];k.primary=k[5];var O=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];O.primary=O[5];var P=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];P.primary=P[5];var M=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];M.primary=M[5];var $=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];$.primary=$[5];var F=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];F.primary=F[5];var j=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];j.primary=j[5];var R=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];R.primary=R[5];var T=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];T.primary=T[5];var N=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];N.primary=N[5];var I=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];I.primary=I[5];var L=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];L.primary=L[5];var z=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];z.primary=z[5];var H=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];H.primary=H[5];var B=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];B.primary=B[5];var D=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];D.primary=D[5];var _=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];_.primary=_[5];var V=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];V.primary=V[5];var W=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];W.primary=W[5]},7689:(e,t,n)=>{n.d(t,{Mo:()=>ct,an:()=>$,Ki:()=>H,zA:()=>L,RC:()=>at,hV:()=>te,IV:()=>ot});var r=n(4467),o=n(641),i=n(8339),a=n(9379);const c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var l=n(5089),s=n(6540),u=n.t(s,2),f=(n(8104),n(3210),n(3029)),d=n(2901),p="%";function m(e){return e.join(p)}const g=function(){function e(t){(0,f.A)(this,e),(0,r.A)(this,"instanceId",void 0),(0,r.A)(this,"cache",new Map),this.instanceId=t}return(0,d.A)(e,[{key:"get",value:function(e){return this.opGet(m(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(m(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var h="data-token-hash",v="data-css-hash",y="__cssinjs_instance__";function b(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(v,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[y]=t[y]||e,t[y]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(v,"]"))).forEach((function(t){var n,o=t.getAttribute(v);r[o]?t[y]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new g(e)}var A=s.createContext({hashPriority:"low",cache:b(),defaultCache:!0});const x=A;var C=n(2284),w=n(998),E="CALC_UNIT";new RegExp(E,"g");var S=function(){function e(){(0,f.A)(this,e),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"keys",void 0),(0,r.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,d.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var n=(0,o.A)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),O+=1}return(0,d.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),M=new S;function $(e){var t=Array.isArray(e)?e:[e];return M.has(t)||M.set(t,new P(t)),M.get(t)}var F=new WeakMap,j={};var R=new WeakMap;function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=R.get(e)||"";return n||(Object.keys(e).forEach((function(r){var o=e[r];n+=r,o instanceof P?n+=o.id:o&&"object"===(0,C.A)(o)?n+=T(o,t):n+=o})),t&&(n=c(n)),R.set(e,n)),n}function N(e,t){return c("".concat(t,"_").concat(T(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var I=(0,w.A)();function L(e){return"number"==typeof e?"".concat(e,"px"):e}function z(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var i=(0,a.A)((0,a.A)({},o),{},(0,r.A)((0,r.A)({},h,t),v,n)),c=Object.keys(i).map((function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},B=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,o.A)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},D=function(e,t,n){var r={},i={};return Object.entries(e).forEach((function(e){var t,a,c=(0,o.A)(e,2),l=c[0],s=c[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])i[l]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[l])){var u,f=H(l,null==n?void 0:n.prefix);r[f]="number"!=typeof s||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(s):"".concat(s,"px"),i[l]="var(".concat(f,")")}})),[i,B(r,t,{scope:null==n?void 0:n.scope})]},_=n(981),V=(0,a.A)({},u).useInsertionEffect;const W=V?function(e,t,n){return V((function(){return e(),t()}),n)}:function(e,t,n){s.useMemo(e,n),(0,_.A)((function(){return t(!0)}),n)};const q=void 0!==(0,a.A)({},u).useInsertionEffect?function(e){var t=[],n=!1;return s.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};const U=function(){return!1};function X(e,t,n,r,a){var c=s.useContext(x).cache,l=m([e].concat((0,i.A)(t))),u=q([l]),f=(U(),function(e){c.opUpdate(l,(function(t){var r=t||[void 0,void 0],i=(0,o.A)(r,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});s.useMemo((function(){f()}),[l]);var d=c.opGet(l)[1];return W((function(){null==a||a(d)}),(function(e){return f((function(t){var n=(0,o.A)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==a||a(d)),[r+1,i]})),function(){c.opUpdate(l,(function(t){var n=t||[],i=(0,o.A)(n,2),a=i[0],s=void 0===a?0:a,f=i[1];return 0===s-1?(u((function(){!e&&c.opGet(l)||null==r||r(f,!1)})),null):[s-1,f]}))}}),[l]),d}var G={},K="css",Y=new Map;var Q=0;function Z(e,t){Y.set(e,(Y.get(e)||0)-1);var n=Array.from(Y.keys()),r=n.filter((function(e){return(Y.get(e)||0)<=0}));n.length-r.length>Q&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(h,'="').concat(e,'"]')).forEach((function(e){var n;e[y]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),Y.delete(e)}))}var J=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,a.A)((0,a.A)({},o),t);return r&&(i=r(i)),i},ee="token";function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,s.useContext)(x),u=r.cache.instanceId,f=r.container,d=n.salt,p=void 0===d?"":d,m=n.override,g=void 0===m?G:m,b=n.formatToken,A=n.getComputedToken,C=n.cssVar,w=function(e,t){for(var n=F,r=0;r0?ge(ke,--Ee):0,Ce--,10===Se&&(Ce=1,xe--),Se}function Me(){return Se=Ee2||Re(Se)>3?"":" "}function ze(e,t){for(;--t&&Me()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return je(e,Fe()+(t<6&&32==$e()&&32==Me()))}function He(e){for(;Me();)switch(Se){case e:return Ee;case 34:case 39:34!==e&&39!==e&&He(Se);break;case 40:41===e&&He(e);break;case 92:Me()}return Ee}function Be(e,t){for(;Me()&&e+Se!==57&&(e+Se!==84||47!==$e()););return"/*"+je(t,Ee-1)+"*"+fe(47===e?e:Me())}function De(e){for(;!Re($e());)Me();return je(e,Ee)}function _e(e){return Ne(Ve("",null,null,null,[""],e=Te(e),0,[0],e))}function Ve(e,t,n,r,o,i,a,c,l){for(var s=0,u=0,f=a,d=0,p=0,m=0,g=1,h=1,v=1,y=0,b="",A=o,x=i,C=r,w=b;h;)switch(m=y,y=Me()){case 40:if(108!=m&&58==ge(w,f-1)){-1!=me(w+=pe(Ie(y),"&","&\f"),"&\f",ue(s?c[s-1]:0))&&(v=-1);break}case 34:case 39:case 91:w+=Ie(y);break;case 9:case 10:case 13:case 32:w+=Le(m);break;case 92:w+=ze(Fe()-1,7);continue;case 47:switch($e()){case 42:case 47:ye(qe(Be(Me(),Fe()),t,n,l),l);break;default:w+="/"}break;case 123*g:c[s++]=ve(w)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==v&&(w=pe(w,/\f/g,"")),p>0&&ve(w)-f&&ye(p>32?Ue(w+";",r,n,f-1,l):Ue(pe(w," ","")+";",r,n,f-2,l),l);break;case 59:w+=";";default:if(ye(C=We(w,t,n,s,u,o,c,b,A=[],x=[],f,i),i),123===y)if(0===u)Ve(w,t,C,C,A,i,f,c,x);else switch(99===d&&110===ge(w,3)?100:d){case 100:case 108:case 109:case 115:Ve(e,C,C,r&&ye(We(e,C,C,0,0,o,c,b,o,A=[],f,x),x),o,x,f,c,r?A:x);break;default:Ve(w,C,C,C,[""],x,0,c,x)}}s=u=p=0,g=v=1,b=w="",f=a;break;case 58:f=1+ve(w),p=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==Pe())continue;switch(w+=fe(y),y*g){case 38:v=u>0?1:(w+="\f",-1);break;case 44:c[s++]=(ve(w)-1)*v,v=1;break;case 64:45===$e()&&(w+=Ie(Me())),d=$e(),u=f=ve(b=w+=De(Fe())),y++;break;case 45:45===m&&2==ve(w)&&(g=0)}}return i}function We(e,t,n,r,o,i,a,c,l,s,u,f){for(var d=o-1,p=0===o?i:[""],m=function(e){return e.length}(p),g=0,h=0,v=0;g0?p[y]+" "+b:pe(b,/&\f/g,p[y])))&&(l[v++]=A);return Oe(e,t,n,0===o?ie:c,l,s,u,f)}function qe(e,t,n,r){return Oe(e,t,n,oe,fe(Se),he(e,2,-2),0,r)}function Ue(e,t,n,r,o){return Oe(e,t,n,ae,he(e,0,r),he(e,r+1,-1),r,o)}var Xe,Ge="data-ant-cssinjs-cache-path",Ke="_FILE_STYLE__";var Ye=!0;function Qe(e){return function(){if(!Xe&&(Xe={},(0,w.A)())){var e=document.createElement("div");e.className=Ge,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,o.A)(t,2),r=n[0],i=n[1];Xe[r]=i}));var n,r=document.querySelector("style[".concat(Ge,"]"));r&&(Ye=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Xe[e]}var Ze="_multi_value_";function Je(e){return be(_e(e),Ae).replace(/\{%%%\:[^;];}/g,";")}var et=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},c=r.root,l=r.injectHash,s=r.parentSelectors,u=n.hashId,f=n.layer,d=(n.path,n.hashPriority),p=n.transformers,m=void 0===p?[]:p,g=(n.linters,""),h={};function v(t){var r=t.getName(u);if(!h[r]){var i=e(t.style,n,{root:!1,parentSelectors:s}),a=(0,o.A)(i,1)[0];h[r]="@keyframes ".concat(t.getName(u)).concat(a)}}var y=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return y.forEach((function(t){var r="string"!=typeof t||c?t:{};if("string"==typeof r)g+="".concat(r,"\n");else if(r._keyframe)v(r);else{var f=m.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(f).forEach((function(t){var r=f[t];if("object"!==(0,C.A)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,C.A)(e)&&e&&("_skip_check_"in e||Ze in e)}(r)){var p;function k(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;re[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(u)),g+="".concat(n,":").concat(r,";")}var m=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,C.A)(r)&&null!=r&&r[Ze]&&Array.isArray(m)?m.forEach((function(e){k(t,e)})):k(t,m)}else{var y=!1,b=t.trim(),A=!1;(c||l)&&u?b.startsWith("@")?y=!0:b=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.A)(n.slice(1))).join(" ")})).join(",")}(t,u,d):!c||u||"&"!==b&&""!==b||(b="",A=!0);var x=e(r,n,{root:A,injectHash:y,parentSelectors:[].concat((0,i.A)(s),[b])}),w=(0,o.A)(x,2),E=w[0],S=w[1];h=(0,a.A)((0,a.A)({},h),S),g+="".concat(b).concat(E)}}))}})),c?f&&(g="@layer ".concat(f.name," {").concat(g,"}"),f.dependencies&&(h["@layer ".concat(f.name)]=f.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(f.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,h]};function tt(e,t){return c("".concat(e.join("%")).concat(t))}function nt(){return null}var rt="style";function ot(e,t){var n=e.token,c=e.path,u=e.hashId,f=e.layer,d=e.nonce,p=e.clientOnly,m=e.order,g=void 0===m?0:m,b=s.useContext(x),A=b.autoClear,C=(b.mock,b.defaultCache),E=b.hashPriority,S=b.container,k=b.ssrInline,O=b.transformers,P=b.linters,M=b.cache,$=b.layer,F=n._tokenKey,j=[F];$&&j.push("layer"),j.push.apply(j,(0,i.A)(c));var R=I;var T=X(rt,j,(function(){var e=j.join("|");if(Qe(e)){var n=function(e){var t=Xe[e],n=null;if(t&&(0,w.A)())if(Ye)n=Ke;else{var r=document.querySelector("style[".concat(v,'="').concat(Xe[e],'"]'));r?n=r.innerHTML:delete Xe[e]}return[n,t]}(e),r=(0,o.A)(n,2),i=r[0],a=r[1];if(i)return[i,F,a,{},p,g]}var l=t(),s=et(l,{hashId:u,hashPriority:E,layer:$?f:void 0,path:c.join("-"),transformers:O,linters:P}),d=(0,o.A)(s,2),m=d[0],h=d[1],y=Je(m),b=tt(j,y);return[y,F,b,h,p,g]}),(function(e,t){var n=(0,o.A)(e,3)[2];(t||A)&&I&&(0,l.m6)(n,{mark:v})}),(function(e){var t=(0,o.A)(e,4),n=t[0],r=(t[1],t[2]),i=t[3];if(R&&n!==Ke){var c={mark:v,prepend:!$&&"queue",attachTo:S,priority:g},s="function"==typeof d?d():d;s&&(c.csp={nonce:s});var u=[],f=[];Object.keys(i).forEach((function(e){e.startsWith("@layer")?u.push(e):f.push(e)})),u.forEach((function(e){(0,l.BD)(Je(i[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},c),{},{prepend:!0}))}));var p=(0,l.BD)(n,r,c);p[y]=M.instanceId,p.setAttribute(h,F),f.forEach((function(e){(0,l.BD)(Je(i[e]),"_effect-".concat(e),c)}))}})),N=(0,o.A)(T,3),L=N[0],z=N[1],H=N[2];return function(e){var t;return t=k&&!R&&C?s.createElement("style",(0,ne.A)({},(0,r.A)((0,r.A)({},h,z),v,H),{dangerouslySetInnerHTML:{__html:L}})):s.createElement(nt,null),s.createElement(s.Fragment,null,t,e)}}var it="cssVar";const at=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,c=e.ignore,u=e.token,f=e.scope,d=void 0===f?"":f,p=(0,s.useContext)(x),m=p.cache.instanceId,g=p.container,b=u._tokenKey,A=[].concat((0,i.A)(e.path),[n,d,b]);return X(it,A,(function(){var e=t(),i=D(e,n,{prefix:r,unitless:a,ignore:c,scope:d}),l=(0,o.A)(i,2),s=l[0],u=l[1];return[s,u,tt(A,u),n]}),(function(e){var t=(0,o.A)(e,3)[2];I&&(0,l.m6)(t,{mark:v})}),(function(e){var t=(0,o.A)(e,3),r=t[1],i=t[2];if(r){var a=(0,l.BD)(r,i,{mark:v,prepend:"queue",attachTo:g,priority:-999});a[y]=m,a.setAttribute(h,n)}}))};(0,r.A)((0,r.A)((0,r.A)({},rt,(function(e,t,n){var r=(0,o.A)(e,6),i=r[0],a=r[1],c=r[2],l=r[3],s=r[4],u=r[5],f=(n||{}).plain;if(s)return null;var d=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return d=z(i,a,c,p,f),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=z(Je(l[e]),a,"_effect-".concat(e),p,f);e.startsWith("@layer")?d=n+d:d+=n}})),[u,c,d]})),ee,(function(e,t,n){var r=(0,o.A)(e,5),i=r[2],a=r[3],c=r[4],l=(n||{}).plain;if(!a)return null;var s=i._tokenKey;return[-999,s,z(a,c,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),it,(function(e,t,n){var r=(0,o.A)(e,4),i=r[1],a=r[2],c=r[3],l=(n||{}).plain;if(!i)return null;return[-999,a,z(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));const ct=function(){function e(t,n){(0,f.A)(this,e),(0,r.A)(this,"name",void 0),(0,r.A)(this,"style",void 0),(0,r.A)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,d.A)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function lt(e){return e.notSplit=!0,e}lt(["borderTop","borderBottom"]),lt(["borderTop"]),lt(["borderBottom"]),lt(["borderLeft","borderRight"]),lt(["borderLeft"]),lt(["borderRight"])},6653:(e,t,n)=>{n.d(t,{A:()=>M});var r=n(8168),o=n(641),i=n(4467),a=n(45),c=n(6540),l=n(6942),s=n.n(l),u=n(2742),f=n(1053),d=n(9379),p=n(2284),m=n(5089),g=n(2633),h=n(8210);function v(e){return"object"===(0,p.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.A)(e.icon)||"function"==typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function b(e,t,n){return n?c.createElement(e.tag,(0,d.A)((0,d.A)({key:t},y(e.attrs)),n),(e.children||[]).map((function(n,r){return b(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,d.A)({key:t},y(e.attrs)),(e.children||[]).map((function(n,r){return b(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function A(e){return(0,u.cM)(e)[0]}function x(e){return e?Array.isArray(e)?e:[e]:[]}var C=["icon","className","onClick","style","primaryColor","secondaryColor"],w={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var E=function(e){var t,n,r,o,i,l,s,u=e.icon,p=e.className,y=e.onClick,x=e.style,E=e.primaryColor,S=e.secondaryColor,k=(0,a.A)(e,C),O=c.useRef(),P=w;if(E&&(P={primaryColor:E,secondaryColor:S||A(E)}),t=O,n=(0,c.useContext)(f.A),r=n.csp,o=n.prefixCls,i="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,c.useEffect)((function(){var e=t.current,n=(0,g.j)(e);(0,m.BD)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),l=v(u),s="icon should be icon definiton, but got ".concat(u),(0,h.Ay)(l,"[@ant-design/icons] ".concat(s)),!v(u))return null;var M=u;return M&&"function"==typeof M.icon&&(M=(0,d.A)((0,d.A)({},M),{},{icon:M.icon(P.primaryColor,P.secondaryColor)})),b(M.icon,"svg-".concat(M.name),(0,d.A)((0,d.A)({className:p,onClick:y,style:x,"data-icon":M.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},k),{},{ref:O}))};E.displayName="IconReact",E.getTwoToneColors=function(){return(0,d.A)({},w)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;w.primaryColor=t,w.secondaryColor=n||A(t),w.calculated=!!n};const S=E;function k(e){var t=x(e),n=(0,o.A)(t,2),r=n[0],i=n[1];return S.setTwoToneColors({primaryColor:r,secondaryColor:i})}var O=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];k(u.z1.primary);var P=c.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,d=e.rotate,p=e.tabIndex,m=e.onClick,g=e.twoToneColor,h=(0,a.A)(e,O),v=c.useContext(f.A),y=v.prefixCls,b=void 0===y?"anticon":y,A=v.rootClassName,C=s()(A,b,(0,i.A)((0,i.A)({},"".concat(b,"-").concat(l.name),!!l.name),"".concat(b,"-spin"),!!u||"loading"===l.name),n),w=p;void 0===w&&m&&(w=-1);var E=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,k=x(g),P=(0,o.A)(k,2),M=P[0],$=P[1];return c.createElement("span",(0,r.A)({role:"img","aria-label":l.name},h,{ref:t,tabIndex:w,onClick:m,className:C}),c.createElement(S,{icon:l,primaryColor:M,secondaryColor:$,style:E}))}));P.displayName="AntdIcon",P.getTwoToneColor=function(){var e=S.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},P.setTwoToneColor=k;const M=P},1053:(e,t,n)=>{n.d(t,{A:()=>r});const r=(0,n(6540).createContext)({})},4754:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},6467:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},209:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},2456:(e,t,n)=>{n.d(t,{H:()=>f,K6:()=>i,Me:()=>s,Ob:()=>u,YL:()=>c,_:()=>o,g8:()=>m,n6:()=>p,oS:()=>g,wE:()=>l});var r=n(9244);function o(e,t,n){return{r:255*(0,r.Cg)(e,255),g:255*(0,r.Cg)(t,255),b:255*(0,r.Cg)(n,255)}}function i(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,l=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=l>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.Cg)(e,360),t=(0,r.Cg)(t,100),n=(0,r.Cg)(n,100),0===t)i=n,c=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),i=a(s,l,e),c=a(s,l,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function l(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,l=o-i,s=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},2434:(e,t,n)=>{n.d(t,{D:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},6250:(e,t,n)=>{n.d(t,{RO:()=>a});var r=n(2456),o=n(2434),i=n(9244);function a(e){var t={r:0,g:0,b:0},n=1,a=null,c=null,l=null,s=!1,d=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(o.D[e])e=o.D[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,r._)(e.r,e.g,e.b),s=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.Px)(e.s),c=(0,i.Px)(e.v),t=(0,r.Me)(e.h,a,c),s=!0,d="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.Px)(e.s),l=(0,i.Px)(e.l),t=(0,r.YL)(e.h,a,l),s=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.TV)(n),{ok:s,format:e.format||d,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),u={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},4978:(e,t,n)=>{n.d(t,{q:()=>c});var r=n(2456),o=n(2434),i=n(6250),a=n(9244),c=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.oS)(t)),this.originalInput=t;var a=(0,i.RO)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.TV)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.wE)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.wE)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.K6)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.K6)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.Ob)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.H)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.Cg)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.Cg)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.Ob)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.D);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{Cg:()=>r,J$:()=>o,Px:()=>a,TV:()=>i,wl:()=>c})},3089:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(641),o=n(6540),i=n(961),a=n(998),c=(n(8210),n(8719));const l=o.createContext(null);var s=n(8339),u=n(981),f=[];var d=n(5089);function p(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,o,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var c=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(c.width,10),s=parseInt(c.height,10);try{var u=l?"width: ".concat(c.width,";"):"",f=s?"height: ".concat(c.height,";"):"";(0,d.BD)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(u,"\n").concat(f,"\n}"),t)}catch(g){console.error(g),r=l,o=s}}document.body.appendChild(n);var p=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,m=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,d.m6)(t),{width:p,height:m}}var m="rc-util-locker-".concat(Date.now()),g=0;function h(e){var t=!!e,n=o.useState((function(){return g+=1,"".concat(m,"_").concat(g)})),i=(0,r.A)(n,1)[0];(0,u.A)((function(){if(t){var e=(r=document.body,"undefined"!=typeof document&&r&&r instanceof Element?p(r):{width:0,height:0}).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,d.m6)(i);var r;return function(){(0,d.m6)(i)}}),[t,i])}var v=!1;var y=function(e){return!1!==e&&((0,a.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const b=o.forwardRef((function(e,t){var n=e.open,d=e.autoLock,p=e.getContainer,m=(e.debug,e.autoDestroy),g=void 0===m||m,b=e.children,A=o.useState(n),x=(0,r.A)(A,2),C=x[0],w=x[1],E=C||n;o.useEffect((function(){(g||n)&&w(n)}),[n,g]);var S=o.useState((function(){return y(p)})),k=(0,r.A)(S,2),O=k[0],P=k[1];o.useEffect((function(){var e=y(p);P(null!=e?e:null)}));var M=function(e){var t=o.useState((function(){return(0,a.A)()?document.createElement("div"):null})),n=(0,r.A)(t,1)[0],i=o.useRef(!1),c=o.useContext(l),d=o.useState(f),p=(0,r.A)(d,2),m=p[0],g=p[1],h=c||(i.current?void 0:function(e){g((function(t){return[e].concat((0,s.A)(t))}))});function v(){n.parentElement||document.body.appendChild(n),i.current=!0}function y(){var e;null===(e=n.parentElement)||void 0===e||e.removeChild(n),i.current=!1}return(0,u.A)((function(){return e?c?c(v):v():y(),y}),[e]),(0,u.A)((function(){m.length&&(m.forEach((function(e){return e()})),g(f))}),[m]),[n,h]}(E&&!O),$=(0,r.A)(M,2),F=$[0],j=$[1],R=null!=O?O:F;h(d&&n&&(0,a.A)()&&(R===F||R===document.body));var T=null;b&&(0,c.f3)(b)&&t&&(T=b.ref);var N=(0,c.xK)(T,t);if(!E||!(0,a.A)()||void 0===O)return null;var I,L=!1===R||("boolean"==typeof I&&(v=I),v),z=b;return t&&(z=o.cloneElement(b,{ref:N})),o.createElement(l.Provider,{value:j},L?z:(0,i.createPortal)(z,R))}))},5830:(e,t,n)=>{n.d(t,{A:()=>_});var r=n(9379),o=n(641),i=n(45),a=n(3089),c=n(6942),l=n.n(c),s=n(5470),u=n(6112),f=n(2633),d=n(6956),p=n(6855),m=n(981),g=n(8430),h=n(6540),v=n(8168),y=n(8612),b=n(8719);function A(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,c=i.content,s=o.x,u=void 0===s?0:s,f=o.y,d=void 0===f?0:f,p=h.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(!1!==n.autoArrow){var g=n.points[0],v=n.points[1],y=g[0],b=g[1],A=v[0],x=v[1];y!==A&&["t","b"].includes(y)?"t"===y?m.top=0:m.bottom=0:m.top=d,b!==x&&["l","r"].includes(b)?"l"===b?m.left=0:m.right=0:m.left=u}return h.createElement("div",{ref:p,className:l()("".concat(t,"-arrow"),a),style:m},c)}function x(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?h.createElement(y.Ay,(0,v.A)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return h.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})})):null}const C=h.memo((function(e){return e.children}),(function(e,t){return t.cache}));const w=h.forwardRef((function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,c=e.style,u=e.target,f=e.onVisibleChanged,d=e.open,p=e.keepDom,g=e.fresh,w=e.onClick,E=e.mask,S=e.arrow,k=e.arrowPos,O=e.align,P=e.motion,M=e.maskMotion,$=e.forceRender,F=e.getPopupContainer,j=e.autoDestroy,R=e.portal,T=e.zIndex,N=e.onMouseEnter,I=e.onMouseLeave,L=e.onPointerEnter,z=e.ready,H=e.offsetX,B=e.offsetY,D=e.offsetR,_=e.offsetB,V=e.onAlign,W=e.onPrepare,q=e.stretch,U=e.targetWidth,X=e.targetHeight,G="function"==typeof n?n():n,K=d||p,Y=(null==F?void 0:F.length)>0,Q=h.useState(!F||!Y),Z=(0,o.A)(Q,2),J=Z[0],ee=Z[1];if((0,m.A)((function(){!J&&Y&&u&&ee(!0)}),[J,Y,u]),!J)return null;var te="auto",ne={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(z||!d){var re,oe=O.points,ie=O.dynamicInset||(null===(re=O._experimental)||void 0===re?void 0:re.dynamicInset),ae=ie&&"r"===oe[0][1],ce=ie&&"b"===oe[0][0];ae?(ne.right=D,ne.left=te):(ne.left=H,ne.right=te),ce?(ne.bottom=_,ne.top=te):(ne.top=B,ne.bottom=te)}var le={};return q&&(q.includes("height")&&X?le.height=X:q.includes("minHeight")&&X&&(le.minHeight=X),q.includes("width")&&U?le.width=U:q.includes("minWidth")&&U&&(le.minWidth=U)),d||(le.pointerEvents="none"),h.createElement(R,{open:$||K,getContainer:F&&function(){return F(u)},autoDestroy:j},h.createElement(x,{prefixCls:a,open:d,zIndex:T,mask:E,motion:M}),h.createElement(s.A,{onResize:V,disabled:!d},(function(e){return h.createElement(y.Ay,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$,leavedClassName:"".concat(a,"-hidden")},P,{onAppearPrepare:W,onEnterPrepare:W,visible:d,onVisibleChanged:function(e){var t;null==P||null===(t=P.onVisibleChanged)||void 0===t||t.call(P,e),f(e)}}),(function(n,o){var s=n.className,u=n.style,f=l()(a,s,i);return h.createElement("div",{ref:(0,b.K4)(e,t,o),className:f,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat(k.x||0,"px"),"--arrow-y":"".concat(k.y||0,"px")},ne),le),u),{},{boxSizing:"border-box",zIndex:T},c),onMouseEnter:N,onMouseLeave:I,onPointerEnter:L,onClick:w},S&&h.createElement(A,{prefixCls:a,arrow:S,arrowPos:k,align:O}),h.createElement(C,{cache:!d&&!g},G))}))})))}));const E=h.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,b.f3)(n),i=h.useCallback((function(e){(0,b.Xf)(t,r?r(e):e)}),[r]),a=(0,b.xK)(i,n.ref);return o?h.cloneElement(n,{ref:a}):n}));const S=h.createContext(null);function k(e){return e?Array.isArray(e)?e:[e]:[]}var O=n(2467);function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function M(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function $(e){return e.ownerDocument.defaultView}function F(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=$(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function R(e){return j(parseFloat(e),0)}function T(e,t){var n=(0,r.A)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=$(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,c=t.borderLeftWidth,l=t.borderRightWidth,s=e.getBoundingClientRect(),u=e.offsetHeight,f=e.clientHeight,d=e.offsetWidth,p=e.clientWidth,m=R(i),g=R(a),h=R(c),v=R(l),y=j(Math.round(s.width/d*1e3)/1e3),b=j(Math.round(s.height/u*1e3)/1e3),A=(d-p-h-v)*y,x=(u-f-m-g)*b,C=m*b,w=g*b,E=h*y,S=v*y,k=0,O=0;if("clip"===r){var P=R(o);k=P*y,O=P*b}var M=s.x+E-k,F=s.y+C-O,T=M+s.width+2*k-E-S-A,N=F+s.height+2*O-C-w-x;n.left=Math.max(n.left,M),n.top=Math.max(n.top,F),n.right=Math.min(n.right,T),n.bottom=Math.min(n.bottom,N)}})),n}function N(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function I(e,t){var n=t||[],r=(0,o.A)(n,2),i=r[0],a=r[1];return[N(e.width,i),N(e.height,a)]}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function z(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function H(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var B=n(8339);n(8210);var D=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return h.forwardRef((function(t,n){var a=t.prefixCls,c=void 0===a?"rc-trigger-popup":a,v=t.children,y=t.action,b=void 0===y?"hover":y,A=t.showAction,x=t.hideAction,C=t.popupVisible,R=t.defaultPopupVisible,N=t.onPopupVisibleChange,_=t.afterPopupVisibleChange,V=t.mouseEnterDelay,W=t.mouseLeaveDelay,q=void 0===W?.1:W,U=t.focusDelay,X=t.blurDelay,G=t.mask,K=t.maskClosable,Y=void 0===K||K,Q=t.getPopupContainer,Z=t.forceRender,J=t.autoDestroy,ee=t.destroyPopupOnHide,te=t.popup,ne=t.popupClassName,re=t.popupStyle,oe=t.popupPlacement,ie=t.builtinPlacements,ae=void 0===ie?{}:ie,ce=t.popupAlign,le=t.zIndex,se=t.stretch,ue=t.getPopupClassNameFromAlign,fe=t.fresh,de=t.alignPoint,pe=t.onPopupClick,me=t.onPopupAlign,ge=t.arrow,he=t.popupMotion,ve=t.maskMotion,ye=t.popupTransitionName,be=t.popupAnimation,Ae=t.maskTransitionName,xe=t.maskAnimation,Ce=t.className,we=t.getTriggerDOMNode,Ee=(0,i.A)(t,D),Se=J||ee||!1,ke=h.useState(!1),Oe=(0,o.A)(ke,2),Pe=Oe[0],Me=Oe[1];(0,m.A)((function(){Me((0,g.A)())}),[]);var $e=h.useRef({}),Fe=h.useContext(S),je=h.useMemo((function(){return{registerSubPopup:function(e,t){$e.current[e]=t,null==Fe||Fe.registerSubPopup(e,t)}}}),[Fe]),Re=(0,p.A)(),Te=h.useState(null),Ne=(0,o.A)(Te,2),Ie=Ne[0],Le=Ne[1],ze=h.useRef(null),He=(0,d.A)((function(e){ze.current=e,(0,u.fk)(e)&&Ie!==e&&Le(e),null==Fe||Fe.registerSubPopup(Re,e)})),Be=h.useState(null),De=(0,o.A)(Be,2),_e=De[0],Ve=De[1],We=h.useRef(null),qe=(0,d.A)((function(e){(0,u.fk)(e)&&_e!==e&&(Ve(e),We.current=e)})),Ue=h.Children.only(v),Xe=(null==Ue?void 0:Ue.props)||{},Ge={},Ke=(0,d.A)((function(e){var t,n,r=_e;return(null==r?void 0:r.contains(e))||(null===(t=(0,f.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Ie?void 0:Ie.contains(e))||(null===(n=(0,f.j)(Ie))||void 0===n?void 0:n.host)===e||e===Ie||Object.values($e.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Ye=M(c,he,be,ye),Qe=M(c,ve,xe,Ae),Ze=h.useState(R||!1),Je=(0,o.A)(Ze,2),et=Je[0],tt=Je[1],nt=null!=C?C:et,rt=(0,d.A)((function(e){void 0===C&&tt(e)}));(0,m.A)((function(){tt(C||!1)}),[C]);var ot=h.useRef(nt);ot.current=nt;var it=h.useRef([]);it.current=[];var at=(0,d.A)((function(e){var t;rt(e),(null!==(t=it.current[it.current.length-1])&&void 0!==t?t:nt)!==e&&(it.current.push(e),null==N||N(e))})),ct=h.useRef(),lt=function(){clearTimeout(ct.current)},st=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;lt(),0===t?at(e):ct.current=setTimeout((function(){at(e)}),1e3*t)};h.useEffect((function(){return lt}),[]);var ut=h.useState(!1),ft=(0,o.A)(ut,2),dt=ft[0],pt=ft[1];(0,m.A)((function(e){e&&!nt||pt(!0)}),[nt]);var mt=h.useState(null),gt=(0,o.A)(mt,2),ht=gt[0],vt=gt[1],yt=h.useState([0,0]),bt=(0,o.A)(yt,2),At=bt[0],xt=bt[1],Ct=function(e){xt([e.clientX,e.clientY])},wt=function(e,t,n,i,a,c,l){var s=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),f=(0,o.A)(s,2),p=f[0],g=f[1],v=h.useRef(0),y=h.useMemo((function(){return t?F(t):[]}),[t]),b=h.useRef({});e||(b.current={});var A=(0,d.A)((function(){if(t&&n&&e){var s,f,d,p=t,m=p.ownerDocument,h=$(p).getComputedStyle(p),v=h.width,A=h.height,x=h.position,C=p.style.left,w=p.style.top,E=p.style.right,S=p.style.bottom,k=p.style.overflow,P=(0,r.A)((0,r.A)({},a[i]),c),M=m.createElement("div");if(null===(s=p.parentElement)||void 0===s||s.appendChild(M),M.style.left="".concat(p.offsetLeft,"px"),M.style.top="".concat(p.offsetTop,"px"),M.style.position=x,M.style.height="".concat(p.offsetHeight,"px"),M.style.width="".concat(p.offsetWidth,"px"),p.style.left="0",p.style.top="0",p.style.right="auto",p.style.bottom="auto",p.style.overflow="hidden",Array.isArray(n))d={x:n[0],y:n[1],width:0,height:0};else{var F=n.getBoundingClientRect();d={x:F.x,y:F.y,width:F.width,height:F.height}}var R=p.getBoundingClientRect(),N=m.documentElement,B=N.clientWidth,D=N.clientHeight,_=N.scrollWidth,V=N.scrollHeight,W=N.scrollTop,q=N.scrollLeft,U=R.height,X=R.width,G=d.height,K=d.width,Y={left:0,top:0,right:B,bottom:D},Q={left:-q,top:-W,right:_-q,bottom:V-W},Z=P.htmlRegion,J="visible",ee="visibleFirst";"scroll"!==Z&&Z!==ee&&(Z=J);var te=Z===ee,ne=T(Q,y),re=T(Y,y),oe=Z===J?re:ne,ie=te?re:oe;p.style.left="auto",p.style.top="auto",p.style.right="0",p.style.bottom="0";var ae=p.getBoundingClientRect();p.style.left=C,p.style.top=w,p.style.right=E,p.style.bottom=S,p.style.overflow=k,null===(f=p.parentElement)||void 0===f||f.removeChild(M);var ce=j(Math.round(X/parseFloat(v)*1e3)/1e3),le=j(Math.round(U/parseFloat(A)*1e3)/1e3);if(0===ce||0===le||(0,u.fk)(n)&&!(0,O.A)(n))return;var se=P.offset,ue=P.targetOffset,fe=I(R,se),de=(0,o.A)(fe,2),pe=de[0],me=de[1],ge=I(d,ue),he=(0,o.A)(ge,2),ve=he[0],ye=he[1];d.x-=ve,d.y-=ye;var be=P.points||[],Ae=(0,o.A)(be,2),xe=Ae[0],Ce=L(Ae[1]),we=L(xe),Ee=z(d,Ce),Se=z(R,we),ke=(0,r.A)({},P),Oe=Ee.x-Se.x+pe,Pe=Ee.y-Se.y+me;function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe,r=R.x+e,o=R.y+t,i=r+X,a=o+U,c=Math.max(r,n.left),l=Math.max(o,n.top),s=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(s-c)*(u-l))}var Me,$e,Fe,je,Re=xt(Oe,Pe),Te=xt(Oe,Pe,re),Ne=z(d,["t","l"]),Ie=z(R,["t","l"]),Le=z(d,["b","r"]),ze=z(R,["b","r"]),He=P.overflow||{},Be=He.adjustX,De=He.adjustY,_e=He.shiftX,Ve=He.shiftY,We=function(e){return"boolean"==typeof e?e:e>=0};function Ct(){Me=R.y+Pe,$e=Me+U,Fe=R.x+Oe,je=Fe+X}Ct();var qe=We(De),Ue=we[0]===Ce[0];if(qe&&"t"===we[0]&&($e>ie.bottom||b.current.bt)){var Xe=Pe;Ue?Xe-=U-G:Xe=Ne.y-ze.y-me;var Ge=xt(Oe,Xe),Ke=xt(Oe,Xe,re);Ge>Re||Ge===Re&&(!te||Ke>=Te)?(b.current.bt=!0,Pe=Xe,me=-me,ke.points=[H(we,0),H(Ce,0)]):b.current.bt=!1}if(qe&&"b"===we[0]&&(MeRe||Qe===Re&&(!te||Ze>=Te)?(b.current.tb=!0,Pe=Ye,me=-me,ke.points=[H(we,0),H(Ce,0)]):b.current.tb=!1}var Je=We(Be),et=we[1]===Ce[1];if(Je&&"l"===we[1]&&(je>ie.right||b.current.rl)){var tt=Oe;et?tt-=X-K:tt=Ne.x-ze.x-pe;var nt=xt(tt,Pe),rt=xt(tt,Pe,re);nt>Re||nt===Re&&(!te||rt>=Te)?(b.current.rl=!0,Oe=tt,pe=-pe,ke.points=[H(we,1),H(Ce,1)]):b.current.rl=!1}if(Je&&"r"===we[1]&&(FeRe||it===Re&&(!te||at>=Te)?(b.current.lr=!0,Oe=ot,pe=-pe,ke.points=[H(we,1),H(Ce,1)]):b.current.lr=!1}Ct();var ct=!0===_e?0:_e;"number"==typeof ct&&(Fere.right&&(Oe-=je-re.right-pe,d.x>re.right-ct&&(Oe+=d.x-re.right+ct)));var lt=!0===Ve?0:Ve;"number"==typeof lt&&(Mere.bottom&&(Pe-=$e-re.bottom-me,d.y>re.bottom-lt&&(Pe+=d.y-re.bottom+lt)));var st=R.x+Oe,ut=st+X,ft=R.y+Pe,dt=ft+U,pt=d.x,mt=pt+K,gt=d.y,ht=gt+G,vt=(Math.max(st,pt)+Math.min(ut,mt))/2-st,yt=(Math.max(ft,gt)+Math.min(dt,ht))/2-ft;null==l||l(t,ke);var bt=ae.right-R.x-(Oe+R.width),At=ae.bottom-R.y-(Pe+R.height);1===ce&&(Oe=Math.round(Oe),bt=Math.round(bt)),1===le&&(Pe=Math.round(Pe),At=Math.round(At)),g({ready:!0,offsetX:Oe/ce,offsetY:Pe/le,offsetR:bt/ce,offsetB:At/le,arrowX:vt/ce,arrowY:yt/le,scaleX:ce,scaleY:le,align:ke})}})),x=function(){g((function(e){return(0,r.A)((0,r.A)({},e),{},{ready:!1})}))};return(0,m.A)(x,[i]),(0,m.A)((function(){e||x()}),[e]),[p.ready,p.offsetX,p.offsetY,p.offsetR,p.offsetB,p.arrowX,p.arrowY,p.scaleX,p.scaleY,p.align,function(){v.current+=1;var e=v.current;Promise.resolve().then((function(){v.current===e&&A()}))}]}(nt,Ie,de?At:_e,oe,ae,ce,me),Et=(0,o.A)(wt,11),St=Et[0],kt=Et[1],Ot=Et[2],Pt=Et[3],Mt=Et[4],$t=Et[5],Ft=Et[6],jt=Et[7],Rt=Et[8],Tt=Et[9],Nt=Et[10],It=function(e,t,n,r){return h.useMemo((function(){var o=k(null!=n?n:t),i=k(null!=r?r:t),a=new Set(o),c=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[a,c]}),[e,t,n,r])}(Pe,b,A,x),Lt=(0,o.A)(It,2),zt=Lt[0],Ht=Lt[1],Bt=zt.has("click"),Dt=Ht.has("click")||Ht.has("contextMenu"),_t=(0,d.A)((function(){dt||Nt()}));!function(e,t,n,r,o){(0,m.A)((function(){if(e&&t&&n){var i=n,a=F(t),c=F(i),l=$(i),s=new Set([l].concat((0,B.A)(a),(0,B.A)(c)));function u(){r(),o()}return s.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){s.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}(nt,_e,Ie,_t,(function(){ot.current&&de&&Dt&&st(!1)})),(0,m.A)((function(){_t()}),[At,oe]),(0,m.A)((function(){!nt||null!=ae&&ae[oe]||_t()}),[JSON.stringify(ce)]);var Vt=h.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;o{n.d(t,{A:()=>l,U:()=>c});var r=n(6540),o=n(2533),i=n(414),a=n(2279);function c(e){return t=>r.createElement(i.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}const l=(e,t,n,i)=>c((c=>{const{prefixCls:l,style:s}=c,u=r.useRef(null),[f,d]=r.useState(0),[p,m]=r.useState(0),[g,h]=(0,o.A)(!1,{value:c.open}),{getPrefixCls:v}=r.useContext(a.QO),y=v(t||"select",l);r.useEffect((()=>{if(h(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;d(t.offsetHeight+8),m(t.offsetWidth)})),t=setInterval((()=>{var r;const o=n?`.${n(y)}`:`.${y}-dropdown`,i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let b=Object.assign(Object.assign({},c),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});i&&(b=i(b));const A={paddingBottom:f,position:"relative",minWidth:p};return r.createElement("div",{ref:u,style:A},r.createElement(e,Object.assign({},b)))}))},275:(e,t,n)=>{n.d(t,{YK:()=>u,jH:()=>c});var r=n(6540),o=n(3534),i=n(2616);const a=100,c=1e3,l={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a},s={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function u(e,t){const[,n]=(0,o.Ay)(),a=r.useContext(i.A),u=e in l;if(void 0!==t)return[t,t];let f=null!=a?a:0;return u?(f+=(a?0:n.zIndexPopupBase)+l[e],f=Math.min(f,n.zIndexPopupBase+c)):f+=s[e],[void 0===a?t:f,f]}},3723:(e,t,n)=>{n.d(t,{A:()=>l,b:()=>c});const r=()=>({height:0,opacity:0}),o=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},i=e=>({height:e?e.offsetHeight:0}),a=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,c=(e,t,n)=>void 0!==n?n:`${e}-${t}`,l=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},682:(e,t,n)=>{n.d(t,{Ob:()=>a,zv:()=>o});var r=n(6540);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}const i=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function a(e,t){return i(e,e,t)}},2616:(e,t,n)=>{n.d(t,{A:()=>r});const r=n(6540).createContext(void 0)},8119:(e,t,n)=>{n.d(t,{A:()=>a,X:()=>i});var r=n(6540);const o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)},a=o},8224:(e,t,n)=>{n.d(t,{A:()=>a,c:()=>i});var r=n(6540);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},2279:(e,t,n)=>{n.d(t,{QO:()=>i,pM:()=>o});var r=n(6540);const o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},934:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(3534);const o=e=>{const[,,,,t]=(0,r.Ay)();return t?`${e}-css-var`:""}},829:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6540),o=n(8224);const i=e=>{const t=r.useContext(o.A);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},414:(e,t,n)=>{n.d(t,{Ay:()=>K,cr:()=>U});var r=n(6540),o=n.t(r,2),i=n(7689),a=n(1053),c=n(8104),l=n(488);n(8210);function s(){}const u=r.createContext({}),f=()=>{const e=()=>{};return e.deprecated=s,e},d=(0,r.createContext)(void 0);var p=n(1815),m=n(685);const g=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;r.useEffect((()=>(0,p.L)(t&&t.Modal)),[t]);const i=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(m.A.Provider,{value:i},n)};var h=n(2130),v=n(9790),y=n(723),b=n(2279),A=n(2742),x=n(4978),C=n(998),w=n(5089);const E=`-ant-${Date.now()}-${Math.random()}`;function S(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new x.q(e),i=(0,A.cM)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new x.q(t.primaryColor),i=(0,A.cM)(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new x.q(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);(0,C.A)()&&(0,w.BD)(n,`${E}-dynamic-theme`)}var k=n(8119),O=n(8224);const P=function(){return{componentDisabled:(0,r.useContext)(k.A),componentSize:(0,r.useContext)(O.A)}};var M=n(3210);const $=Object.assign({},o),{useId:F}=$,j=void 0===F?()=>"":F;var R=n(8612),T=n(3534);function N(e){const{children:t}=e,[,n]=(0,T.Ay)(),{motion:o}=n,i=r.useRef(!1);return i.current=i.current||!1===o,i.current?r.createElement(R.Kq,{motion:o},t):t}const I=()=>null;var L=n(2366),z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o({getPrefixCls:(e,t)=>t||(e?`${W()}-${e}`:W()),getIconPrefixCls:q,getRootPrefixCls:()=>B||W(),getTheme:()=>_,holderRender:V}),X=e=>{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:s,anchor:p,form:m,locale:A,componentSize:x,direction:C,space:w,virtual:E,dropdownMatchSelectWidth:S,popupMatchSelectWidth:P,popupOverflow:$,legacyLocale:F,parentContext:R,iconPrefixCls:T,theme:B,componentDisabled:D,segmented:_,statistic:V,spin:W,calendar:q,carousel:U,cascader:X,collapse:G,typography:K,checkbox:Y,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:fe,pagination:de,input:pe,textArea:me,empty:ge,badge:he,radio:ve,rate:ye,switch:be,transfer:Ae,avatar:xe,message:Ce,tag:we,table:Ee,card:Se,tabs:ke,timeline:Oe,timePicker:Pe,upload:Me,notification:$e,tree:Fe,colorPicker:je,datePicker:Re,rangePicker:Te,flex:Ne,wave:Ie,dropdown:Le,warning:ze,tour:He,floatButtonGroup:Be}=e,De=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||R.getPrefixCls("");return t?`${o}-${t}`:o}),[R.getPrefixCls,e.prefixCls]),_e=T||R.iconPrefixCls||b.pM,Ve=n||R.csp;(0,L.A)(_e,Ve);const We=function(e,t,n){var r;f("ConfigProvider");const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},v.sb),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:v.sb.hashed,cssVar:null==t?void 0:t.cssVar}),a=j();return(0,c.A)((()=>{var r,c;if(!e)return t;const l=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])}));const s=`css-var-${a.replace(/:/g,"")}`,u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(c=o.cssVar)||void 0===c?void 0:c.key)||s});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:u})}),[o,i],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,M.A)(e,r,!0)}))))}(B,R.theme,{prefixCls:De("")});const qe={csp:Ve,autoInsertSpaceInButton:o,alert:s,anchor:p,locale:A||F,direction:C,space:w,virtual:E,popupMatchSelectWidth:null!=P?P:S,popupOverflow:$,getPrefixCls:De,iconPrefixCls:_e,theme:We,segmented:_,statistic:V,spin:W,calendar:q,carousel:U,cascader:X,collapse:G,typography:K,checkbox:Y,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,input:pe,textArea:me,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:fe,pagination:de,empty:ge,badge:he,radio:ve,rate:ye,switch:be,transfer:Ae,avatar:xe,message:Ce,tag:we,table:Ee,card:Se,tabs:ke,timeline:Oe,timePicker:Pe,upload:Me,notification:$e,tree:Fe,colorPicker:je,datePicker:Re,rangePicker:Te,flex:Ne,wave:Ie,dropdown:Le,warning:ze,tour:He,floatButtonGroup:Be};const Ue=Object.assign({},R);Object.keys(qe).forEach((e=>{void 0!==qe[e]&&(Ue[e]=qe[e])})),H.forEach((t=>{const n=e[t];n&&(Ue[t]=n)})),void 0!==o&&(Ue.button=Object.assign({autoInsertSpace:o},Ue.button));const Xe=(0,c.A)((()=>Ue),Ue,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),Ge=r.useMemo((()=>({prefixCls:_e,csp:Ve})),[_e,Ve]);let Ke=r.createElement(r.Fragment,null,r.createElement(I,{dropdownMatchSelectWidth:S}),t);const Ye=r.useMemo((()=>{var e,t,n,r;return(0,l.h)((null===(e=h.A.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=Xe.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=Xe.form)||void 0===r?void 0:r.validateMessages)||{},(null==m?void 0:m.validateMessages)||{})}),[Xe,null==m?void 0:m.validateMessages]);Object.keys(Ye).length>0&&(Ke=r.createElement(d.Provider,{value:Ye},Ke)),A&&(Ke=r.createElement(g,{locale:A,_ANT_MARK__:"internalMark"},Ke)),(_e||Ve)&&(Ke=r.createElement(a.A.Provider,{value:Ge},Ke)),x&&(Ke=r.createElement(O.c,{size:x},Ke)),Ke=r.createElement(N,null,Ke);const Qe=r.useMemo((()=>{const e=We||{},{algorithm:t,token:n,components:r,cssVar:o}=e,a=z(e,["algorithm","token","components","cssVar"]),c=t&&(!Array.isArray(t)||t.length>0)?(0,i.an)(t):v.zQ,l={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=c:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.an)(r.algorithm)),delete r.algorithm),l[t]=r}));const s=Object.assign(Object.assign({},y.A),n);return Object.assign(Object.assign({},a),{theme:c,token:s,components:l,override:Object.assign({override:s},l),cssVar:o})}),[We]);return B&&(Ke=r.createElement(v.vG.Provider,{value:Qe},Ke)),Xe.warning&&(Ke=r.createElement(u.Provider,{value:Xe.warning},Ke)),void 0!==D&&(Ke=r.createElement(k.X,{disabled:D},Ke)),r.createElement(b.QO.Provider,{value:Xe},Ke)},G=e=>{const t=r.useContext(b.QO),n=r.useContext(m.A);return r.createElement(X,Object.assign({parentContext:t,legacyLocale:n},e))};G.ConfigContext=b.QO,G.SizeContext=O.A,G.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(B=t),void 0!==n&&(D=n),"holderRender"in e&&(V=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?_=r:S(W(),r))},G.useConfig=P,Object.defineProperty(G,"SizeContext",{get:()=>O.A});const K=G},1961:(e,t,n)=>{n.d(t,{$W:()=>He,XB:()=>Be,Pp:()=>De});var r=n(6540),o=n(8168),i=n(45),a=n(675),c=n(467),l=n(9379),s=n(8339),u=n(3029),f=n(2901),d=n(9417),p=n(5501),m=n(9426),g=n(4467),h=n(2546),v=n(3210),y=n(8210),b="RC_FORM_INTERNAL_HOOKS",A=function(){(0,y.Ay)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const x=r.createContext({getFieldValue:A,getFieldsValue:A,getFieldError:A,getFieldWarning:A,getFieldsError:A,isFieldsTouched:A,isFieldTouched:A,isFieldValidating:A,isFieldsValidating:A,resetFields:A,setFields:A,setFieldValue:A,setFieldsValue:A,validateFields:A,submit:A,getInternalHooks:function(){return A(),{dispatch:A,initEntityValue:A,registerField:A,useSubscribe:A,setInitialValues:A,destroyForm:A,setCallbacks:A,registerWatch:A,getFields:A,setValidateMessages:A,setPreserve:A,getInitialValue:A}}});const C=r.createContext(null);function w(e){return null==e?[]:Array.isArray(e)?e:[e]}var E=n(2284);function S(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var k=S(),O=n(3954),P=n(3662);var M=n(2176);function $(e){var t="function"==typeof Map?new Map:void 0;return $=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if((0,M.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,P.A)(o,n.prototype),o}(e,arguments,(0,O.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,P.A)(n,e)},$(e)}var F=/%[sdj%]/g;function j(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function T(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function N(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,W=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,q={integer:function(e){return q.number(e)&&parseInt(e,10)===e},float:function(e){return q.number(e)&&!q.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,E.A)(e)&&!q.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(V)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(_)return _;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),a=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),c=new RegExp("^".concat(n,"$")),l=new RegExp("^".concat(i,"$")),s=function(e){return e&&e.exact?a:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(i).concat(t(e),")"),"g")};s.v4=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},s.v6=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(i).concat(t(e)),"g")};var u=s.v4().source,f=s.v6().source,d="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(u,"|").concat(f,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return _=new RegExp("(?:^".concat(d,"$)"),"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(W)}};const U=function(e,t,n,r,o){if(e.required&&void 0===t)D(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?q[i](t)||r.push(R(o.messages.types[i],e.fullField,e.type)):i&&(0,E.A)(t)!==e.type&&r.push(R(o.messages.types[i],e.fullField,e.type))}};const X={required:D,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(R(o.messages.whitespace,e.fullField))},type:U,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,c="number"==typeof e.max,l=t,s=null,u="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(u?s="number":f?s="string":d&&(s="array"),!s)return!1;d&&(l=t.length),f&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(R(o.messages[s].len,e.fullField,e.len)):a&&!c&&le.max?r.push(R(o.messages[s].max,e.fullField,e.max)):a&&c&&(le.max)&&r.push(R(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[B]=Array.isArray(e[B])?e[B]:[],-1===e[B].indexOf(t)&&r.push(R(o.messages[B],e.fullField,e[B].join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};const G=function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":(0,E.A)(t);X.required(e,t,r,i,o,a),n(i)};const K=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,i)&&!e.required)return n();X.required(e,t,r,a,o,i),T(t,i)||X.type(e,t,r,a,o)}n(a)},Y={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,"string")&&!e.required)return n();X.required(e,t,r,i,o,"string"),T(t,"string")||(X.type(e,t,r,i,o),X.range(e,t,r,i,o),X.pattern(e,t,r,i,o),!0===e.whitespace&&X.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),T(t)||X.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();X.required(e,t,r,i,o,"array"),null!=t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,"string")&&!e.required)return n();X.required(e,t,r,i,o),T(t,"string")||X.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,"date")&&!e.required)return n();var a;if(X.required(e,t,r,i,o),!T(t,"date"))a=t instanceof Date?t:new Date(t),X.type(e,a,r,i,o),a&&X.range(e,a.getTime(),r,i,o)}n(i)},url:K,hex:K,email:K,required:G,any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o)}n(i)}};var Q=function(){function e(t){(0,u.A)(this,e),(0,g.A)(this,"rules",null),(0,g.A)(this,"_messages",k),this.define(t)}return(0,f.A)(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,E.A)(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))}},{key:"messages",value:function(e){return e&&(this._messages=H(S(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof o&&(i=o,o={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,r),Promise.resolve(r);if(o.messages){var a=this.messages();a===k&&(a=S()),H(a,o.messages),o.messages=a}else o.messages=this.messages();var c={};(o.keys||Object.keys(this.rules)).forEach((function(e){var o=n.rules[e],i=r[e];o.forEach((function(o){var a=o;"function"==typeof a.transform&&(r===t&&(r=(0,l.A)({},r)),null!=(i=r[e]=a.transform(i))&&(a.type=a.type||(Array.isArray(i)?"array":(0,E.A)(i)))),(a="function"==typeof a?{validator:a}:(0,l.A)({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:i,source:r,field:e}))}))}));var u={};return L(c,o,(function(t,n){var i,a=t.rule,c=!("object"!==a.type&&"array"!==a.type||"object"!==(0,E.A)(a.fields)&&"object"!==(0,E.A)(a.defaultField));function f(e,t){return(0,l.A)((0,l.A)({},t),{},{fullField:"".concat(a.fullField,".").concat(e),fullFields:a.fullFields?[].concat((0,s.A)(a.fullFields),[e]):[e]})}function d(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],d=Array.isArray(i)?i:[i];!o.suppressWarning&&d.length&&e.warning("async-validator:",d),d.length&&void 0!==a.message&&(d=[].concat(a.message));var p=d.map(z(a,r));if(o.first&&p.length)return u[a.field]=1,n(p);if(c){if(a.required&&!t.value)return void 0!==a.message?p=[].concat(a.message).map(z(a,r)):o.error&&(p=[o.error(a,R(o.messages.required,a.field))]),n(p);var m={};a.defaultField&&Object.keys(t.value).map((function(e){m[e]=a.defaultField})),m=(0,l.A)((0,l.A)({},m),t.rule.fields);var g={};Object.keys(m).forEach((function(e){var t=m[e],n=Array.isArray(t)?t:[t];g[e]=n.map(f.bind(null,e))}));var h=new e(g);h.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),h.validate(t.value,t.rule.options||o,(function(e){var t=[];p&&p.length&&t.push.apply(t,(0,s.A)(p)),e&&e.length&&t.push.apply(t,(0,s.A)(e)),n(t.length?t:null)}))}else n(p)}if(c=c&&(a.required||!a.required&&t.value),a.field=t.field,a.asyncValidator)i=a.asyncValidator(a,t.value,d,t.source,o);else if(a.validator){try{i=a.validator(a,t.value,d,t.source,o)}catch(g){var p,m;null===(p=(m=console).error)||void 0===p||p.call(m,g),o.suppressValidatorError||setTimeout((function(){throw g}),0),d(g.message)}!0===i?d():!1===i?d("function"==typeof a.message?a.message(a.fullField||a.field):a.message||"".concat(a.fullField||a.field," fails")):i instanceof Array?d(i):i instanceof Error&&d(i.message)}i&&i.then&&i.then((function(){return d()}),(function(e){return d(e)}))}),(function(e){!function(e){for(var t,n,o=[],a={},c=0;c2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return me(t,e,n)}))}function me(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function ge(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,E.A)(t.target)&&e in t.target?t.target[e]:t}function he(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,s.A)(e.slice(0,n)),[o],(0,s.A)(e.slice(n,t)),(0,s.A)(e.slice(t+1,r))):i<0?[].concat((0,s.A)(e.slice(0,t)),(0,s.A)(e.slice(t+1,n+1)),[o],(0,s.A)(e.slice(n+1,r))):e}var ve=["name"],ye=[];function be(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var Ae=function(e){(0,p.A)(n,e);var t=(0,m.A)(n);function n(e){var o;((0,u.A)(this,n),o=t.call(this,e),(0,g.A)((0,d.A)(o),"state",{resetCount:0}),(0,g.A)((0,d.A)(o),"cancelRegisterFunc",null),(0,g.A)((0,d.A)(o),"mounted",!1),(0,g.A)((0,d.A)(o),"touched",!1),(0,g.A)((0,d.A)(o),"dirty",!1),(0,g.A)((0,d.A)(o),"validatePromise",void 0),(0,g.A)((0,d.A)(o),"prevValidating",void 0),(0,g.A)((0,d.A)(o),"errors",ye),(0,g.A)((0,d.A)(o),"warnings",ye),(0,g.A)((0,d.A)(o),"cancelRegister",(function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,fe(r)),o.cancelRegisterFunc=null})),(0,g.A)((0,d.A)(o),"getNamePath",(function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat((0,s.A)(r),(0,s.A)(t)):[]})),(0,g.A)((0,d.A)(o),"getRules",(function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(r):e}))})),(0,g.A)((0,d.A)(o),"refresh",(function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,g.A)((0,d.A)(o),"metaCache",null),(0,g.A)((0,d.A)(o),"triggerMetaEvent",(function(e){var t=o.props.onMetaChange;if(t){var n=(0,l.A)((0,l.A)({},o.getMeta()),{},{destroy:e});(0,v.A)(o.metaCache,n)||t(n),o.metaCache=n}else o.metaCache=null})),(0,g.A)((0,d.A)(o),"onStoreChange",(function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,c=void 0===a?[]:a,l=r.onReset,s=n.store,u=o.getNamePath(),f=o.getValue(e),d=o.getValue(s),p=t&&pe(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||(0,v.A)(f,d)||(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=ye,o.warnings=ye,o.triggerMetaEvent()),n.type){case"reset":if(!t||p)return o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=ye,o.warnings=ye,o.triggerMetaEvent(),null==l||l(),void o.refresh();break;case"remove":if(i)return void o.reRender();break;case"setField":var m=n.data;if(p)return"touched"in m&&(o.touched=m.touched),"validating"in m&&!("originRCField"in m)&&(o.validatePromise=m.validating?Promise.resolve([]):null),"errors"in m&&(o.errors=m.errors||ye),"warnings"in m&&(o.warnings=m.warnings||ye),o.dirty=!0,o.triggerMetaEvent(),void o.reRender();if("value"in m&&pe(t,u,!0))return void o.reRender();if(i&&!u.length&&be(i,e,s,f,d,n))return void o.reRender();break;case"dependenciesUpdate":if(c.map(fe).some((function(e){return pe(n.relatedFields,e)})))return void o.reRender();break;default:if(p||(!c.length||u.length||i)&&be(i,e,s,f,d,n))return void o.reRender()}!0===i&&o.reRender()})),(0,g.A)((0,d.A)(o),"validateRules",(function(e){var t=o.getNamePath(),n=o.getValue(),r=e||{},i=r.triggerName,l=r.validateOnly,u=void 0!==l&&l,f=Promise.resolve().then((0,c.A)((0,a.A)().mark((function r(){var c,l,u,d,p,m,g;return(0,a.A)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o.mounted){r.next=2;break}return r.abrupt("return",[]);case 2:if(c=o.props,l=c.validateFirst,u=void 0!==l&&l,d=c.messageVariables,p=c.validateDebounce,m=o.getRules(),i&&(m=m.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||w(t).includes(i)}))),!p||!i){r.next=10;break}return r.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(o.validatePromise===f){r.next=10;break}return r.abrupt("return",[]);case 10:return(g=ce(t,n,m,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye;if(o.validatePromise===f){var t;o.validatePromise=null;var n=[],r=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors,i=void 0===o?ye:o;t?r.push.apply(r,(0,s.A)(i)):n.push.apply(n,(0,s.A)(i))})),o.errors=n,o.warnings=r,o.triggerMetaEvent(),o.reRender()}})),r.abrupt("return",g);case 13:case"end":return r.stop()}}),r)}))));return u||(o.validatePromise=f,o.dirty=!0,o.errors=ye,o.warnings=ye,o.triggerMetaEvent(),o.reRender()),f})),(0,g.A)((0,d.A)(o),"isFieldValidating",(function(){return!!o.validatePromise})),(0,g.A)((0,d.A)(o),"isFieldTouched",(function(){return o.touched})),(0,g.A)((0,d.A)(o),"isFieldDirty",(function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(b).getInitialValue)(o.getNamePath())})),(0,g.A)((0,d.A)(o),"getErrors",(function(){return o.errors})),(0,g.A)((0,d.A)(o),"getWarnings",(function(){return o.warnings})),(0,g.A)((0,d.A)(o),"isListField",(function(){return o.props.isListField})),(0,g.A)((0,d.A)(o),"isList",(function(){return o.props.isList})),(0,g.A)((0,d.A)(o),"isPreserve",(function(){return o.props.preserve})),(0,g.A)((0,d.A)(o),"getMeta",(function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:null===o.validatePromise}})),(0,g.A)((0,d.A)(o),"getOnlyChild",(function(e){if("function"==typeof e){var t=o.getMeta();return(0,l.A)((0,l.A)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,h.A)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),(0,g.A)((0,d.A)(o),"getValue",(function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return(0,ue.A)(e||t(!0),n)})),(0,g.A)((0,d.A)(o),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.name,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,c=t.normalize,s=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,p=o.getNamePath(),m=f.getInternalHooks,h=f.getFieldsValue,v=m(b).dispatch,y=o.getValue(),A=u||function(e){return(0,g.A)({},s,e)},x=e[r],C=void 0!==n?A(y):{};var E=(0,l.A)((0,l.A)({},e),C);return E[r]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r=0&&t<=n.length?(d.keys=[].concat((0,s.A)(d.keys.slice(0,t)),[d.id],(0,s.A)(d.keys.slice(t))),i([].concat((0,s.A)(n.slice(0,t)),[e],(0,s.A)(n.slice(t))))):(d.keys=[].concat((0,s.A)(d.keys),[d.id]),i([].concat((0,s.A)(n),[e]))),d.id+=1},remove:function(e){var t=c(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(d.keys=d.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(d.keys=he(d.keys,e,t),i(he(n,e,t)))}}},f=r||[];return Array.isArray(f)||(f=[]),o(f.map((function(e,t){var n=d.keys[t];return void 0===n&&(d.keys[t]=d.id,n=d.keys[t],d.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))};var we=n(641);var Ee="__@field_split__";function Se(e){return e.map((function(e){return"".concat((0,E.A)(e),":").concat(e)})).join(Ee)}var ke=function(){function e(){(0,u.A)(this,e),(0,g.A)(this,"kvs",new Map)}return(0,f.A)(e,[{key:"set",value:function(e,t){this.kvs.set(Se(e),t)}},{key:"get",value:function(e){return this.kvs.get(Se(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(Se(e))}},{key:"map",value:function(e){return(0,s.A)(this.kvs.entries()).map((function(t){var n=(0,we.A)(t,2),r=n[0],o=n[1],i=r.split(Ee);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,we.A)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}();const Oe=ke;var Pe=["name"],Me=(0,f.A)((function e(t){var n=this;(0,u.A)(this,e),(0,g.A)(this,"formHooked",!1),(0,g.A)(this,"forceRootUpdate",void 0),(0,g.A)(this,"subscribable",!0),(0,g.A)(this,"store",{}),(0,g.A)(this,"fieldEntities",[]),(0,g.A)(this,"initialValues",{}),(0,g.A)(this,"callbacks",{}),(0,g.A)(this,"validateMessages",null),(0,g.A)(this,"preserve",null),(0,g.A)(this,"lastValidatePromise",null),(0,g.A)(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),(0,g.A)(this,"getInternalHooks",(function(e){return e===b?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,y.Ay)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,g.A)(this,"useSubscribe",(function(e){n.subscribable=e})),(0,g.A)(this,"prevWithoutPreserves",null),(0,g.A)(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=(0,te.h)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=(0,te.A)(o,n,(0,ue.A)(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),(0,g.A)(this,"destroyForm",(function(){var e=new Oe;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e})),(0,g.A)(this,"getInitialValue",(function(e){var t=(0,ue.A)(n.initialValues,e);return e.length?(0,te.h)(t):t})),(0,g.A)(this,"setCallbacks",(function(e){n.callbacks=e})),(0,g.A)(this,"setValidateMessages",(function(e){n.validateMessages=e})),(0,g.A)(this,"setPreserve",(function(e){n.preserve=e})),(0,g.A)(this,"watchList",[]),(0,g.A)(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),(0,g.A)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),(0,g.A)(this,"timeoutId",null),(0,g.A)(this,"warningUnhooked",(function(){0})),(0,g.A)(this,"updateStore",(function(e){n.store=e})),(0,g.A)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),(0,g.A)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Oe;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),(0,g.A)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=fe(e);return t.get(n)||{INVALIDATE_NAME_PATH:fe(e)}}))})),(0,g.A)(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,E.A)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),c=[];return a.forEach((function(e){var t,n,a,l,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(l=e).isList)&&void 0!==a&&a.call(l))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&c.push(s)}else c.push(s)})),de(n.store,c.map(fe))})),(0,g.A)(this,"getFieldValue",(function(e){n.warningUnhooked();var t=fe(e);return(0,ue.A)(n.store,t)})),(0,g.A)(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:fe(e[n]),errors:[],warnings:[]}}))})),(0,g.A)(this,"getFieldError",(function(e){n.warningUnhooked();var t=fe(e);return n.getFieldsError([t])[0].errors})),(0,g.A)(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=fe(e);return n.getFieldsError([t])[0].warnings})),(0,g.A)(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Oe,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,s.A)((0,s.A)(r).map((function(e){return e.entity}))))}))):o=r,o.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,y.Ay)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,y.Ay)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);r.isListField()||e.skipExist&&void 0!==a||n.updateStore((0,te.A)(n.store,o,(0,s.A)(i)[0].value))}}}}))})),(0,g.A)(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore((0,te.h)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(fe);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore((0,te.A)(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),(0,g.A)(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(0,i.A)(e,Pe),c=fe(o);r.push(c),"value"in a&&n.updateStore((0,te.A)(n.store,c,a.value)),n.notifyObservers(t,[c],{type:"setField",data:e})})),n.notifyWatch(r)})),(0,g.A)(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,l.A)((0,l.A)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))})),(0,g.A)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ue.A)(n.store,r)&&n.updateStore((0,te.A)(n.store,r,t))}})),(0,g.A)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),(0,g.A)(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!me(e.getNamePath(),t)}))){var c=n.store;n.updateStore((0,te.A)(c,t,a,!0)),n.notifyObservers(c,[t],{type:"remove"}),n.triggerDependenciesUpdate(c,t)}}n.notifyWatch([t])}})),(0,g.A)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}})),(0,g.A)(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=(0,l.A)((0,l.A)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),(0,g.A)(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,s.A)(r))}),r})),(0,g.A)(this,"updateValue",(function(e,t){var r=fe(e),o=n.store;n.updateStore((0,te.A)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(de(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,s.A)(i)))})),(0,g.A)(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,te.h)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),(0,g.A)(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),(0,g.A)(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new Oe;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=fe(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),(0,g.A)(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new Oe;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var n=t.name;return pe(e,n)}));a.length&&r(a,o)}})),(0,g.A)(this,"validateFields",(function(e,t){var r,o;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var i=!!r,a=i?r.map(fe):[],c=[],u=String(Date.now()),f=new Set,d=o||{},p=d.recursive,m=d.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!m||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(u)),!i||pe(a,t,p)){var r=e.validateRules((0,l.A)({validateMessages:(0,l.A)((0,l.A)({},ee),n.validateMessages)},o));c.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,s.A)(n)):r.push.apply(r,(0,s.A)(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var g=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(c);n.lastValidatePromise=g,g.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var h=g.then((function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==g})}));h.catch((function(e){return e}));var v=a.filter((function(e){return f.has(e.join(u))}));return n.triggerOnFieldsChange(v),h})),(0,g.A)(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const $e=function(e){var t=r.useRef(),n=r.useState({}),o=(0,we.A)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new Me((function(){o({})}));t.current=i.getForm()}return[t.current]};var Fe=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}});const je=Fe;var Re=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];const Te=function(e,t){var n=e.name,a=e.initialValues,c=e.fields,u=e.form,f=e.preserve,d=e.children,p=e.component,m=void 0===p?"form":p,g=e.validateMessages,h=e.validateTrigger,v=void 0===h?"onChange":h,y=e.onValuesChange,A=e.onFieldsChange,w=e.onFinish,S=e.onFinishFailed,k=(0,i.A)(e,Re),O=r.useContext(je),P=$e(u),M=(0,we.A)(P,1)[0],$=M.getInternalHooks(b),F=$.useSubscribe,j=$.setInitialValues,R=$.setCallbacks,T=$.setValidateMessages,N=$.setPreserve,I=$.destroyForm;r.useImperativeHandle(t,(function(){return M})),r.useEffect((function(){return O.registerForm(n,M),function(){O.unregisterForm(n)}}),[O,M,n]),T((0,l.A)((0,l.A)({},O.validateMessages),g)),R({onValuesChange:y,onFieldsChange:function(e){if(O.triggerFormChange(n,e),A){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o{let{children:t,status:n,override:o}=e;const i=(0,r.useContext)(He),a=(0,r.useMemo)((()=>{const e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,o,i]);return r.createElement(He.Provider,{value:a},t)},De=(0,r.createContext)(void 0)},685:(e,t,n)=>{n.d(t,{A:()=>r});const r=(0,n(6540).createContext)(void 0)},2130:(e,t,n)=>{n.d(t,{A:()=>l});const r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};const o={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o),timePickerLocale:Object.assign({},i)},c="${label} is not a valid ${type}",l={locale:"en",Pagination:r,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{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:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},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}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},9155:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6540),o=n(685),i=n(2130);const a=(e,t)=>{const n=r.useContext(o.A);return[r.useMemo((()=>{var r;const o=t||i.A[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,n]),r.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.A.locale:e}),[n])]}},7849:(e,t,n)=>{n.d(t,{A:()=>Yn});var r,o=n(8339),i=n(6540),a=n(675),c=n(467),l=n(2284),s=n(9379),u=n(961),f=n.t(u,2),d=(0,s.A)({},f),p=d.version,m=d.render,g=d.unmountComponentAtNode;try{Number((p||"").split(".")[0])>=18&&(r=d.createRoot)}catch(Qn){}function h(e){var t=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.A)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function y(e,t){r?function(e,t){h(!0);var n=t[v]||r(t);h(!1),n.render(e),t[v]=n}(e,t):function(e,t){m(e,t)}(e,t)}function b(e){return A.apply(this,arguments)}function A(){return(A=(0,c.A)((0,a.A)().mark((function e(t){return(0,a.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){g(e)}function C(e){return w.apply(this,arguments)}function w(){return(w=(0,c.A)((0,a.A)().mark((function e(t){return(0,a.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r){e.next=2;break}return e.abrupt("return",b(t));case 2:x(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var E=n(2279),S=n(414),k=n(8168);const O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var P=n(6653),M=function(e,t){return i.createElement(P.A,(0,k.A)({},e,{ref:t,icon:O}))};const $=i.forwardRef(M);var F=n(4754);const j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var R=function(e,t){return i.createElement(P.A,(0,k.A)({},e,{ref:t,icon:j}))};const T=i.forwardRef(R);const N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var I=function(e,t){return i.createElement(P.A,(0,k.A)({},e,{ref:t,icon:N}))};const L=i.forwardRef(I);var z=n(6942),H=n.n(z),B=n(275),D=n(3723),_=n(9155),V=n(3534),W=n(1233),q=n(9853),U=n(8719),X=n(2467),G=n(682),K=n(1173);const Y=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Q=(0,K.Ay)("Wave",(e=>[Y(e)]));var Z=n(1470),J=n(5371);const ee="ant-wave-target";var te=n(8612);function ne(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function re(e){return Number.isNaN(e)?0:e}const oe=e=>{const{className:t,target:n,component:r}=e,o=i.useRef(null),[a,c]=i.useState(null),[l,s]=i.useState([]),[u,f]=i.useState(0),[d,p]=i.useState(0),[m,g]=i.useState(0),[h,v]=i.useState(0),[y,b]=i.useState(!1),A={left:u,top:d,width:m,height:h,borderRadius:l.map((e=>`${e}px`)).join(" ")};function x(){const e=getComputedStyle(n);c(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return ne(t)?t:ne(n)?n:ne(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;f(t?n.offsetLeft:re(-parseFloat(r))),p(t?n.offsetTop:re(-parseFloat(o))),g(n.offsetWidth),v(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:u}=e;s([i,a,u,l].map((e=>re(parseFloat(e)))))}if(a&&(A["--wave-color"]=a),i.useEffect((()=>{if(n){const e=(0,J.A)((()=>{x(),b(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(x),t.observe(n)),()=>{J.A.cancel(e),null==t||t.disconnect()}}}),[]),!y)return null;const w=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(ee));return i.createElement(te.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=o.current)||void 0===n?void 0:n.parentElement;C(e).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:r}=e;return i.createElement("div",{ref:(0,U.K4)(o,n),className:H()(t,{"wave-quick":w},r),style:A})}))},ie=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),y(i.createElement(oe,Object.assign({},t,{target:e})),o)},ae=(e,t,n)=>{const{wave:r}=i.useContext(E.QO),[,o,a]=(0,V.Ay)(),c=(0,Z._q)((i=>{const c=e.current;if((null==r?void 0:r.disabled)||!c)return;const l=c.querySelector(`.${ee}`)||c,{showEffect:s}=r||{};(s||ie)(l,{className:t,token:o,component:n,event:i,hashId:a})})),l=i.useRef();return e=>{J.A.cancel(l.current),l.current=(0,J.A)((()=>{c(e)}))}};const ce=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=(0,i.useContext)(E.QO),a=(0,i.useRef)(null),c=o("wave"),[,l]=Q(c),s=ae(a,H()(c,l),r);if(i.useEffect((()=>{const e=a.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!(0,X.A)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),!i.isValidElement(t))return null!=t?t:null;const u=(0,U.f3)(t)?(0,U.K4)(t.ref,a):a;return(0,G.Ob)(t,{ref:u})};var le=n(8119),se=n(829),ue=n(6327),fe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=i.useContext(E.QO),{prefixCls:r,size:o,className:a}=e,c=fe(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=(0,V.Ay)();let u="";switch(o){case"large":u="lg";break;case"small":u="sm"}const f=H()(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:"rtl"===n},a,s);return i.createElement(de.Provider,{value:o},i.createElement("div",Object.assign({},c,{className:f})))},me=/^[\u4e00-\u9fa5]{2}$/,ge=me.test.bind(me);function he(e){return"danger"===e?{danger:!0}:{type:e}}function ve(e){return"string"==typeof e}function ye(e){return"text"===e||"link"===e}function be(e,t){let n=!1;const r=[];return i.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1,n=r[t];r[t]=`${n}${e}`}else r.push(e);n=o})),i.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&ve(e.type)&&ge(e.props.children)?(0,G.Ob)(e,{children:e.props.children.split("").join(n)}):ve(e)?ge(e)?i.createElement("span",null,e.split("").join(n)):i.createElement("span",null,e):(0,G.zv)(e)?i.createElement("span",null,e):e}(e,t)))}const Ae=(0,i.forwardRef)(((e,t)=>{const{className:n,style:r,children:o,prefixCls:a}=e,c=H()(`${a}-icon`,n);return i.createElement("span",{ref:t,className:c,style:r},o)})),xe=Ae;var Ce=n(209);const we=(0,i.forwardRef)(((e,t)=>{const{prefixCls:n,className:r,style:o,iconClassName:a,iconPosition:c="start"}=e,l=H()(r,{[`${n}-loading-icon-end`]:"end"===c,[`${n}-loading-icon`]:"start"===c});return i.createElement(xe,{prefixCls:n,className:l,style:o,ref:t},i.createElement(Ce.A,{className:a}))})),Ee=()=>({width:0,opacity:0,transform:"scale(0)"}),Se=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),ke=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:a,iconPosition:c}=e,l=!!n;return r?i.createElement(we,{prefixCls:t,className:o,style:a,iconPosition:c}):i.createElement(te.Ay,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:Ee,onAppearActive:Se,onEnterStart:Ee,onEnterActive:Se,onLeaveStart:Se,onLeaveActive:Ee},((e,n)=>{let{className:r,style:l}=e;return i.createElement(we,{prefixCls:t,className:o,style:Object.assign(Object.assign({},a),l),ref:n,iconClassName:r,iconPosition:c})}))};var Oe=n(7689),Pe=n(5905),Me=n(336);const $e=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Fe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},$e(`${t}-primary`,o),$e(`${t}-danger`,i)]}};var je=n(4925);const Re=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return(0,Me.h1)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},Te=e=>{var t,n,r,o,i,a;const c=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,l=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,s=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,je.k)(c),f=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,je.k)(l),d=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,je.k)(s);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:c,contentFontSizeSM:l,contentFontSizeLG:s,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-c*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-s*d)/2-e.lineWidth,0)}},Ne=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,Oe.zA)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0,"&-end":{marginInlineStart:e.marginXS}},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS},[`&${t}-loading-icon-end`]:{marginInlineStart:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,Pe.K8)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},Ie=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Le=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ze=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),He=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Be=(e,t,n,r,o,i,a,c)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Ie(e,Object.assign({background:t},a),Object.assign({background:t},c))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),De=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},He(e))}),_e=e=>Object.assign({},De(e)),Ve=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),We=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_e(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Ie(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Be(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Ie(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Be(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),De(e))}),qe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_e(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Ie(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),Be(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Ie(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),Be(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),De(e))}),Ue=e=>Object.assign(Object.assign({},We(e)),{borderStyle:"dashed"}),Xe=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Ie(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Ve(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Ie(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Ve(e))}),Ge=e=>Object.assign(Object.assign(Object.assign({},Ie(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Ve(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Ve(e)),Ie(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),Ke=e=>{const{componentCls:t}=e;return{[`${t}-default`]:We(e),[`${t}-primary`]:qe(e),[`${t}-dashed`]:Ue(e),[`${t}-link`]:Xe(e),[`${t}-text`]:Ge(e),[`${t}-ghost`]:Be(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},Ye=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:c,iconCls:l,buttonPaddingVertical:s}=e,u=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,Oe.zA)(s)} ${(0,Oe.zA)(c)}`,borderRadius:a,[`&${u}`]:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[l]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:Le(e)},{[`${n}${n}-round${t}`]:ze(e)}]},Qe=e=>{const t=(0,Me.h1)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Ye(t,e.componentCls)},Ze=e=>{const t=(0,Me.h1)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Ye(t,`${e.componentCls}-sm`)},Je=e=>{const t=(0,Me.h1)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Ye(t,`${e.componentCls}-lg`)},et=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},tt=(0,K.OF)("Button",(e=>{const t=Re(e);return[Ne(t),Qe(t),Ze(t),Je(t),et(t),Ke(t),Fe(t)]}),Te,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var nt=n(5974);function rt(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function ot(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},rt(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const it=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,Oe.zA)(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,Oe.zA)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},at=(0,K.bf)(["Button","compact"],(e=>{const t=Re(e);return[(0,nt.G)(t),ot(t),it(t)]}),Te);var ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,r,o;const{loading:a=!1,prefixCls:c,type:l,danger:s,shape:u="default",size:f,styles:d,disabled:p,className:m,rootClassName:g,children:h,icon:v,iconPosition:y="start",ghost:b=!1,block:A=!1,htmlType:x="button",classNames:C,style:w={},autoInsertSpace:S}=e,k=ct(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),O=l||"default",{getPrefixCls:P,direction:M,button:$}=(0,i.useContext)(E.QO),F=null===(n=null!=S?S:null==$?void 0:$.autoInsertSpace)||void 0===n||n,j=P("btn",c),[R,T,N]=tt(j),I=(0,i.useContext)(le.A),L=null!=p?p:I,z=(0,i.useContext)(de),B=(0,i.useMemo)((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(a)),[a]),[D,_]=(0,i.useState)(B.loading),[V,W]=(0,i.useState)(!1),X=(0,i.createRef)(),G=(0,U.K4)(t,X),K=1===i.Children.count(h)&&!v&&!ye(O);(0,i.useEffect)((()=>{let e=null;return B.delay>0?e=setTimeout((()=>{e=null,_(!0)}),B.delay):_(B.loading),function(){e&&(clearTimeout(e),e=null)}}),[B]),(0,i.useEffect)((()=>{if(!G||!G.current||!F)return;const e=G.current.textContent;K&&ge(e)?V||W(!0):V&&W(!1)}),[G]);const Y=t=>{const{onClick:n}=e;D||L?t.preventDefault():null==n||n(t)};const{compactSize:Q,compactItemClassnames:Z}=(0,ue.RQ)(j,M),J={large:"lg",small:"sm",middle:void 0},ee=(0,se.A)((e=>{var t,n;return null!==(n=null!==(t=null!=f?f:Q)&&void 0!==t?t:z)&&void 0!==n?n:e})),te=ee&&J[ee]||"",ne=D?"loading":v,re=(0,q.A)(k,["navigate"]),oe=H()(j,T,N,{[`${j}-${u}`]:"default"!==u&&u,[`${j}-${O}`]:O,[`${j}-${te}`]:te,[`${j}-icon-only`]:!h&&0!==h&&!!ne,[`${j}-background-ghost`]:b&&!ye(O),[`${j}-loading`]:D,[`${j}-two-chinese-chars`]:V&&F&&!D,[`${j}-block`]:A,[`${j}-dangerous`]:!!s,[`${j}-rtl`]:"rtl"===M},Z,m,g,null==$?void 0:$.className),ie=Object.assign(Object.assign({},null==$?void 0:$.style),w),ae="end"===y&&h&&0!==h&&ne,fe=H()(null==C?void 0:C.icon,null===(r=null==$?void 0:$.classNames)||void 0===r?void 0:r.icon,{[`${j}-icon-end`]:ae}),pe=Object.assign(Object.assign({},(null==d?void 0:d.icon)||{}),(null===(o=null==$?void 0:$.styles)||void 0===o?void 0:o.icon)||{}),me=v&&!D?i.createElement(xe,{prefixCls:j,className:fe,style:pe},v):i.createElement(ke,{existIcon:!!v,prefixCls:j,loading:!!D,iconPosition:y}),he=h||0===h?be(h,K&&F):null,ve=(e,t)=>"start"===y?i.createElement(i.Fragment,null,e,t):i.createElement(i.Fragment,null,t,e);if(void 0!==re.href)return R(i.createElement("a",Object.assign({},re,{className:H()(oe,{[`${j}-disabled`]:L}),href:L?void 0:re.href,style:ie,onClick:Y,ref:G,tabIndex:L?-1:0}),ve(me,he)));let Ae=i.createElement("button",Object.assign({},k,{type:x,className:oe,style:ie,onClick:Y,disabled:L,ref:G}),ve(me,he),!!Z&&i.createElement(at,{key:"compact",prefixCls:j}));return ye(O)||(Ae=i.createElement(ce,{component:"Button",disabled:!!D},Ae)),R(Ae)}));lt.Group=pe,lt.__ANT_BUTTON=!0;const st=lt;function ut(e){return!(!e||!e.then)}const ft=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:a,autoFocus:c,emitEvent:l,isSilent:s,quitOnNullishReturnValue:u,actionFn:f}=e,d=i.useRef(!1),p=i.useRef(null),[m,g]=(0,W.A)(!1),h=function(){null==a||a.apply(void 0,arguments)};i.useEffect((()=>{let e=null;return c&&(e=setTimeout((()=>{var e;null===(e=p.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]);return i.createElement(st,Object.assign({},he(t),{onClick:e=>{if(d.current)return;if(d.current=!0,!f)return void h();let t;if(l){if(t=f(e),u&&!ut(t))return d.current=!1,void h(e)}else if(f.length)t=f(a),d.current=!1;else if(t=f(),!t)return void h();(e=>{ut(e)&&(g(!0),e.then((function(){g(!1,!0),h.apply(void 0,arguments),d.current=!1}),(e=>{if(g(!1,!0),d.current=!1,!(null==s?void 0:s()))return Promise.reject(e)})))})(t)},loading:m,prefixCls:r},o,{ref:p}),n)},dt=i.createContext({}),{Provider:pt}=dt,mt=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:a,close:c,onCancel:l,onConfirm:s}=(0,i.useContext)(dt);return o?i.createElement(ft,{isSilent:r,actionFn:l,close:function(){null==c||c.apply(void 0,arguments),null==s||s(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},n):null},gt=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:a,okType:c,onConfirm:l,onOk:s}=(0,i.useContext)(dt);return i.createElement(ft,{isSilent:n,type:c||"primary",actionFn:s,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},a)};var ht=n(6467),vt=n(641),yt=n(3089),bt=i.createContext({}),At=n(4808),xt=n(6855),Ct=n(6928),wt=n(2065);function Et(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function St(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}const kt=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var Ot={width:0,height:0,overflow:"hidden",outline:"none"},Pt={outline:"none"},Mt=i.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,c=e.ariaId,u=e.footer,f=e.closable,d=e.closeIcon,p=e.onClose,m=e.children,g=e.bodyStyle,h=e.bodyProps,v=e.modalRender,y=e.onMouseDown,b=e.onMouseUp,A=e.holderRef,x=e.visible,C=e.forceRender,w=e.width,E=e.height,S=e.classNames,O=e.styles,P=i.useContext(bt).panel,M=(0,U.xK)(A,P),$=(0,i.useRef)(),F=(0,i.useRef)(),j=(0,i.useRef)();i.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=j.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===F.current?$.current.focus():e||t!==$.current||F.current.focus()}}}));var R,T,N={};void 0!==w&&(N.width=w),void 0!==E&&(N.height=E),u&&(R=i.createElement("div",{className:H()("".concat(n,"-footer"),null==S?void 0:S.footer),style:(0,s.A)({},null==O?void 0:O.footer)},u)),a&&(T=i.createElement("div",{className:H()("".concat(n,"-header"),null==S?void 0:S.header),style:(0,s.A)({},null==O?void 0:O.header)},i.createElement("div",{className:"".concat(n,"-title"),id:c},a)));var I,L=(0,i.useMemo)((function(){return"object"===(0,l.A)(f)&&null!==f?f:f?{closeIcon:null!=d?d:i.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[f,d]),z=(0,wt.A)(L,!0);f&&(I=i.createElement("button",(0,k.A)({type:"button",onClick:p,"aria-label":"Close"},z,{className:"".concat(n,"-close")}),L.closeIcon));var B=i.createElement("div",{className:H()("".concat(n,"-content"),null==S?void 0:S.content),style:null==O?void 0:O.content},I,T,i.createElement("div",(0,k.A)({className:H()("".concat(n,"-body"),null==S?void 0:S.body),style:(0,s.A)((0,s.A)({},g),null==O?void 0:O.body)},h),m),R);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?c:null,"aria-modal":"true",ref:M,style:(0,s.A)((0,s.A)({},o),N),className:H()(n,r),onMouseDown:y,onMouseUp:b},i.createElement("div",{tabIndex:0,ref:$,style:Ot,"aria-hidden":"true"}),i.createElement("div",{ref:j,tabIndex:-1,style:Pt},i.createElement(kt,{shouldUpdate:x||C},v?v(B):B)),i.createElement("div",{tabIndex:0,ref:F,style:Ot,"aria-hidden":"true"}))}));const $t=Mt;var Ft=i.forwardRef((function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,c=e.visible,l=e.forceRender,u=e.destroyOnClose,f=e.motionName,d=e.ariaId,p=e.onVisibleChanged,m=e.mousePosition,g=(0,i.useRef)(),h=i.useState(),v=(0,vt.A)(h,2),y=v[0],b=v[1],A={};function x(){var e,t,n,r,o,i=(e=g.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=St(o),n.top+=St(o,!0),n);b(m?"".concat(m.x-i.left,"px ").concat(m.y-i.top,"px"):"")}return y&&(A.transformOrigin=y),i.createElement(te.Ay,{visible:c,onVisibleChanged:p,onAppearPrepare:x,onEnterPrepare:x,forceRender:l,motionName:f,removeOnLeave:u,ref:g},(function(c,l){var u=c.className,f=c.style;return i.createElement($t,(0,k.A)({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:l,style:(0,s.A)((0,s.A)((0,s.A)({},f),o),A),className:H()(a,u)}))}))}));Ft.displayName="Content";const jt=Ft;function Rt(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName,c=e.className;return i.createElement(te.Ay,{key:"mask",visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,r){var a=e.className,l=e.style;return i.createElement("div",(0,k.A)({ref:r,style:(0,s.A)((0,s.A)({},l),n),className:H()("".concat(t,"-mask"),a,c)},o))}))}n(8210);function Tt(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,a=void 0!==o&&o,c=e.keyboard,l=void 0===c||c,u=e.focusTriggerAfterClose,f=void 0===u||u,d=e.wrapStyle,p=e.wrapClassName,m=e.wrapProps,g=e.onClose,h=e.afterOpenChange,v=e.afterClose,y=e.transitionName,b=e.animation,A=e.closable,x=void 0===A||A,C=e.mask,w=void 0===C||C,E=e.maskTransitionName,S=e.maskAnimation,O=e.maskClosable,P=void 0===O||O,M=e.maskStyle,$=e.maskProps,F=e.rootClassName,j=e.classNames,R=e.styles;var T=(0,i.useRef)(),N=(0,i.useRef)(),I=(0,i.useRef)(),L=i.useState(a),z=(0,vt.A)(L,2),B=z[0],D=z[1],_=(0,xt.A)();function V(e){null==g||g(e)}var W=(0,i.useRef)(!1),q=(0,i.useRef)(),U=null;return P&&(U=function(e){W.current?W.current=!1:N.current===e.target&&V(e)}),(0,i.useEffect)((function(){a&&(D(!0),(0,At.A)(N.current,document.activeElement)||(T.current=document.activeElement))}),[a]),(0,i.useEffect)((function(){return function(){clearTimeout(q.current)}}),[]),i.createElement("div",(0,k.A)({className:H()("".concat(n,"-root"),F)},(0,wt.A)(e,{data:!0})),i.createElement(Rt,{prefixCls:n,visible:w&&a,motionName:Et(n,E,S),style:(0,s.A)((0,s.A)({zIndex:r},M),null==R?void 0:R.mask),maskProps:$,className:null==j?void 0:j.mask}),i.createElement("div",(0,k.A)({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===Ct.A.ESC)return e.stopPropagation(),void V(e);a&&e.keyCode===Ct.A.TAB&&I.current.changeActive(!e.shiftKey)},className:H()("".concat(n,"-wrap"),p,null==j?void 0:j.wrapper),ref:N,onClick:U,style:(0,s.A)((0,s.A)((0,s.A)({zIndex:r},d),null==R?void 0:R.wrapper),{},{display:B?null:"none"})},m),i.createElement(jt,(0,k.A)({},e,{onMouseDown:function(){clearTimeout(q.current),W.current=!0},onMouseUp:function(){q.current=setTimeout((function(){W.current=!1}))},ref:I,closable:x,ariaId:_,prefixCls:n,visible:a&&B,onClose:V,onVisibleChanged:function(e){if(e)(0,At.A)(N.current,document.activeElement)||null===(t=I.current)||void 0===t||t.focus();else{if(D(!1),w&&T.current&&f){try{T.current.focus({preventScroll:!0})}catch(Qn){}T.current=null}B&&(null==v||v())}var t;null==h||h(e)},motionName:Et(n,y,b)}))))}var Nt=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,a=void 0!==o&&o,c=e.afterClose,l=e.panelRef,s=i.useState(t),u=(0,vt.A)(s,2),f=u[0],d=u[1],p=i.useMemo((function(){return{panel:l}}),[l]);return i.useEffect((function(){t&&d(!0)}),[t]),r||!a||f?i.createElement(bt.Provider,{value:p},i.createElement(yt.A,{open:t||r||f,autoDestroy:!1,getContainer:n,autoLock:t||f},i.createElement(Tt,(0,k.A)({},e,{destroyOnClose:a,afterClose:function(){null==c||c(),d(!1)}})))):null};Nt.displayName="Dialog";const It=Nt;function Lt(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function zt(e){const{closable:t,closeIcon:n}=e||{};return i.useMemo((()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e}),[t,n])}function Ht(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{t&&Object.keys(t).forEach((n=>{void 0!==t[n]&&(e[n]=t[n])}))})),e}const Bt={};var Dt=n(998);var _t=n(2616),Vt=n(934),Wt=n(1961);function qt(){}const Ut=i.createContext({add:qt,remove:qt});const Xt=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,i.useContext)(dt);return i.createElement(st,Object.assign({onClick:n},e),t)},Gt=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=(0,i.useContext)(dt);return i.createElement(st,Object.assign({},he(n),{loading:e,onClick:o},t),r)};var Kt=n(1815);function Yt(e,t){return i.createElement("span",{className:`${e}-close-x`},t||i.createElement(ht.A,{className:`${e}-close-icon`}))}const Qt=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:c,onCancel:l,okButtonProps:s,cancelButtonProps:u,footer:f}=e,[d]=(0,_.A)("Modal",(0,Kt.l)()),p={confirmLoading:a,okButtonProps:s,cancelButtonProps:u,okTextLocale:t||(null==d?void 0:d.okText),cancelTextLocale:r||(null==d?void 0:d.cancelText),okType:n,onOk:c,onCancel:l},m=i.useMemo((()=>p),(0,o.A)(Object.values(p)));let g;return"function"==typeof f||void 0===f?(g=i.createElement(i.Fragment,null,i.createElement(Xt,null),i.createElement(Gt,null)),"function"==typeof f&&(g=f(g,{OkBtn:Gt,CancelBtn:Xt})),g=i.createElement(pt,{value:m},g)):g=f,i.createElement(le.X,{disabled:!1},g)};var Zt=n(4980);const Jt=new Oe.Mo("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),en=new Oe.Mo("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),tn=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[(0,Zt.b)(r,Jt,en,e.motionDurationMid,t),{[`\n ${o}${r}-enter,\n ${o}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},nn=new Oe.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),rn=new Oe.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),on=new Oe.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),an=new Oe.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),cn=new Oe.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),ln=new Oe.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),sn={zoom:{inKeyframes:nn,outKeyframes:rn},"zoom-big":{inKeyframes:on,outKeyframes:an},"zoom-big-fast":{inKeyframes:on,outKeyframes:an},"zoom-left":{inKeyframes:new Oe.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new Oe.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new Oe.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new Oe.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:cn,outKeyframes:ln},"zoom-down":{inKeyframes:new Oe.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new Oe.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},un=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=sn[t];return[(0,Zt.b)(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function fn(e){return{position:e,inset:0}}const dn=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},fn("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},fn("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:tn(e)}]},pn=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,Oe.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Pe.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,Oe.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,Oe.zA)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Pe.K8)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,Oe.zA)(e.borderRadiusLG)} ${(0,Oe.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},mn=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},gn=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,Me.h1)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},hn=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,Oe.zA)(e.paddingMD)} ${(0,Oe.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,Oe.zA)(e.padding)} ${(0,Oe.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,Oe.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,Oe.zA)(e.paddingXS)} ${(0,Oe.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,Oe.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,Oe.zA)(e.borderRadiusLG)} ${(0,Oe.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,Oe.zA)(2*e.padding)} ${(0,Oe.zA)(2*e.padding)} ${(0,Oe.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),vn=(0,K.OF)("Modal",(e=>{const t=gn(e);return[pn(t),mn(t),dn(t),un(t,"zoom")]}),hn,{unitless:{titleLineHeight:!0}});var yn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{bn={x:e.pageX,y:e.pageY},setTimeout((()=>{bn=null}),100)};(0,Dt.A)()&&window.document.documentElement&&document.documentElement.addEventListener("click",An,!0);const xn=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:a}=i.useContext(E.QO),c=t=>{const{onCancel:n}=e;null==n||n(t)};const{prefixCls:l,className:s,rootClassName:u,open:f,wrapClassName:d,centered:p,getContainer:m,focusTriggerAfterClose:g=!0,style:h,visible:v,width:y=520,footer:b,classNames:A,styles:x}=e,C=yn(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),w=r("modal",l),S=r(),k=(0,Vt.A)(w),[O,P,M]=vn(w,k),$=H()(d,{[`${w}-centered`]:!!p,[`${w}-wrap-rtl`]:"rtl"===o}),F=null!==b&&i.createElement(Qt,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:c})),[j,R]=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bt;const r=zt(e),o=zt(t),a=i.useMemo((()=>Object.assign({closeIcon:i.createElement(ht.A,null)},n)),[n]),c=i.useMemo((()=>!1!==r&&(r?Ht(a,o,r):!1!==o&&(o?Ht(a,o):!!a.closable&&a))),[r,o,a]);return i.useMemo((()=>{if(!1===c)return[!1,null];const{closeIconRender:e}=a,{closeIcon:t}=c;let n=t;if(null!=n){e&&(n=e(t));const r=(0,wt.A)(c,!0);Object.keys(r).length&&(n=i.isValidElement(n)?i.cloneElement(n,r):i.createElement("span",Object.assign({},r),n))}return[!0,n]}),[c,a])}(Lt(e),Lt(a),{closable:!0,closeIcon:i.createElement(ht.A,{className:`${w}-close-icon`}),closeIconRender:e=>Yt(w,e)}),T=function(e){const t=i.useContext(Ut),n=i.useRef();return(0,Z._q)((r=>{if(r){const o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)}))}(`.${w}-content`),[N,I]=(0,B.YK)("Modal",C.zIndex);return O(i.createElement(ue.K6,null,i.createElement(Wt.XB,{status:!0,override:!0},i.createElement(_t.A.Provider,{value:I},i.createElement(It,Object.assign({width:y},C,{zIndex:N,getContainer:void 0===m?n:m,prefixCls:w,rootClassName:H()(P,u,M,k),footer:F,visible:null!=f?f:v,mousePosition:null!==(t=C.mousePosition)&&void 0!==t?t:bn,onClose:c,closable:j,closeIcon:R,focusTriggerAfterClose:g,transitionName:(0,D.b)(S,"zoom",e.transitionName),maskTransitionName:(0,D.b)(S,"fade",e.maskTransitionName),className:H()(P,s,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),h),classNames:Object.assign(Object.assign(Object.assign({},null==a?void 0:a.classNames),A),{wrapper:H()($,null==A?void 0:A.wrapper)}),styles:Object.assign(Object.assign({},null==a?void 0:a.styles),x),panelRef:T}))))))},Cn=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:c,fontHeight:l,confirmBodyPadding:s}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},(0,Pe.t6)()),[`&${t} ${t}-body`]:{padding:s},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(c).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${(0,Oe.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},\n ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},wn=(0,K.bf)(["Modal","confirm"],(e=>{const t=gn(e);return[Cn(t)]}),hn,{order:-1e3});var En=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oA),(0,o.A)(Object.values(A))),C=i.createElement(i.Fragment,null,i.createElement(mt,null),i.createElement(gt,null)),w=void 0!==e.title&&null!==e.title,E=`${c}-body`;return i.createElement("div",{className:`${c}-body-wrapper`},i.createElement("div",{className:H()(E,{[`${E}-has-title`]:w})},p,i.createElement("div",{className:`${c}-paragraph`},w&&i.createElement("span",{className:`${c}-title`},e.title),i.createElement("div",{className:`${c}-content`},e.content))),void 0===u||"function"==typeof u?i.createElement(pt,{value:x},i.createElement("div",{className:`${c}-btns`},"function"==typeof u?u(C,{OkBtn:gt,CancelBtn:mt}):C)):u,i.createElement(wn,{prefixCls:t}))}const kn=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:a,centered:c,getContainer:l,maskStyle:s,direction:u,prefixCls:f,wrapClassName:d,rootPrefixCls:p,bodyStyle:m,closable:g=!1,closeIcon:h,modalRender:v,focusTriggerAfterClose:y,onConfirm:b,styles:A}=e;const x=`${f}-confirm`,C=e.width||416,w=e.style||{},E=void 0===e.mask||e.mask,S=void 0!==e.maskClosable&&e.maskClosable,k=H()(x,`${x}-${e.type}`,{[`${x}-rtl`]:"rtl"===u},e.className),[,O]=(0,V.Ay)(),P=i.useMemo((()=>void 0!==n?n:O.zIndexPopupBase+B.jH),[n,O]);return i.createElement(xn,{prefixCls:f,className:k,wrapClassName:H()({[`${x}-centered`]:!!e.centered},d),onCancel:()=>{null==t||t({triggerCancel:!0}),null==b||b(!1)},open:o,title:"",footer:null,transitionName:(0,D.b)(p||"","zoom",e.transitionName),maskTransitionName:(0,D.b)(p||"","fade",e.maskTransitionName),mask:E,maskClosable:S,style:w,styles:Object.assign({body:m,mask:s},A),width:C,zIndex:P,afterClose:r,keyboard:a,centered:c,getContainer:l,closable:g,closeIcon:h,modalRender:v,focusTriggerAfterClose:y},i.createElement(Sn,Object.assign({},e,{confirmPrefixCls:x})))};const On=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return i.createElement(S.Ay,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},i.createElement(kn,Object.assign({},e)))},Pn=[];let Mn="";function $n(){return Mn}const Fn=e=>{var t,n;const{prefixCls:r,getContainer:o,direction:a}=e,c=(0,Kt.l)(),l=(0,i.useContext)(E.QO),s=$n()||l.getPrefixCls(),u=r||`${s}-modal`;let f=o;return!1===f&&(f=void 0),i.createElement(On,Object.assign({},e,{rootPrefixCls:s,prefixCls:u,iconPrefixCls:l.iconPrefixCls,theme:l.theme,direction:null!=a?a:l.direction,locale:null!==(n=null===(t=l.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:c,getContainer:f}))};function jn(e){const t=(0,S.cr)();const n=document.createDocumentFragment();let r,a=Object.assign(Object.assign({},e),{close:s,open:!0});function c(){for(var t=arguments.length,r=new Array(t),i=0;ie&&e.triggerCancel));e.onCancel&&a&&e.onCancel.apply(e,[()=>{}].concat((0,o.A)(r.slice(1))));for(let e=0;e{const r=t.getPrefixCls(void 0,$n()),o=t.getIconPrefixCls(),a=t.getTheme(),c=i.createElement(Fn,Object.assign({},e));y(i.createElement(S.Ay,{prefixCls:r,iconPrefixCls:o,theme:a},t.holderRender?t.holderRender(c):c),n)}))}function s(){for(var t=arguments.length,n=new Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),c.apply(this,n)}}),a.visible&&delete a.visible,l(a)}return l(a),Pn.push(s),{destroy:s,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),l(a)}}}function Rn(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Tn(e){return Object.assign(Object.assign({},e),{type:"info"})}function Nn(e){return Object.assign(Object.assign({},e),{type:"success"})}function In(e){return Object.assign(Object.assign({},e),{type:"error"})}function Ln(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var zn=n(3425),Hn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:c,children:l,footer:s}=e,u=Hn(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(E.QO),d=f(),p=t||f("modal"),m=(0,Vt.A)(d),[g,h,v]=vn(p,m),y=`${p}-confirm`;let b={};return b=a?{closable:null!=o&&o,title:"",footer:"",children:i.createElement(Sn,Object.assign({},e,{prefixCls:p,confirmPrefixCls:y,rootPrefixCls:d,content:l}))}:{closable:null==o||o,title:c,footer:null!==s&&i.createElement(Qt,Object.assign({},e)),children:l},g(i.createElement($t,Object.assign({prefixCls:p,className:H()(h,`${p}-pure-panel`,a&&y,a&&`${y}-${a}`,n,v,m)},u,{closeIcon:Yt(p,r),closable:o},b)))}));var Dn=n(2130),_n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,{afterClose:r,config:a}=e,c=_n(e,["afterClose","config"]);const[l,s]=i.useState(!0),[u,f]=i.useState(a),{direction:d,getPrefixCls:p}=i.useContext(E.QO),m=p("modal"),g=p(),h=function(){s(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));u.onCancel&&r&&u.onCancel.apply(u,[()=>{}].concat((0,o.A)(t.slice(1))))};i.useImperativeHandle(t,(()=>({destroy:h,update:e=>{f((t=>Object.assign(Object.assign({},t),e)))}})));const v=null!==(n=u.okCancel)&&void 0!==n?n:"confirm"===u.type,[y]=(0,_.A)("Modal",Dn.A.Modal);return i.createElement(On,Object.assign({prefixCls:m,rootPrefixCls:g},u,{close:h,open:l,afterClose:()=>{var e;r(),null===(e=u.afterClose)||void 0===e||e.call(u)},okText:u.okText||(v?null==y?void 0:y.okText:null==y?void 0:y.justOkText),direction:u.direction||d,cancelText:u.cancelText||(null==y?void 0:y.cancelText)},c))},Wn=i.forwardRef(Vn);let qn=0;const Un=i.memo(i.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=i.useState([]);return[e,i.useCallback((e=>(t((t=>[].concat((0,o.A)(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return i.useImperativeHandle(t,(()=>({patchElement:r})),[]),i.createElement(i.Fragment,null,n)})));const Xn=function(){const e=i.useRef(null),[t,n]=i.useState([]);i.useEffect((()=>{if(t.length){(0,o.A)(t).forEach((e=>{e()})),n([])}}),[t]);const r=i.useCallback((t=>function(r){var a;qn+=1;const c=i.createRef();let l;const s=new Promise((e=>{l=e}));let u,f=!1;const d=i.createElement(Wn,{key:`modal-${qn}`,config:t(r),ref:c,afterClose:()=>{null==u||u()},isSilent:()=>f,onConfirm:e=>{l(e)}});u=null===(a=e.current)||void 0===a?void 0:a.patchElement(d),u&&Pn.push(u);const p={destroy:()=>{function e(){var e;null===(e=c.current)||void 0===e||e.destroy()}c.current?e():n((t=>[].concat((0,o.A)(t),[e])))},update:e=>{function t(){var t;null===(t=c.current)||void 0===t||t.update(e)}c.current?t():n((e=>[].concat((0,o.A)(e),[t])))},then:e=>(f=!0,s.then(e))};return p}),[]);return[i.useMemo((()=>({info:r(Tn),success:r(Nn),error:r(In),warning:r(Rn),confirm:r(Ln)})),[]),i.createElement(Un,{key:"modal-holder",ref:e})]};function Gn(e){return jn(Rn(e))}const Kn=xn;Kn.useModal=Xn,Kn.info=function(e){return jn(Tn(e))},Kn.success=function(e){return jn(Nn(e))},Kn.error=function(e){return jn(In(e))},Kn.warning=Gn,Kn.warn=Gn,Kn.confirm=function(e){return jn(Ln(e))},Kn.destroyAll=function(){for(;Pn.length;){const e=Pn.pop();e&&e()}},Kn.config=function(e){let{rootPrefixCls:t}=e;Mn=t},Kn._InternalPanelDoNotUseOrYouWillBeFired=Bn;const Yn=Kn},1815:(e,t,n)=>{n.d(t,{L:()=>c,l:()=>l});var r=n(2130);let o=Object.assign({},r.A.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),r.A.Modal);function c(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},r.A.Modal)}function l(){return o}},6327:(e,t,n)=>{n.d(t,{K6:()=>l,RQ:()=>c});var r=n(6540),o=n(6942),i=n.n(o);n(2546);const a=r.createContext(null),c=(e,t)=>{const n=r.useContext(a),o=r.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:a}=n,c="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${c}item`,{[`${e}-compact${c}first-item`]:o,[`${e}-compact${c}last-item`]:a,[`${e}-compact${c}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},l=e=>{let{children:t}=e;return r.createElement(a.Provider,{value:null},t)}},5974:(e,t,n)=>{function r(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",c=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,i=`${n}-compact`;return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.d(t,{G:()=>i})},5905:(e,t,n)=>{n.d(t,{K8:()=>f,L9:()=>o,Nk:()=>a,av:()=>l,dF:()=>i,t6:()=>c,vj:()=>s});var r=n(7689);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},u=e=>({outline:`${(0,r.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),f=e=>({"&:focus-visible":Object.assign({},u(e))})},4980:(e,t,n)=>{n.d(t,{b:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},3561:(e,t,n)=>{n.d(t,{YU:()=>l,_j:()=>m,nP:()=>c,ox:()=>i,vR:()=>a});var r=n(7689),o=n(4980);const i=new r.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),c=new r.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s=new r.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new r.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),d=new r.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:c,outKeyframes:l},"slide-left":{inKeyframes:s,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:d}},m=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.b)(r,i,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},9790:(e,t,n)=>{n.d(t,{vG:()=>y,sb:()=>v,zQ:()=>h});var r=n(6540),o=n(7689),i=n(2742),a=n(723),c=n(4978);const l=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};const s=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};var u=n(4925);const f=e=>{const t=(0,u.A)(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],c=r[1],l=r[0],s=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:s,lineHeightSM:l,fontHeight:Math.round(c*o),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};const d=(e,t)=>new c.q(e).setAlpha(t).toRgbString(),p=(e,t)=>new c.q(e).darken(t).toHexString(),m=e=>{const t=(0,i.cM)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},g=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:d(r,.88),colorTextSecondary:d(r,.65),colorTextTertiary:d(r,.45),colorTextQuaternary:d(r,.25),colorFill:d(r,.15),colorFillSecondary:d(r,.06),colorFillTertiary:d(r,.04),colorFillQuaternary:d(r,.02),colorBgLayout:p(n,4),colorBgContainer:p(n,0),colorBgElevated:p(n,0),colorBgSpotlight:d(r,.85),colorBgBlur:"transparent",colorBorder:p(n,15),colorBorderSecondary:p(n,6)}};const h=(0,o.an)((function(e){const t=Object.keys(a.r).map((t=>{const n=(0,i.cM)(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:f}=e,d=n(s),p=n(o),m=n(i),g=n(a),h=n(l),v=r(u,f),y=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new c.q("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:m,generateNeutralColorPalettes:g})),f(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),s(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},l(r))}(e))})),v={token:a.A,override:{override:a.A},hashed:!0},y=r.createContext(v)},723:(e,t,n)=>{n.d(t,{A:()=>o,r:()=>r});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},4925:(e,t,n)=>{function r(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(2.71828,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:r(e)})))}n.d(t,{A:()=>o,k:()=>r})},3534:(e,t,n)=>{n.d(t,{Ay:()=>y,Xe:()=>g,Is:()=>m});var r=n(6540),o=n(7689);const i="5.17.1";var a=n(9790),c=n(723),l=n(4978);function s(e){return e>=0&&e<=255}const u=function(e,t){const{r:n,g:r,b:o,a:i}=new l.q(e).toRgb();if(i<1)return e;const{r:a,g:c,b:u}=new l.q(t).toRgb();for(let f=.01;f<=1;f+=.01){const e=Math.round((n-a*(1-f))/f),t=Math.round((r-c*(1-f))/f),i=Math.round((o-u*(1-f))/f);if(s(e)&&s(t)&&s(i))return new l.q({r:e,g:t,b:i,a:Math.round(100*f)/100}).toRgbString()}return new l.q({r:n,g:r,b:o,a:1}).toRgbString()};var f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{delete r[e]}));const o=Object.assign(Object.assign({},n),r),i=1200,a=1600;if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:u(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:u(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:u(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:u(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:i,screenXLMin:i,screenXLMax:1599,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new l.q("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new l.q("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new l.q("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=p(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=d(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=p(n,["theme"]);let i=o;r&&(i=v(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function y(){const{token:e,hashed:t,theme:n,override:l,cssVar:s}=r.useContext(a.vG),u=`${i}-${t||""}`,f=n||a.zQ,[p,y,b]=(0,o.hV)(f,[c.A,e],{salt:u,override:l,getComputedToken:v,formatToken:d,cssVar:s&&{prefix:s.prefix,key:s.key,unitless:m,ignore:g,preserve:h}});return[f,b,t?y:"",p,s]}},1173:(e,t,n)=>{n.d(t,{Ay:()=>O,OF:()=>M,bf:()=>P});var r=n(6540),o=n(7689),i=(n(1470),n(2279)),a=n(5905),c=n(3534),l=n(3029),s=n(2901),u=n(3954),f=n(2176),d=n(6822);function p(e,t,n){return t=(0,u.A)(t),(0,d.A)(e,(0,f.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var m=n(5501);const g=(0,s.A)((function e(){(0,l.A)(this,e)})),h="CALC_UNIT",v=new RegExp(h,"g");function y(e){return"number"==typeof e?`${e}${h}`:e}let b=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result="",e instanceof t?n.result=`(${e.result})`:"number"==typeof e?n.result=y(e):"string"==typeof e&&(n.result=e),n}return(0,m.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${y(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${y(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{};return this.result=this.result.replace(v,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}])}(g),A=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result=0,e instanceof t?n.result=e.result:"number"==typeof e&&(n.result=e),n}return(0,m.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}])}(g);const x=e=>{const t="css"===e?b:A;return e=>new t(e)};var C=n(336),w=n(2366);const E=(e,t,n)=>{var r;return"function"==typeof n?n((0,C.h1)(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}},S=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==o?void 0:o[t])||(null==o?void 0:o[n]))&&(null!==(r=o[n])&&void 0!==r||(o[n]=null==o?void 0:o[t]))}))}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i},k=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function O(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=Array.isArray(e)?e:[e,e],[u]=s,f=s.join("-");return function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[d,p,m,g,h]=(0,c.Ay)(),{getPrefixCls:v,iconPrefixCls:y,csp:b}=(0,r.useContext)(i.QO),A=v(),O=h?"css":"js",P=x(O),{max:M,min:$}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`}}}(O),F={theme:d,token:g,hashId:m,nonce:()=>null==b?void 0:b.nonce,clientOnly:l.clientOnly,layer:{name:"antd"},order:l.order||-999};(0,o.IV)(Object.assign(Object.assign({},F),{clientOnly:!1,path:["Shared",A]}),(()=>[{"&":(0,a.av)(g)}])),(0,w.A)(y,b);return[(0,o.IV)(Object.assign(Object.assign({},F),{path:[f,e,y]}),(()=>{if(!1===l.injectStyle)return[];const{token:r,flush:i}=(0,C.Ay)(g),c=E(u,p,n),f=`.${e}`,d=S(u,p,c,{deprecatedTokens:l.deprecatedTokens});h&&Object.keys(c).forEach((e=>{c[e]=`var(${(0,o.Ki)(e,k(u,h.prefix))})`}));const v=(0,C.h1)(r,{componentCls:f,prefixCls:e,iconCls:`.${y}`,antCls:`.${A}`,calc:P,max:M,min:$},h?c:d),b=t(v,{hashId:m,prefixCls:e,rootPrefixCls:A,iconPrefixCls:y});return i(u,d),[!1===l.resetStyle?null:(0,a.vj)(v,e,s,l.resetFont),b]})),m]}}const P=(e,t,n,r)=>{const o=O(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t,rootCls:n=t}=e;return o(t,n),null}},M=(e,t,n,i)=>{const a=O(e,t,n,i),l=((e,t,n)=>{function i(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:a={},injectStyle:l=!0}=null!=n?n:{},s={[i("zIndexPopup")]:!0};Object.keys(a).forEach((e=>{s[i(e)]=a[e]}));const u=r=>{let{rootCls:a,cssVar:l}=r;const[,u]=(0,c.Ay)();return(0,o.RC)({path:[e],prefix:l.prefix,key:null==l?void 0:l.key,unitless:Object.assign(Object.assign({},c.Is),s),ignore:c.Xe,token:u,scope:a},(()=>{const r=E(e,u,t),o=S(e,u,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((e=>{o[i(e)]=o[e],delete o[e]})),o})),null};return t=>{const[,,,,n]=(0,c.Ay)();return[o=>l&&n?r.createElement(r.Fragment,null,r.createElement(u,{rootCls:t,cssVar:n,component:e}),o):o,null==n?void 0:n.key]}})(Array.isArray(e)?e[0]:e,n,i);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=a(e,t),[r,o]=l(t);return[r,n,o]}}},336:(e,t,n)=>{n.d(t,{Ay:()=>l,h1:()=>i});const r="undefined"!=typeof CSSINJS_STATISTIC;let o=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),o=!0,i}const a={};function c(){}const l=e=>{let t,n=e,i=c;return r&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},2366:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(7689),o=n(5905),i=n(3534);const a=(e,t)=>{const[n,a]=(0,i.Ay)();return(0,r.IV)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Nk)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},8612:(e,t,n)=>{n.d(t,{Kq:()=>g,Ay:()=>ye});var r=n(4467),o=n(9379),i=n(641),a=n(2284),c=n(6942),l=n.n(c),s=n(6112),u=n(8719),f=n(6540),d=n(45),p=["children"],m=f.createContext({});function g(e){var t=e.children,n=(0,d.A)(e,p);return f.createElement(m.Provider,{value:n},t)}var h=n(3029),v=n(2901),y=n(5501),b=n(9426);const A=function(e){(0,y.A)(n,e);var t=(0,b.A)(n);function n(){return(0,h.A)(this,n),t.apply(this,arguments)}return(0,v.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(f.Component);var x=n(1470),C=n(1233),w=n(6956);var E="none",S="appear",k="enter",O="leave",P="none",M="prepare",$="start",F="active",j="end",R="prepared",T=n(998);function N(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var I,L,z,H=(I=(0,T.A)(),L="undefined"!=typeof window?window:{},z={animationend:N("Animation","AnimationEnd"),transitionend:N("Transition","TransitionEnd")},I&&("AnimationEvent"in L||delete z.animationend.animation,"TransitionEvent"in L||delete z.transitionend.transition),z),B={};if((0,T.A)()){var D=document.createElement("div");B=D.style}var _={};function V(e){if(_[e])return _[e];var t=H[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,Z.A)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=(0,i.A)(l,2),u=s[0],d=s[1];var p=t?ee:J;return Q((function(){if(a!==P&&a!==j){var e=p.indexOf(a),t=p[e+1],r=n(a);r===te?c(t,!0):t&&u((function(e){function n(){e.isCanceled()||c(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),f.useEffect((function(){return function(){d()}}),[]),[function(){c(M,!0)},a]};function ie(e,t,n,a){var c,l,s,u,d=a.motionEnter,p=void 0===d||d,m=a.motionAppear,g=void 0===m||m,h=a.motionLeave,v=void 0===h||h,y=a.motionDeadline,b=a.motionLeaveImmediately,A=a.onAppearPrepare,P=a.onEnterPrepare,j=a.onLeavePrepare,T=a.onAppearStart,N=a.onEnterStart,I=a.onLeaveStart,L=a.onAppearActive,z=a.onEnterActive,H=a.onLeaveActive,B=a.onAppearEnd,D=a.onEnterEnd,_=a.onLeaveEnd,V=a.onVisibleChanged,W=(0,C.A)(),q=(0,i.A)(W,2),U=q[0],X=q[1],G=(c=E,l=f.useReducer((function(e){return e+1}),0),s=(0,i.A)(l,2)[1],u=f.useRef(c),[(0,w.A)((function(){return u.current})),(0,w.A)((function(e){u.current="function"==typeof e?e(u.current):e,s()}))]),K=(0,i.A)(G,2),Z=K[0],J=K[1],ee=(0,C.A)(null),ie=(0,i.A)(ee,2),ae=ie[0],ce=ie[1],le=Z(),se=(0,f.useRef)(!1),ue=(0,f.useRef)(null);function fe(){return n()}var de=(0,f.useRef)(!1);function pe(){J(E),ce(null,!0)}var me=(0,x._q)((function(e){var t=Z();if(t!==E){var n=fe();if(!e||e.deadline||e.target===n){var r,o=de.current;t===S&&o?r=null==B?void 0:B(n,e):t===k&&o?r=null==D?void 0:D(n,e):t===O&&o&&(r=null==_?void 0:_(n,e)),o&&!1!==r&&pe()}}})),ge=Y(me),he=(0,i.A)(ge,1)[0],ve=function(e){switch(e){case S:return(0,r.A)((0,r.A)((0,r.A)({},M,A),$,T),F,L);case k:return(0,r.A)((0,r.A)((0,r.A)({},M,P),$,N),F,z);case O:return(0,r.A)((0,r.A)((0,r.A)({},M,j),$,I),F,H);default:return{}}},ye=f.useMemo((function(){return ve(le)}),[le]),be=oe(le,!e,(function(e){if(e===M){var t=ye[M];return t?t(fe()):te}var n;Ce in ye&&ce((null===(n=ye[Ce])||void 0===n?void 0:n.call(ye,fe(),null))||null);return Ce===F&&le!==E&&(he(fe()),y>0&&(clearTimeout(ue.current),ue.current=setTimeout((function(){me({deadline:!0})}),y))),Ce===R&&pe(),ne})),Ae=(0,i.A)(be,2),xe=Ae[0],Ce=Ae[1],we=re(Ce);de.current=we,Q((function(){X(t);var n,r=se.current;se.current=!0,!r&&t&&g&&(n=S),r&&t&&p&&(n=k),(r&&!t&&v||!r&&b&&!t&&v)&&(n=O);var o=ve(n);n&&(e||o[M])?(J(n),xe()):J(E)}),[t]),(0,f.useEffect)((function(){(le===S&&!g||le===k&&!p||le===O&&!v)&&J(E)}),[g,p,v]),(0,f.useEffect)((function(){return function(){se.current=!1,clearTimeout(ue.current)}}),[]);var Ee=f.useRef(!1);(0,f.useEffect)((function(){U&&(Ee.current=!0),void 0!==U&&le===E&&((Ee.current||U)&&(null==V||V(U)),Ee.current=!0)}),[U,le]);var Se=ae;return ye[M]&&Ce===$&&(Se=(0,o.A)({transition:"none"},Se)),[le,Ce,Se,null!=U?U:t]}const ae=function(e){var t=e;"object"===(0,a.A)(e)&&(t=e.transitionSupport);var n=f.forwardRef((function(e,n){var a=e.visible,c=void 0===a||a,d=e.removeOnLeave,p=void 0===d||d,g=e.forceRender,h=e.children,v=e.motionName,y=e.leavedClassName,b=e.eventProps,x=function(e,n){return!(!e.motionName||!t||!1===n)}(e,f.useContext(m).motion),C=(0,f.useRef)(),w=(0,f.useRef)();var S=ie(x,c,(function(){try{return C.current instanceof HTMLElement?C.current:(0,s.Ay)(w.current)}catch(e){return null}}),e),k=(0,i.A)(S,4),O=k[0],P=k[1],F=k[2],j=k[3],R=f.useRef(j);j&&(R.current=!0);var T,N=f.useCallback((function(e){C.current=e,(0,u.Xf)(n,e)}),[n]),I=(0,o.A)((0,o.A)({},b),{},{visible:c});if(h)if(O===E)T=j?h((0,o.A)({},I),N):!p&&R.current&&y?h((0,o.A)((0,o.A)({},I),{},{className:y}),N):g||!p&&!y?h((0,o.A)((0,o.A)({},I),{},{style:{display:"none"}}),N):null;else{var L;P===M?L="prepare":re(P)?L="active":P===$&&(L="start");var z=K(v,"".concat(O,"-").concat(L));T=h((0,o.A)((0,o.A)({},I),{},{className:l()(K(v,O),(0,r.A)((0,r.A)({},z,z&&L),v,"string"==typeof v)),style:F}),N)}else T=null;f.isValidElement(T)&&(0,u.f3)(T)&&(T.ref||(T=f.cloneElement(T,{ref:N})));return f.createElement(A,{ref:w},T)}));return n.displayName="CSSMotion",n}(U);var ce=n(8168),le=n(9417),se="add",ue="keep",fe="remove",de="removed";function pe(e){var t;return t=e&&"object"===(0,a.A)(e)&&"key"in e?e:{key:e},(0,o.A)((0,o.A)({},t),{},{key:String(t.key)})}function me(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(pe)}var ge=["component","children","onVisibleChanged","onAllRemoved"],he=["status"],ve=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ae,n=function(e){(0,y.A)(i,e);var n=(0,b.A)(i);function i(){var e;(0,h.A)(this,i);for(var t=arguments.length,a=new Array(t),c=0;c0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=me(e),c=me(t);a.forEach((function(e){for(var t=!1,a=r;a1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==fe}))).forEach((function(t){t.key===e&&(t.status=ue)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==de||e.status!==fe}))}}}]),i}(f.Component);(0,r.A)(n,"defaultProps",{component:"div"})}(U);const ye=ae},6799:(e,t,n)=>{n.d(t,{A:()=>N});var r=n(8168),o=n(9379),i=n(641),a=n(45),c=n(6540),l=n(6942),s=n.n(l),u=n(5470),f=n(981),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function m(e,t){var n=e.prefixCls,i=e.invalidate,l=e.item,f=e.renderItem,m=e.responsive,g=e.responsiveDisabled,h=e.registerSize,v=e.itemKey,y=e.className,b=e.style,A=e.children,x=e.display,C=e.order,w=e.component,E=void 0===w?"div":w,S=(0,a.A)(e,d),k=m&&!x;function O(e){h(v,e)}c.useEffect((function(){return function(){O(null)}}),[]);var P,M=f&&l!==p?f(l):A;i||(P={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:m?C:p,pointerEvents:k?"none":p,position:k?"absolute":p});var $={};k&&($["aria-hidden"]=!0);var F=c.createElement(E,(0,r.A)({className:s()(!i&&n,y),style:(0,o.A)((0,o.A)({},P),b)},$,S,{ref:t}),M);return m&&(F=c.createElement(u.A,{onResize:function(e){O(e.offsetWidth)},disabled:g},F)),F}var g=c.forwardRef(m);g.displayName="Item";const h=g;var v=n(6956),y=n(961),b=n(5371);function A(){var e=c.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,b.A)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,y.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function x(e,t){var n=c.useState(t),r=(0,i.A)(n,2),o=r[0],a=r[1];return[o,(0,v.A)((function(t){e((function(){a(t)}))}))]}var C=c.createContext(null),w=["component"],E=["className"],S=["className"],k=function(e,t){var n=c.useContext(C);if(!n){var o=e.component,i=void 0===o?"div":o,l=(0,a.A)(e,w);return c.createElement(i,(0,r.A)({},l,{ref:t}))}var u=n.className,f=(0,a.A)(n,E),d=e.className,p=(0,a.A)(e,S);return c.createElement(C.Provider,{value:null},c.createElement(h,(0,r.A)({ref:t,className:s()(u,d)},f,p)))},O=c.forwardRef(k);O.displayName="RawItem";const P=O;var M=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],$="responsive",F="invalidate";function j(e){return"+ ".concat(e.length," ...")}function R(e,t){var n=e.prefixCls,l=void 0===n?"rc-overflow":n,d=e.data,p=void 0===d?[]:d,m=e.renderItem,g=e.renderRawItem,v=e.itemKey,y=e.itemWidth,b=void 0===y?10:y,w=e.ssr,E=e.style,S=e.className,k=e.maxCount,O=e.renderRest,P=e.renderRawRest,R=e.suffix,T=e.component,N=void 0===T?"div":T,I=e.itemComponent,L=e.onVisibleChange,z=(0,a.A)(e,M),H="full"===w,B=A(),D=x(B,null),_=(0,i.A)(D,2),V=_[0],W=_[1],q=V||0,U=x(B,new Map),X=(0,i.A)(U,2),G=X[0],K=X[1],Y=x(B,0),Q=(0,i.A)(Y,2),Z=Q[0],J=Q[1],ee=x(B,0),te=(0,i.A)(ee,2),ne=te[0],re=te[1],oe=x(B,0),ie=(0,i.A)(oe,2),ae=ie[0],ce=ie[1],le=(0,c.useState)(null),se=(0,i.A)(le,2),ue=se[0],fe=se[1],de=(0,c.useState)(null),pe=(0,i.A)(de,2),me=pe[0],ge=pe[1],he=c.useMemo((function(){return null===me&&H?Number.MAX_SAFE_INTEGER:me||0}),[me,V]),ve=(0,c.useState)(!1),ye=(0,i.A)(ve,2),be=ye[0],Ae=ye[1],xe="".concat(l,"-item"),Ce=Math.max(Z,ne),we=k===$,Ee=p.length&&we,Se=k===F,ke=Ee||"number"==typeof k&&p.length>k,Oe=(0,c.useMemo)((function(){var e=p;return Ee?e=null===V&&H?p:p.slice(0,Math.min(p.length,q/b)):"number"==typeof k&&(e=p.slice(0,k)),e}),[p,b,V,k,Ee]),Pe=(0,c.useMemo)((function(){return Ee?p.slice(he+1):p.slice(Oe.length)}),[p,Oe,Ee,he]),Me=(0,c.useCallback)((function(e,t){var n;return"function"==typeof v?v(e):null!==(n=v&&(null==e?void 0:e[v]))&&void 0!==n?n:t}),[v]),$e=(0,c.useCallback)(m||function(e){return e},[m]);function Fe(e,t,n){(me!==e||void 0!==t&&t!==ue)&&(ge(e),n||(Ae(eq){Fe(r-1,e-o-ae+ne);break}}R&&Re(0)+ae>q&&fe(null)}}),[q,G,ne,ae,Me,Oe]);var Te=be&&!!Pe.length,Ne={};null!==ue&&Ee&&(Ne={position:"absolute",left:ue,top:0});var Ie,Le={prefixCls:xe,responsive:Ee,component:I,invalidate:Se},ze=g?function(e,t){var n=Me(e,t);return c.createElement(C.Provider,{key:n,value:(0,o.A)((0,o.A)({},Le),{},{order:t,item:e,itemKey:n,registerSize:je,display:t<=he})},g(e,t))}:function(e,t){var n=Me(e,t);return c.createElement(h,(0,r.A)({},Le,{order:t,key:n,item:e,renderItem:$e,itemKey:n,registerSize:je,display:t<=he}))},He={order:Te?he:Number.MAX_SAFE_INTEGER,className:"".concat(xe,"-rest"),registerSize:function(e,t){re(t),J(ne)},display:Te};if(P)P&&(Ie=c.createElement(C.Provider,{value:(0,o.A)((0,o.A)({},Le),He)},P(Pe)));else{var Be=O||j;Ie=c.createElement(h,(0,r.A)({},Le,He),"function"==typeof Be?Be(Pe):Be)}var De=c.createElement(N,(0,r.A)({className:s()(!Se&&l,S),style:E,ref:t},z),Oe.map(ze),ke?Ie:null,R&&c.createElement(h,(0,r.A)({},Le,{responsive:we,responsiveDisabled:!Ee,order:he,className:"".concat(xe,"-suffix"),registerSize:function(e,t){ce(t)},display:!0,style:Ne}),R));return we&&(De=c.createElement(u.A,{onResize:function(e,t){W(t.clientWidth)},disabled:!Ee},De)),De}var T=c.forwardRef(R);T.displayName="Overflow",T.Item=P,T.RESPONSIVE=$,T.INVALIDATE=F;const N=T},5470:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(8168),o=n(6540),i=n(2546),a=(n(8210),n(9379)),c=n(2284),l=n(6112),s=n(8719),u=o.createContext(null);var f=n(3591),d=new Map;var p=new f.default((function(e){e.forEach((function(e){var t,n=e.target;null===(t=d.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var m=n(3029),g=n(2901),h=n(5501),v=n(9426),y=function(e){(0,h.A)(n,e);var t=(0,v.A)(n);function n(){return(0,m.A)(this,n),t.apply(this,arguments)}return(0,g.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function b(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),f=o.useRef(null),m=o.useContext(u),g="function"==typeof n,h=g?n(i):n,v=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),b=!g&&o.isValidElement(h)&&(0,s.f3)(h),A=b?h.ref:null,x=(0,s.xK)(A,i),C=function(){var e;return(0,l.Ay)(i.current)||(i.current&&"object"===(0,c.A)(i.current)?(0,l.Ay)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,l.Ay)(f.current)};o.useImperativeHandle(t,(function(){return C()}));var w=o.useRef(e);w.current=e;var E=o.useCallback((function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,c=o.height,l=e.offsetWidth,s=e.offsetHeight,u=Math.floor(i),f=Math.floor(c);if(v.current.width!==u||v.current.height!==f||v.current.offsetWidth!==l||v.current.offsetHeight!==s){var d={width:u,height:f,offsetWidth:l,offsetHeight:s};v.current=d;var p=l===Math.round(i)?i:l,g=s===Math.round(c)?c:s,h=(0,a.A)((0,a.A)({},d),{},{offsetWidth:p,offsetHeight:g});null==m||m(h,e,r),n&&Promise.resolve().then((function(){n(h,e)}))}}),[]);return o.useEffect((function(){var e,t,n=C();return n&&!r&&(e=n,t=E,d.has(e)||(d.set(e,new Set),p.observe(e)),d.get(e).add(t)),function(){return function(e,t){d.has(e)&&(d.get(e).delete(t),d.get(e).size||(p.unobserve(e),d.delete(e)))}(n,E)}}),[i.current,r]),o.createElement(y,{ref:f},b?o.cloneElement(h,{ref:x}):h)}const A=o.forwardRef(b);function x(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.A)(n)).map((function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(A,(0,r.A)({},e,{key:a,ref:0===i?t:void 0}),n)}))}var C=o.forwardRef(x);C.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(u),c=o.useCallback((function(e,t,o){r.current+=1;var c=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===r.current&&(null==n||n(i.current),i.current=[])})),null==a||a(e,t,o)}),[n,a]);return o.createElement(u.Provider,{value:c},t)};const w=C},2546:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6540),o=n(6351);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},998:(e,t,n)=>{function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},4808:(e,t,n)=>{function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{A:()=>r})},5089:(e,t,n)=>{n.d(t,{BD:()=>h,m6:()=>g});var r=n(9379),o=n(998),i=n(4808),a="data-rc-order",c="data-rc-priority",l="rc-util-key",s=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((s.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.A)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,s=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),u="prependQueue"===s,p=document.createElement("style");p.setAttribute(a,s),u&&l&&p.setAttribute(c,"".concat(l)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var m=f(t),g=m.firstChild;if(r){if(u){var h=(t.styles||d(m)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return l>=t}));if(h.length)return m.insertBefore(p,h[h.length-1].nextSibling),p}m.insertBefore(p,g)}else m.appendChild(p);return p}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(t);return(t.styles||d(n)).find((function(n){return n.getAttribute(u(t))===e}))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(e,t);n&&f(t).removeChild(n)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=f(n),a=d(o),c=(0,r.A)((0,r.A)({},n),{},{styles:a});!function(e,t){var n=s.get(e);if(!n||!(0,i.A)(document,n)){var r=p("",t),o=r.parentNode;s.set(e,o),e.removeChild(r)}}(o,c);var l=m(t,c);if(l){var g,h,v;if(null!==(g=c.csp)&&void 0!==g&&g.nonce&&l.nonce!==(null===(h=c.csp)||void 0===h?void 0:h.nonce))l.nonce=null===(v=c.csp)||void 0===v?void 0:v.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var y=p(e,c);return y.setAttribute(u(c),t),y}},6112:(e,t,n)=>{n.d(t,{Ay:()=>c,fk:()=>a});var r=n(2284),o=n(6540),i=n(961);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function c(e){var t,n=function(e){return e&&"object"===(0,r.A)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}(e);return n||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},2467:(e,t,n)=>{n.d(t,{A:()=>r});const r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},2633:(e,t,n)=>{function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{j:()=>o})},6928:(e,t,n)=>{n.d(t,{A:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},6956:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(6540);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o{var r;n.d(t,{A:()=>s});var o=n(641),i=n(9379),a=n(6540);var c=0;var l=(0,i.A)({},r||(r=n.t(a,2))).useId;const s=l?function(e){var t=l();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.A)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e=c;c+=1,i("rc_unique_".concat(e))}),[]),e||r}},981:(e,t,n)=>{n.d(t,{A:()=>c,o:()=>a});var r=n(6540),o=(0,n(998).A)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const c=i},8104:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(6540);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},2533:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(641),o=n(6956),i=n(981),a=n(1233);function c(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,s=n.value,u=n.onChange,f=n.postState,d=(0,a.A)((function(){return c(s)?s:c(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,r.A)(d,2),m=p[0],g=p[1],h=void 0!==s?s:m,v=f?f(h):h,y=(0,o.A)(u),b=(0,a.A)([h]),A=(0,r.A)(b,2),x=A[0],C=A[1];return(0,i.o)((function(){var e=x[0];m!==e&&y(m,e)}),[x]),(0,i.o)((function(){c(s)||g(s)}),[s]),[v,(0,o.A)((function(e,t){g(e,t),C([h],t)}))]}},1233:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(641),o=n(6540);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.A)(n,2),a=i[0],c=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||c(e)}]}},1470:(e,t,n)=>{n.d(t,{_q:()=>r.A});var r=n(6956);n(2533),n(8719),n(488),n(8210)},3210:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2284),o=n(8210);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.Ay)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&c>1)return!1;i.add(t);var s=c+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{n.d(t,{A:()=>r});const r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},9853:(e,t,n)=>{function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}n.d(t,{A:()=>r})},2065:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(9379),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function c(e,t){return 0===e.indexOf(t)}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.A)({},n);var l={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||c(n,i))||t.data&&c(n,a)||t.attr&&o.includes(n))&&(l[n]=e[n])})),l}},5371:(e,t,n)=>{n.d(t,{A:()=>s});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)c(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return c(e),o(t)};const s=l},8719:(e,t,n)=>{n.d(t,{K4:()=>l,Xf:()=>c,f3:()=>u,xK:()=>s});var r=n(2284),o=n(6540),i=n(6351),a=n(8104),c=function(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n{function r(e,t){for(var n=e,r=0;rr})},488:(e,t,n)=>{n.d(t,{A:()=>s,h:()=>d});var r=n(2284),o=n(9379),i=n(8339),a=n(7695),c=n(6300);function l(e,t,n,r){if(!t.length)return n;var c,s=(0,a.A)(t),u=s[0],f=s.slice(1);return c=e||"number"!=typeof u?Array.isArray(e)?(0,i.A)(e):(0,o.A)({},e):[],r&&void 0===n&&1===f.length?delete c[u][f[0]]:c[u]=l(c[u],f,n,r),c}function s(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,c.A)(e,t.slice(0,-1))?e:l(e,t,n,r)}function u(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function d(){for(var e=arguments.length,t=new Array(e),n=0;n{n.d(t,{$e:()=>i,Ay:()=>s});var r={},o=[];function i(e,t){}function a(e,t){}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){c(i,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=function(e,t){c(a,e,t)};const s=l},7787:(e,t)=>{var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case c:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case s:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=f,t.isFragment=function(e){return v(e)===i},t.isMemo=function(e){return v(e)===m}},6351:(e,t,n)=>{e.exports=n(7787)},3145:(e,t,n)=>{function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nr})},6369:(e,t,n)=>{function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},9417:(e,t,n)=>{function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},467:(e,t,n)=>{function r(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,l,"next",e)}function l(e){r(a,o,i,c,l,"throw",e)}c(void 0)}))}}n.d(t,{A:()=>o})},3029:(e,t,n)=>{function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},2901:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(8406);function o(e,t){for(var n=0;n{n.d(t,{A:()=>a});var r=n(3954),o=n(2176),i=n(6822);function a(e){var t=(0,o.A)();return function(){var n,o=(0,r.A)(e);if(t){var a=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},4467:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(8406);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3954:(e,t,n)=>{function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},5501:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(3662);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},2176:(e,t,n)=>{function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},3893:(e,t,n)=>{function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},6562:(e,t,n)=>{function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},9379:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(4467);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{n.d(t,{A:()=>o});var r=n(8587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o{n.d(t,{A:()=>i});var r=n(2284),o=n(9417);function i(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},675:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2284);function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),c=new j(r||[]);return a(i,"_invoke",{value:P(e,n,c)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var m="suspendedStart",g="suspendedYield",h="executing",v="completed",y={};function b(){}function A(){}function x(){}var C={};f(C,l,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(R([])));E&&E!==n&&i.call(E,l)&&(C=E);var S=x.prototype=b.prototype=Object.create(C);function k(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,a,c,l){var s=p(e[o],e,a);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==(0,r.A)(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,l)}),(function(e){n("throw",e,c,l)})):t.resolve(f).then((function(e){u.value=e,c(u)}),(function(e){return n("throw",e,c,l)}))}l(s.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function P(t,n,r){var o=m;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=M(c,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=p(t,n,r);if("normal"===s.type){if(o=r.done?v:g,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=v,r.method="throw",r.arg=s.arg)}}}function M(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function $(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach($,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),F(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;F(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}},641:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6369);var o=n(7800),i=n(6562);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},7695:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6369),o=n(3893),i=n(7800),a=n(6562);function c(e){return(0,r.A)(e)||(0,o.A)(e)||(0,i.A)(e)||(0,a.A)()}},8339:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(3145);var o=n(3893),i=n(7800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8406:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},2284:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},7800:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(3145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}}}]); \ No newline at end of file diff --git a/docs/assets/js/6744.3d145f4a.js b/docs/assets/js/6744.3d145f4a.js new file mode 100644 index 00000000000..61ceaa35778 --- /dev/null +++ b/docs/assets/js/6744.3d145f4a.js @@ -0,0 +1,2 @@ +/*! For license information please see 6744.3d145f4a.js.LICENSE.txt */ +"use strict";(self.webpackChunkrxdb=self.webpackChunkrxdb||[]).push([[6744],{2742:(e,t,n)=>{n.d(t,{z1:()=>O,cM:()=>y});var r=n(2456),o=n(6250),i=2,a=.16,c=.05,l=.05,s=.15,u=5,f=4,d=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function p(e){var t=e.r,n=e.g,o=e.b,i=(0,r.wE)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function m(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.Ob)(t,n,o,!1))}function g(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-i*t:Math.round(e.h)+i*t:n?Math.round(e.h)+i*t:Math.round(e.h)-i*t)<0?r+=360:r>=360&&(r-=360),r}function h(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-a*t:t===f?e.s+a:e.s+c*t)>1&&(r=1),n&&t===u&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function v(e,t,n){var r;return(r=n?e.v+l*t:e.v-s*t)>1&&(r=1),Number(r.toFixed(2))}function y(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.RO)(e),i=u;i>0;i-=1){var a=p(r),c=m((0,o.RO)({h:g(a,i,!0),s:h(a,i,!0),v:v(a,i,!0)}));n.push(c)}n.push(m(r));for(var l=1;l<=f;l+=1){var s=p(r),y=m((0,o.RO)({h:g(s,l),s:h(s,l),v:v(s,l)}));n.push(y)}return"dark"===t.theme?d.map((function(e){var r,i,a,c=e.index,l=e.opacity;return m((r=(0,o.RO)(t.backgroundColor||"#141414"),i=(0,o.RO)(n[c]),a=100*l/100,{r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b}))})):n}var b=["#fff1f0","#ffccc7","#ffa39e","#ff7875","#ff4d4f","#f5222d","#cf1322","#a8071a","#820014","#5c0011"];b.primary=b[5];var A=["#fff2e8","#ffd8bf","#ffbb96","#ff9c6e","#ff7a45","#fa541c","#d4380d","#ad2102","#871400","#610b00"];A.primary=A[5];var x=["#fff7e6","#ffe7ba","#ffd591","#ffc069","#ffa940","#fa8c16","#d46b08","#ad4e00","#873800","#612500"];x.primary=x[5];var C=["#fffbe6","#fff1b8","#ffe58f","#ffd666","#ffc53d","#faad14","#d48806","#ad6800","#874d00","#613400"];C.primary=C[5];var w=["#feffe6","#ffffb8","#fffb8f","#fff566","#ffec3d","#fadb14","#d4b106","#ad8b00","#876800","#614700"];w.primary=w[5];var E=["#fcffe6","#f4ffb8","#eaff8f","#d3f261","#bae637","#a0d911","#7cb305","#5b8c00","#3f6600","#254000"];E.primary=E[5];var S=["#f6ffed","#d9f7be","#b7eb8f","#95de64","#73d13d","#52c41a","#389e0d","#237804","#135200","#092b00"];S.primary=S[5];var k=["#e6fffb","#b5f5ec","#87e8de","#5cdbd3","#36cfc9","#13c2c2","#08979c","#006d75","#00474f","#002329"];k.primary=k[5];var O=["#e6f4ff","#bae0ff","#91caff","#69b1ff","#4096ff","#1677ff","#0958d9","#003eb3","#002c8c","#001d66"];O.primary=O[5];var P=["#f0f5ff","#d6e4ff","#adc6ff","#85a5ff","#597ef7","#2f54eb","#1d39c4","#10239e","#061178","#030852"];P.primary=P[5];var M=["#f9f0ff","#efdbff","#d3adf7","#b37feb","#9254de","#722ed1","#531dab","#391085","#22075e","#120338"];M.primary=M[5];var $=["#fff0f6","#ffd6e7","#ffadd2","#ff85c0","#f759ab","#eb2f96","#c41d7f","#9e1068","#780650","#520339"];$.primary=$[5];var F=["#a6a6a6","#999999","#8c8c8c","#808080","#737373","#666666","#404040","#1a1a1a","#000000","#000000"];F.primary=F[5];var j=["#2a1215","#431418","#58181c","#791a1f","#a61d24","#d32029","#e84749","#f37370","#f89f9a","#fac8c3"];j.primary=j[5];var R=["#2b1611","#441d12","#592716","#7c3118","#aa3e19","#d84a1b","#e87040","#f3956a","#f8b692","#fad4bc"];R.primary=R[5];var T=["#2b1d11","#442a11","#593815","#7c4a15","#aa6215","#d87a16","#e89a3c","#f3b765","#f8cf8d","#fae3b7"];T.primary=T[5];var N=["#2b2111","#443111","#594214","#7c5914","#aa7714","#d89614","#e8b339","#f3cc62","#f8df8b","#faedb5"];N.primary=N[5];var I=["#2b2611","#443b11","#595014","#7c6e14","#aa9514","#d8bd14","#e8d639","#f3ea62","#f8f48b","#fafab5"];I.primary=I[5];var L=["#1f2611","#2e3c10","#3e4f13","#536d13","#6f9412","#8bbb11","#a9d134","#c9e75d","#e4f88b","#f0fab5"];L.primary=L[5];var z=["#162312","#1d3712","#274916","#306317","#3c8618","#49aa19","#6abe39","#8fd460","#b2e58b","#d5f2bb"];z.primary=z[5];var H=["#112123","#113536","#144848","#146262","#138585","#13a8a8","#33bcb7","#58d1c9","#84e2d8","#b2f1e8"];H.primary=H[5];var B=["#111a2c","#112545","#15325b","#15417e","#1554ad","#1668dc","#3c89e8","#65a9f3","#8dc5f8","#b7dcfa"];B.primary=B[5];var D=["#131629","#161d40","#1c2755","#203175","#263ea0","#2b4acb","#5273e0","#7f9ef3","#a8c1f8","#d2e0fa"];D.primary=D[5];var _=["#1a1325","#24163a","#301c4d","#3e2069","#51258f","#642ab5","#854eca","#ab7ae0","#cda8f0","#ebd7fa"];_.primary=_[5];var V=["#291321","#40162f","#551c3b","#75204f","#a02669","#cb2b83","#e0529c","#f37fb7","#f8a8cc","#fad2e3"];V.primary=V[5];var W=["#151515","#1f1f1f","#2d2d2d","#393939","#494949","#5a5a5a","#6a6a6a","#7b7b7b","#888888","#969696"];W.primary=W[5]},7689:(e,t,n)=>{n.d(t,{Mo:()=>ct,an:()=>$,Ki:()=>H,zA:()=>L,RC:()=>at,hV:()=>te,IV:()=>ot});var r=n(4467),o=n(641),i=n(8339),a=n(9379);const c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};var l=n(5089),s=n(6540),u=n.t(s,2),f=(n(8104),n(3210),n(3029)),d=n(2901),p="%";function m(e){return e.join(p)}const g=function(){function e(t){(0,f.A)(this,e),(0,r.A)(this,"instanceId",void 0),(0,r.A)(this,"cache",new Map),this.instanceId=t}return(0,d.A)(e,[{key:"get",value:function(e){return this.opGet(m(e))}},{key:"opGet",value:function(e){return this.cache.get(e)||null}},{key:"update",value:function(e,t){return this.opUpdate(m(e),t)}},{key:"opUpdate",value:function(e,t){var n=t(this.cache.get(e));null===n?this.cache.delete(e):this.cache.set(e,n)}}]),e}();var h="data-token-hash",v="data-css-hash",y="__cssinjs_instance__";function b(){var e=Math.random().toString(12).slice(2);if("undefined"!=typeof document&&document.head&&document.body){var t=document.body.querySelectorAll("style[".concat(v,"]"))||[],n=document.head.firstChild;Array.from(t).forEach((function(t){t[y]=t[y]||e,t[y]===e&&document.head.insertBefore(t,n)}));var r={};Array.from(document.querySelectorAll("style[".concat(v,"]"))).forEach((function(t){var n,o=t.getAttribute(v);r[o]?t[y]===e&&(null===(n=t.parentNode)||void 0===n||n.removeChild(t)):r[o]=!0}))}return new g(e)}var A=s.createContext({hashPriority:"low",cache:b(),defaultCache:!0});const x=A;var C=n(2284),w=n(998),E="CALC_UNIT";new RegExp(E,"g");var S=function(){function e(){(0,f.A)(this,e),(0,r.A)(this,"cache",void 0),(0,r.A)(this,"keys",void 0),(0,r.A)(this,"cacheCallTimes",void 0),this.cache=new Map,this.keys=[],this.cacheCallTimes=0}return(0,d.A)(e,[{key:"size",value:function(){return this.keys.length}},{key:"internalGet",value:function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o={map:this.cache};return e.forEach((function(e){var t;o?o=null===(t=o)||void 0===t||null===(t=t.map)||void 0===t?void 0:t.get(e):o=void 0})),null!==(t=o)&&void 0!==t&&t.value&&r&&(o.value[1]=this.cacheCallTimes++),null===(n=o)||void 0===n?void 0:n.value}},{key:"get",value:function(e){var t;return null===(t=this.internalGet(e,!0))||void 0===t?void 0:t[0]}},{key:"has",value:function(e){return!!this.internalGet(e)}},{key:"set",value:function(t,n){var r=this;if(!this.has(t)){if(this.size()+1>e.MAX_CACHE_SIZE+e.MAX_CACHE_OFFSET){var i=this.keys.reduce((function(e,t){var n=(0,o.A)(e,2)[1];return r.internalGet(t)[1]0,"[Ant Design CSS-in-JS] Theme should have at least one derivative function."),O+=1}return(0,d.A)(e,[{key:"getDerivativeToken",value:function(e){return this.derivatives.reduce((function(t,n){return n(e,t)}),void 0)}}]),e}(),M=new S;function $(e){var t=Array.isArray(e)?e:[e];return M.has(t)||M.set(t,new P(t)),M.get(t)}var F=new WeakMap,j={};var R=new WeakMap;function T(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=R.get(e)||"";return n||(Object.keys(e).forEach((function(r){var o=e[r];n+=r,o instanceof P?n+=o.id:o&&"object"===(0,C.A)(o)?n+=T(o,t):n+=o})),t&&(n=c(n)),R.set(e,n)),n}function N(e,t){return c("".concat(t,"_").concat(T(e,!0)))}"random-".concat(Date.now(),"-").concat(Math.random()).replace(/\./g,"");var I=(0,w.A)();function L(e){return"number"==typeof e?"".concat(e,"px"):e}function z(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(arguments.length>4&&void 0!==arguments[4]&&arguments[4])return e;var i=(0,a.A)((0,a.A)({},o),{},(0,r.A)((0,r.A)({},h,t),v,n)),c=Object.keys(i).map((function(e){var t=i[e];return t?"".concat(e,'="').concat(t,'"'):null})).filter((function(e){return e})).join(" ");return"")}var H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"--".concat(t?"".concat(t,"-"):"").concat(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Z]+)([A-Z][a-z0-9]+)/g,"$1-$2").replace(/([a-z])([A-Z0-9])/g,"$1-$2").toLowerCase()},B=function(e,t,n){return Object.keys(e).length?".".concat(t).concat(null!=n&&n.scope?".".concat(n.scope):"","{").concat(Object.entries(e).map((function(e){var t=(0,o.A)(e,2),n=t[0],r=t[1];return"".concat(n,":").concat(r,";")})).join(""),"}"):""},D=function(e,t,n){var r={},i={};return Object.entries(e).forEach((function(e){var t,a,c=(0,o.A)(e,2),l=c[0],s=c[1];if(null!=n&&null!==(t=n.preserve)&&void 0!==t&&t[l])i[l]=s;else if(!("string"!=typeof s&&"number"!=typeof s||null!=n&&null!==(a=n.ignore)&&void 0!==a&&a[l])){var u,f=H(l,null==n?void 0:n.prefix);r[f]="number"!=typeof s||null!=n&&null!==(u=n.unitless)&&void 0!==u&&u[l]?String(s):"".concat(s,"px"),i[l]="var(".concat(f,")")}})),[i,B(r,t,{scope:null==n?void 0:n.scope})]},_=n(981),V=(0,a.A)({},u).useInsertionEffect;const W=V?function(e,t,n){return V((function(){return e(),t()}),n)}:function(e,t,n){s.useMemo(e,n),(0,_.A)((function(){return t(!0)}),n)};const q=void 0!==(0,a.A)({},u).useInsertionEffect?function(e){var t=[],n=!1;return s.useEffect((function(){return n=!1,function(){n=!0,t.length&&t.forEach((function(e){return e()}))}}),e),function(e){n||t.push(e)}}:function(){return function(e){e()}};const U=function(){return!1};function X(e,t,n,r,a){var c=s.useContext(x).cache,l=m([e].concat((0,i.A)(t))),u=q([l]),f=(U(),function(e){c.opUpdate(l,(function(t){var r=t||[void 0,void 0],i=(0,o.A)(r,2),a=i[0];var c=[void 0===a?0:a,i[1]||n()];return e?e(c):c}))});s.useMemo((function(){f()}),[l]);var d=c.opGet(l)[1];return W((function(){null==a||a(d)}),(function(e){return f((function(t){var n=(0,o.A)(t,2),r=n[0],i=n[1];return e&&0===r&&(null==a||a(d)),[r+1,i]})),function(){c.opUpdate(l,(function(t){var n=t||[],i=(0,o.A)(n,2),a=i[0],s=void 0===a?0:a,f=i[1];return 0===s-1?(u((function(){!e&&c.opGet(l)||null==r||r(f,!1)})),null):[s-1,f]}))}}),[l]),d}var G={},K="css",Y=new Map;var Q=0;function Z(e,t){Y.set(e,(Y.get(e)||0)-1);var n=Array.from(Y.keys()),r=n.filter((function(e){return(Y.get(e)||0)<=0}));n.length-r.length>Q&&r.forEach((function(e){!function(e,t){"undefined"!=typeof document&&document.querySelectorAll("style[".concat(h,'="').concat(e,'"]')).forEach((function(e){var n;e[y]===t&&(null===(n=e.parentNode)||void 0===n||n.removeChild(e))}))}(e,t),Y.delete(e)}))}var J=function(e,t,n,r){var o=n.getDerivativeToken(e),i=(0,a.A)((0,a.A)({},o),t);return r&&(i=r(i)),i},ee="token";function te(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=(0,s.useContext)(x),u=r.cache.instanceId,f=r.container,d=n.salt,p=void 0===d?"":d,m=n.override,g=void 0===m?G:m,b=n.formatToken,A=n.getComputedToken,C=n.cssVar,w=function(e,t){for(var n=F,r=0;r0?ge(ke,--Ee):0,Ce--,10===Se&&(Ce=1,xe--),Se}function Me(){return Se=Ee2||Re(Se)>3?"":" "}function ze(e,t){for(;--t&&Me()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return je(e,Fe()+(t<6&&32==$e()&&32==Me()))}function He(e){for(;Me();)switch(Se){case e:return Ee;case 34:case 39:34!==e&&39!==e&&He(Se);break;case 40:41===e&&He(e);break;case 92:Me()}return Ee}function Be(e,t){for(;Me()&&e+Se!==57&&(e+Se!==84||47!==$e()););return"/*"+je(t,Ee-1)+"*"+fe(47===e?e:Me())}function De(e){for(;!Re($e());)Me();return je(e,Ee)}function _e(e){return Ne(Ve("",null,null,null,[""],e=Te(e),0,[0],e))}function Ve(e,t,n,r,o,i,a,c,l){for(var s=0,u=0,f=a,d=0,p=0,m=0,g=1,h=1,v=1,y=0,b="",A=o,x=i,C=r,w=b;h;)switch(m=y,y=Me()){case 40:if(108!=m&&58==ge(w,f-1)){-1!=me(w+=pe(Ie(y),"&","&\f"),"&\f",ue(s?c[s-1]:0))&&(v=-1);break}case 34:case 39:case 91:w+=Ie(y);break;case 9:case 10:case 13:case 32:w+=Le(m);break;case 92:w+=ze(Fe()-1,7);continue;case 47:switch($e()){case 42:case 47:ye(qe(Be(Me(),Fe()),t,n,l),l);break;default:w+="/"}break;case 123*g:c[s++]=ve(w)*v;case 125*g:case 59:case 0:switch(y){case 0:case 125:h=0;case 59+u:-1==v&&(w=pe(w,/\f/g,"")),p>0&&(ve(w)-f||0==g&&47==m)&&ye(p>32?Ue(w+";",r,n,f-1,l):Ue(pe(w," ","")+";",r,n,f-2,l),l);break;case 59:w+=";";default:if(ye(C=We(w,t,n,s,u,o,c,b,A=[],x=[],f,i),i),123===y)if(0===u)Ve(w,t,C,C,A,i,f,c,x);else switch(99===d&&110===ge(w,3)?100:d){case 100:case 108:case 109:case 115:Ve(e,C,C,r&&ye(We(e,C,C,0,0,o,c,b,o,A=[],f,x),x),o,x,f,c,r?A:x);break;default:Ve(w,C,C,C,[""],x,0,c,x)}}s=u=p=0,g=v=1,b=w="",f=a;break;case 58:f=1+ve(w),p=m;default:if(g<1)if(123==y)--g;else if(125==y&&0==g++&&125==Pe())continue;switch(w+=fe(y),y*g){case 38:v=u>0?1:(w+="\f",-1);break;case 44:c[s++]=(ve(w)-1)*v,v=1;break;case 64:45===$e()&&(w+=Ie(Me())),d=$e(),u=f=ve(b=w+=De(Fe())),y++;break;case 45:45===m&&2==ve(w)&&(g=0)}}return i}function We(e,t,n,r,o,i,a,c,l,s,u,f){for(var d=o-1,p=0===o?i:[""],m=function(e){return e.length}(p),g=0,h=0,v=0;g0?p[y]+" "+b:pe(b,n?/&\f/g:/\f/g,p[y])))&&(l[v++]=A);return Oe(e,t,n,0===o?ie:c,l,s,u,f)}function qe(e,t,n,r){return Oe(e,t,n,oe,fe(Se),he(e,2,-2),0,r)}function Ue(e,t,n,r,o){return Oe(e,t,n,ae,he(e,0,r),he(e,r+1,-1),r,o)}var Xe,Ge="data-ant-cssinjs-cache-path",Ke="_FILE_STYLE__";var Ye=!0;function Qe(e){return function(){if(!Xe&&(Xe={},(0,w.A)())){var e=document.createElement("div");e.className=Ge,e.style.position="fixed",e.style.visibility="hidden",e.style.top="-9999px",document.body.appendChild(e);var t=getComputedStyle(e).content||"";(t=t.replace(/^"/,"").replace(/"$/,"")).split(";").forEach((function(e){var t=e.split(":"),n=(0,o.A)(t,2),r=n[0],i=n[1];Xe[r]=i}));var n,r=document.querySelector("style[".concat(Ge,"]"));r&&(Ye=!1,null===(n=r.parentNode)||void 0===n||n.removeChild(r)),document.body.removeChild(e)}}(),!!Xe[e]}var Ze="_multi_value_";function Je(e){return be(_e(e),Ae).replace(/\{%%%\:[^;];}/g,";")}var et=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{root:!0,parentSelectors:[]},c=r.root,l=r.injectHash,s=r.parentSelectors,u=n.hashId,f=n.layer,d=(n.path,n.hashPriority),p=n.transformers,m=void 0===p?[]:p,g=(n.linters,""),h={};function v(t){var r=t.getName(u);if(!h[r]){var i=e(t.style,n,{root:!1,parentSelectors:s}),a=(0,o.A)(i,1)[0];h[r]="@keyframes ".concat(t.getName(u)).concat(a)}}var y=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.forEach((function(t){Array.isArray(t)?e(t,n):t&&n.push(t)})),n}(Array.isArray(t)?t:[t]);return y.forEach((function(t){var r="string"!=typeof t||c?t:{};if("string"==typeof r)g+="".concat(r,"\n");else if(r._keyframe)v(r);else{var f=m.reduce((function(e,t){var n;return(null==t||null===(n=t.visit)||void 0===n?void 0:n.call(t,e))||e}),r);Object.keys(f).forEach((function(t){var r=f[t];if("object"!==(0,C.A)(r)||!r||"animationName"===t&&r._keyframe||function(e){return"object"===(0,C.A)(e)&&e&&("_skip_check_"in e||Ze in e)}(r)){var p;function k(e,t){var n=e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())})),r=t;re[e]||"number"!=typeof r||0===r||(r="".concat(r,"px")),"animationName"===e&&null!=t&&t._keyframe&&(v(t),r=t.getName(u)),g+="".concat(n,":").concat(r,";")}var m=null!==(p=null==r?void 0:r.value)&&void 0!==p?p:r;"object"===(0,C.A)(r)&&null!=r&&r[Ze]&&Array.isArray(m)?m.forEach((function(e){k(t,e)})):k(t,m)}else{var y=!1,b=t.trim(),A=!1;(c||l)&&u?b.startsWith("@")?y=!0:b=function(e,t,n){if(!t)return e;var r=".".concat(t),o="low"===n?":where(".concat(r,")"):r;return e.split(",").map((function(e){var t,n=e.trim().split(/\s+/),r=n[0]||"",a=(null===(t=r.match(/^\w+/))||void 0===t?void 0:t[0])||"";return[r="".concat(a).concat(o).concat(r.slice(a.length))].concat((0,i.A)(n.slice(1))).join(" ")})).join(",")}(t,u,d):!c||u||"&"!==b&&""!==b||(b="",A=!0);var x=e(r,n,{root:A,injectHash:y,parentSelectors:[].concat((0,i.A)(s),[b])}),w=(0,o.A)(x,2),E=w[0],S=w[1];h=(0,a.A)((0,a.A)({},h),S),g+="".concat(b).concat(E)}}))}})),c?f&&(g="@layer ".concat(f.name," {").concat(g,"}"),f.dependencies&&(h["@layer ".concat(f.name)]=f.dependencies.map((function(e){return"@layer ".concat(e,", ").concat(f.name,";")})).join("\n"))):g="{".concat(g,"}"),[g,h]};function tt(e,t){return c("".concat(e.join("%")).concat(t))}function nt(){return null}var rt="style";function ot(e,t){var n=e.token,c=e.path,u=e.hashId,f=e.layer,d=e.nonce,p=e.clientOnly,m=e.order,g=void 0===m?0:m,b=s.useContext(x),A=b.autoClear,C=(b.mock,b.defaultCache),E=b.hashPriority,S=b.container,k=b.ssrInline,O=b.transformers,P=b.linters,M=b.cache,$=b.layer,F=n._tokenKey,j=[F];$&&j.push("layer"),j.push.apply(j,(0,i.A)(c));var R=I;var T=X(rt,j,(function(){var e=j.join("|");if(Qe(e)){var n=function(e){var t=Xe[e],n=null;if(t&&(0,w.A)())if(Ye)n=Ke;else{var r=document.querySelector("style[".concat(v,'="').concat(Xe[e],'"]'));r?n=r.innerHTML:delete Xe[e]}return[n,t]}(e),r=(0,o.A)(n,2),i=r[0],a=r[1];if(i)return[i,F,a,{},p,g]}var l=t(),s=et(l,{hashId:u,hashPriority:E,layer:$?f:void 0,path:c.join("-"),transformers:O,linters:P}),d=(0,o.A)(s,2),m=d[0],h=d[1],y=Je(m),b=tt(j,y);return[y,F,b,h,p,g]}),(function(e,t){var n=(0,o.A)(e,3)[2];(t||A)&&I&&(0,l.m6)(n,{mark:v})}),(function(e){var t=(0,o.A)(e,4),n=t[0],r=(t[1],t[2]),i=t[3];if(R&&n!==Ke){var c={mark:v,prepend:!$&&"queue",attachTo:S,priority:g},s="function"==typeof d?d():d;s&&(c.csp={nonce:s});var u=[],f=[];Object.keys(i).forEach((function(e){e.startsWith("@layer")?u.push(e):f.push(e)})),u.forEach((function(e){(0,l.BD)(Je(i[e]),"_layer-".concat(e),(0,a.A)((0,a.A)({},c),{},{prepend:!0}))}));var p=(0,l.BD)(n,r,c);p[y]=M.instanceId,p.setAttribute(h,F),f.forEach((function(e){(0,l.BD)(Je(i[e]),"_effect-".concat(e),c)}))}})),N=(0,o.A)(T,3),L=N[0],z=N[1],H=N[2];return function(e){var t;return t=k&&!R&&C?s.createElement("style",(0,ne.A)({},(0,r.A)((0,r.A)({},h,z),v,H),{dangerouslySetInnerHTML:{__html:L}})):s.createElement(nt,null),s.createElement(s.Fragment,null,t,e)}}var it="cssVar";const at=function(e,t){var n=e.key,r=e.prefix,a=e.unitless,c=e.ignore,u=e.token,f=e.scope,d=void 0===f?"":f,p=(0,s.useContext)(x),m=p.cache.instanceId,g=p.container,b=u._tokenKey,A=[].concat((0,i.A)(e.path),[n,d,b]);return X(it,A,(function(){var e=t(),i=D(e,n,{prefix:r,unitless:a,ignore:c,scope:d}),l=(0,o.A)(i,2),s=l[0],u=l[1];return[s,u,tt(A,u),n]}),(function(e){var t=(0,o.A)(e,3)[2];I&&(0,l.m6)(t,{mark:v})}),(function(e){var t=(0,o.A)(e,3),r=t[1],i=t[2];if(r){var a=(0,l.BD)(r,i,{mark:v,prepend:"queue",attachTo:g,priority:-999});a[y]=m,a.setAttribute(h,n)}}))};(0,r.A)((0,r.A)((0,r.A)({},rt,(function(e,t,n){var r=(0,o.A)(e,6),i=r[0],a=r[1],c=r[2],l=r[3],s=r[4],u=r[5],f=(n||{}).plain;if(s)return null;var d=i,p={"data-rc-order":"prependQueue","data-rc-priority":"".concat(u)};return d=z(i,a,c,p,f),l&&Object.keys(l).forEach((function(e){if(!t[e]){t[e]=!0;var n=z(Je(l[e]),a,"_effect-".concat(e),p,f);e.startsWith("@layer")?d=n+d:d+=n}})),[u,c,d]})),ee,(function(e,t,n){var r=(0,o.A)(e,5),i=r[2],a=r[3],c=r[4],l=(n||{}).plain;if(!a)return null;var s=i._tokenKey;return[-999,s,z(a,c,s,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]})),it,(function(e,t,n){var r=(0,o.A)(e,4),i=r[1],a=r[2],c=r[3],l=(n||{}).plain;if(!i)return null;return[-999,a,z(i,c,a,{"data-rc-order":"prependQueue","data-rc-priority":"".concat(-999)},l)]}));const ct=function(){function e(t,n){(0,f.A)(this,e),(0,r.A)(this,"name",void 0),(0,r.A)(this,"style",void 0),(0,r.A)(this,"_keyframe",!0),this.name=t,this.style=n}return(0,d.A)(e,[{key:"getName",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e?"".concat(e,"-").concat(this.name):this.name}}]),e}();function lt(e){return e.notSplit=!0,e}lt(["borderTop","borderBottom"]),lt(["borderTop"]),lt(["borderBottom"]),lt(["borderLeft","borderRight"]),lt(["borderLeft"]),lt(["borderRight"])},6653:(e,t,n)=>{n.d(t,{A:()=>M});var r=n(8168),o=n(641),i=n(4467),a=n(45),c=n(6540),l=n(6942),s=n.n(l),u=n(2742),f=n(1053),d=n(9379),p=n(2284),m=n(5089),g=n(2633),h=n(8210);function v(e){return"object"===(0,p.A)(e)&&"string"==typeof e.name&&"string"==typeof e.theme&&("object"===(0,p.A)(e.icon)||"function"==typeof e.icon)}function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r,o=e[n];if("class"===n)t.className=o,delete t.class;else delete t[n],t[(r=n,r.replace(/-(.)/g,(function(e,t){return t.toUpperCase()})))]=o;return t}),{})}function b(e,t,n){return n?c.createElement(e.tag,(0,d.A)((0,d.A)({key:t},y(e.attrs)),n),(e.children||[]).map((function(n,r){return b(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,d.A)({key:t},y(e.attrs)),(e.children||[]).map((function(n,r){return b(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function A(e){return(0,u.cM)(e)[0]}function x(e){return e?Array.isArray(e)?e:[e]:[]}var C=["icon","className","onClick","style","primaryColor","secondaryColor"],w={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var E=function(e){var t,n,r,o,i,l,s,u=e.icon,p=e.className,y=e.onClick,x=e.style,E=e.primaryColor,S=e.secondaryColor,k=(0,a.A)(e,C),O=c.useRef(),P=w;if(E&&(P={primaryColor:E,secondaryColor:S||A(E)}),t=O,n=(0,c.useContext)(f.A),r=n.csp,o=n.prefixCls,i="\n.anticon {\n display: inline-flex;\n align-items: center;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",o&&(i=i.replace(/anticon/g,o)),(0,c.useEffect)((function(){var e=t.current,n=(0,g.j)(e);(0,m.BD)(i,"@ant-design-icons",{prepend:!0,csp:r,attachTo:n})}),[]),l=v(u),s="icon should be icon definiton, but got ".concat(u),(0,h.Ay)(l,"[@ant-design/icons] ".concat(s)),!v(u))return null;var M=u;return M&&"function"==typeof M.icon&&(M=(0,d.A)((0,d.A)({},M),{},{icon:M.icon(P.primaryColor,P.secondaryColor)})),b(M.icon,"svg-".concat(M.name),(0,d.A)((0,d.A)({className:p,onClick:y,style:x,"data-icon":M.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},k),{},{ref:O}))};E.displayName="IconReact",E.getTwoToneColors=function(){return(0,d.A)({},w)},E.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;w.primaryColor=t,w.secondaryColor=n||A(t),w.calculated=!!n};const S=E;function k(e){var t=x(e),n=(0,o.A)(t,2),r=n[0],i=n[1];return S.setTwoToneColors({primaryColor:r,secondaryColor:i})}var O=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];k(u.z1.primary);var P=c.forwardRef((function(e,t){var n=e.className,l=e.icon,u=e.spin,d=e.rotate,p=e.tabIndex,m=e.onClick,g=e.twoToneColor,h=(0,a.A)(e,O),v=c.useContext(f.A),y=v.prefixCls,b=void 0===y?"anticon":y,A=v.rootClassName,C=s()(A,b,(0,i.A)((0,i.A)({},"".concat(b,"-").concat(l.name),!!l.name),"".concat(b,"-spin"),!!u||"loading"===l.name),n),w=p;void 0===w&&m&&(w=-1);var E=d?{msTransform:"rotate(".concat(d,"deg)"),transform:"rotate(".concat(d,"deg)")}:void 0,k=x(g),P=(0,o.A)(k,2),M=P[0],$=P[1];return c.createElement("span",(0,r.A)({role:"img","aria-label":l.name},h,{ref:t,tabIndex:w,onClick:m,className:C}),c.createElement(S,{icon:l,primaryColor:M,secondaryColor:$,style:E}))}));P.displayName="AntdIcon",P.getTwoToneColor=function(){var e=S.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},P.setTwoToneColor=k;const M=P},1053:(e,t,n)=>{n.d(t,{A:()=>r});const r=(0,n(6540).createContext)({})},4754:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z"}}]},name:"close-circle",theme:"filled"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},6467:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},209:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(8168),o=n(6540);const i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};var a=n(6653),c=function(e,t){return o.createElement(a.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=o.forwardRef(c)},2456:(e,t,n)=>{n.d(t,{H:()=>f,K6:()=>i,Me:()=>s,Ob:()=>u,YL:()=>c,_:()=>o,g8:()=>m,n6:()=>p,oS:()=>g,wE:()=>l});var r=n(9244);function o(e,t,n){return{r:255*(0,r.Cg)(e,255),g:255*(0,r.Cg)(t,255),b:255*(0,r.Cg)(n,255)}}function i(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,l=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=l>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.Cg)(e,360),t=(0,r.Cg)(t,100),n=(0,r.Cg)(n,100),0===t)i=n,c=n,o=n;else{var l=n<.5?n*(1+t):n+t-n*t,s=2*n-l;o=a(s,l,e+1/3),i=a(s,l,e),c=a(s,l,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function l(e,t,n){e=(0,r.Cg)(e,255),t=(0,r.Cg)(t,255),n=(0,r.Cg)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,l=o-i,s=0===o?0:l/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/l+(t>16,g:(65280&e)>>8,b:255&e}}},2434:(e,t,n)=>{n.d(t,{D:()=>r});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},6250:(e,t,n)=>{n.d(t,{RO:()=>a});var r=n(2456),o=n(2434),i=n(9244);function a(e){var t={r:0,g:0,b:0},n=1,a=null,c=null,l=null,s=!1,d=!1;return"string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return!1;var t=!1;if(o.D[e])e=o.D[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=u.rgb.exec(e);if(n)return{r:n[1],g:n[2],b:n[3]};if(n=u.rgba.exec(e),n)return{r:n[1],g:n[2],b:n[3],a:n[4]};if(n=u.hsl.exec(e),n)return{h:n[1],s:n[2],l:n[3]};if(n=u.hsla.exec(e),n)return{h:n[1],s:n[2],l:n[3],a:n[4]};if(n=u.hsv.exec(e),n)return{h:n[1],s:n[2],v:n[3]};if(n=u.hsva.exec(e),n)return{h:n[1],s:n[2],v:n[3],a:n[4]};if(n=u.hex8.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),a:(0,r.n6)(n[4]),format:t?"name":"hex8"};if(n=u.hex6.exec(e),n)return{r:(0,r.g8)(n[1]),g:(0,r.g8)(n[2]),b:(0,r.g8)(n[3]),format:t?"name":"hex"};if(n=u.hex4.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),a:(0,r.n6)(n[4]+n[4]),format:t?"name":"hex8"};if(n=u.hex3.exec(e),n)return{r:(0,r.g8)(n[1]+n[1]),g:(0,r.g8)(n[2]+n[2]),b:(0,r.g8)(n[3]+n[3]),format:t?"name":"hex"};return!1}(e)),"object"==typeof e&&(f(e.r)&&f(e.g)&&f(e.b)?(t=(0,r._)(e.r,e.g,e.b),s=!0,d="%"===String(e.r).substr(-1)?"prgb":"rgb"):f(e.h)&&f(e.s)&&f(e.v)?(a=(0,i.Px)(e.s),c=(0,i.Px)(e.v),t=(0,r.Me)(e.h,a,c),s=!0,d="hsv"):f(e.h)&&f(e.s)&&f(e.l)&&(a=(0,i.Px)(e.s),l=(0,i.Px)(e.l),t=(0,r.YL)(e.h,a,l),s=!0,d="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.TV)(n),{ok:s,format:e.format||d,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),l="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),u={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+l),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+l),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+l),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){return Boolean(u.CSS_UNIT.exec(String(e)))}},4978:(e,t,n)=>{n.d(t,{q:()=>c});var r=n(2456),o=n(2434),i=n(6250),a=n(9244),c=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=(0,r.oS)(t)),this.originalInput=t;var a=(0,i.RO)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.TV)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=(0,r.wE)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.wE)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.K6)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.K6)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.Ob)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.H)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.Cg)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.Cg)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.Ob)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.D);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.J$)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.J$)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a{function r(e,t){(function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function o(e){return Math.min(1,Math.max(0,e))}function i(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{Cg:()=>r,J$:()=>o,Px:()=>a,TV:()=>i,wl:()=>c})},3089:(e,t,n)=>{n.d(t,{A:()=>b});var r=n(641),o=n(6540),i=n(961),a=n(998),c=(n(8210),n(8719));const l=o.createContext(null);var s=n(8339),u=n(981),f=[];var d=n(5089);function p(e){var t="rc-scrollbar-measure-".concat(Math.random().toString(36).substring(7)),n=document.createElement("div");n.id=t;var r,o,i=n.style;if(i.position="absolute",i.left="0",i.top="0",i.width="100px",i.height="100px",i.overflow="scroll",e){var a=getComputedStyle(e);i.scrollbarColor=a.scrollbarColor,i.scrollbarWidth=a.scrollbarWidth;var c=getComputedStyle(e,"::-webkit-scrollbar"),l=parseInt(c.width,10),s=parseInt(c.height,10);try{var u=l?"width: ".concat(c.width,";"):"",f=s?"height: ".concat(c.height,";"):"";(0,d.BD)("\n#".concat(t,"::-webkit-scrollbar {\n").concat(u,"\n").concat(f,"\n}"),t)}catch(g){console.error(g),r=l,o=s}}document.body.appendChild(n);var p=e&&r&&!isNaN(r)?r:n.offsetWidth-n.clientWidth,m=e&&o&&!isNaN(o)?o:n.offsetHeight-n.clientHeight;return document.body.removeChild(n),(0,d.m6)(t),{width:p,height:m}}var m="rc-util-locker-".concat(Date.now()),g=0;function h(e){var t=!!e,n=o.useState((function(){return g+=1,"".concat(m,"_").concat(g)})),i=(0,r.A)(n,1)[0];(0,u.A)((function(){if(t){var e=(r=document.body,"undefined"!=typeof document&&r&&r instanceof Element?p(r):{width:0,height:0}).width,n=document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth;(0,d.BD)("\nhtml body {\n overflow-y: hidden;\n ".concat(n?"width: calc(100% - ".concat(e,"px);"):"","\n}"),i)}else(0,d.m6)(i);var r;return function(){(0,d.m6)(i)}}),[t,i])}var v=!1;var y=function(e){return!1!==e&&((0,a.A)()&&e?"string"==typeof e?document.querySelector(e):"function"==typeof e?e():e:null)};const b=o.forwardRef((function(e,t){var n=e.open,d=e.autoLock,p=e.getContainer,m=(e.debug,e.autoDestroy),g=void 0===m||m,b=e.children,A=o.useState(n),x=(0,r.A)(A,2),C=x[0],w=x[1],E=C||n;o.useEffect((function(){(g||n)&&w(n)}),[n,g]);var S=o.useState((function(){return y(p)})),k=(0,r.A)(S,2),O=k[0],P=k[1];o.useEffect((function(){var e=y(p);P(null!=e?e:null)}));var M=function(e){var t=o.useState((function(){return(0,a.A)()?document.createElement("div"):null})),n=(0,r.A)(t,1)[0],i=o.useRef(!1),c=o.useContext(l),d=o.useState(f),p=(0,r.A)(d,2),m=p[0],g=p[1],h=c||(i.current?void 0:function(e){g((function(t){return[e].concat((0,s.A)(t))}))});function v(){n.parentElement||document.body.appendChild(n),i.current=!0}function y(){var e;null===(e=n.parentElement)||void 0===e||e.removeChild(n),i.current=!1}return(0,u.A)((function(){return e?c?c(v):v():y(),y}),[e]),(0,u.A)((function(){m.length&&(m.forEach((function(e){return e()})),g(f))}),[m]),[n,h]}(E&&!O),$=(0,r.A)(M,2),F=$[0],j=$[1],R=null!=O?O:F;h(d&&n&&(0,a.A)()&&(R===F||R===document.body));var T=null;b&&(0,c.f3)(b)&&t&&(T=b.ref);var N=(0,c.xK)(T,t);if(!E||!(0,a.A)()||void 0===O)return null;var I,L=!1===R||("boolean"==typeof I&&(v=I),v),z=b;return t&&(z=o.cloneElement(b,{ref:N})),o.createElement(l.Provider,{value:j},L?z:(0,i.createPortal)(z,R))}))},5830:(e,t,n)=>{n.d(t,{A:()=>_});var r=n(9379),o=n(641),i=n(45),a=n(3089),c=n(6942),l=n.n(c),s=n(5470),u=n(6112),f=n(2633),d=n(6956),p=n(6855),m=n(981),g=n(8430),h=n(6540),v=n(8168),y=n(8612),b=n(8719);function A(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,c=i.content,s=o.x,u=void 0===s?0:s,f=o.y,d=void 0===f?0:f,p=h.useRef();if(!n||!n.points)return null;var m={position:"absolute"};if(!1!==n.autoArrow){var g=n.points[0],v=n.points[1],y=g[0],b=g[1],A=v[0],x=v[1];y!==A&&["t","b"].includes(y)?"t"===y?m.top=0:m.bottom=0:m.top=d,b!==x&&["l","r"].includes(b)?"l"===b?m.left=0:m.right=0:m.left=u}return h.createElement("div",{ref:p,className:l()("".concat(t,"-arrow"),a),style:m},c)}function x(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?h.createElement(y.Ay,(0,v.A)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),(function(e){var n=e.className;return h.createElement("div",{style:{zIndex:r},className:l()("".concat(t,"-mask"),n)})})):null}const C=h.memo((function(e){return e.children}),(function(e,t){return t.cache}));const w=h.forwardRef((function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,c=e.style,u=e.target,f=e.onVisibleChanged,d=e.open,p=e.keepDom,g=e.fresh,w=e.onClick,E=e.mask,S=e.arrow,k=e.arrowPos,O=e.align,P=e.motion,M=e.maskMotion,$=e.forceRender,F=e.getPopupContainer,j=e.autoDestroy,R=e.portal,T=e.zIndex,N=e.onMouseEnter,I=e.onMouseLeave,L=e.onPointerEnter,z=e.ready,H=e.offsetX,B=e.offsetY,D=e.offsetR,_=e.offsetB,V=e.onAlign,W=e.onPrepare,q=e.stretch,U=e.targetWidth,X=e.targetHeight,G="function"==typeof n?n():n,K=d||p,Y=(null==F?void 0:F.length)>0,Q=h.useState(!F||!Y),Z=(0,o.A)(Q,2),J=Z[0],ee=Z[1];if((0,m.A)((function(){!J&&Y&&u&&ee(!0)}),[J,Y,u]),!J)return null;var te="auto",ne={left:"-1000vw",top:"-1000vh",right:te,bottom:te};if(z||!d){var re,oe=O.points,ie=O.dynamicInset||(null===(re=O._experimental)||void 0===re?void 0:re.dynamicInset),ae=ie&&"r"===oe[0][1],ce=ie&&"b"===oe[0][0];ae?(ne.right=D,ne.left=te):(ne.left=H,ne.right=te),ce?(ne.bottom=_,ne.top=te):(ne.top=B,ne.bottom=te)}var le={};return q&&(q.includes("height")&&X?le.height=X:q.includes("minHeight")&&X&&(le.minHeight=X),q.includes("width")&&U?le.width=U:q.includes("minWidth")&&U&&(le.minWidth=U)),d||(le.pointerEvents="none"),h.createElement(R,{open:$||K,getContainer:F&&function(){return F(u)},autoDestroy:j},h.createElement(x,{prefixCls:a,open:d,zIndex:T,mask:E,motion:M}),h.createElement(s.A,{onResize:V,disabled:!d},(function(e){return h.createElement(y.Ay,(0,v.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:$,leavedClassName:"".concat(a,"-hidden")},P,{onAppearPrepare:W,onEnterPrepare:W,visible:d,onVisibleChanged:function(e){var t;null==P||null===(t=P.onVisibleChanged)||void 0===t||t.call(P,e),f(e)}}),(function(n,o){var s=n.className,u=n.style,f=l()(a,s,i);return h.createElement("div",{ref:(0,b.K4)(e,t,o),className:f,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat(k.x||0,"px"),"--arrow-y":"".concat(k.y||0,"px")},ne),le),u),{},{boxSizing:"border-box",zIndex:T},c),onMouseEnter:N,onMouseLeave:I,onPointerEnter:L,onClick:w},S&&h.createElement(A,{prefixCls:a,arrow:S,arrowPos:k,align:O}),h.createElement(C,{cache:!d&&!g},G))}))})))}));const E=h.forwardRef((function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,b.f3)(n),i=h.useCallback((function(e){(0,b.Xf)(t,r?r(e):e)}),[r]),a=(0,b.xK)(i,n.ref);return o?h.cloneElement(n,{ref:a}):n}));const S=h.createContext(null);function k(e){return e?Array.isArray(e)?e:[e]:[]}var O=n(2467);function P(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(arguments.length>2?arguments[2]:void 0)?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}function M(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function $(e){return e.ownerDocument.defaultView}function F(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=$(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some((function(e){return r.includes(e)}))&&t.push(n),n=n.parentElement}return t}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function R(e){return j(parseFloat(e),0)}function T(e,t){var n=(0,r.A)({},e);return(t||[]).forEach((function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=$(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,c=t.borderLeftWidth,l=t.borderRightWidth,s=e.getBoundingClientRect(),u=e.offsetHeight,f=e.clientHeight,d=e.offsetWidth,p=e.clientWidth,m=R(i),g=R(a),h=R(c),v=R(l),y=j(Math.round(s.width/d*1e3)/1e3),b=j(Math.round(s.height/u*1e3)/1e3),A=(d-p-h-v)*y,x=(u-f-m-g)*b,C=m*b,w=g*b,E=h*y,S=v*y,k=0,O=0;if("clip"===r){var P=R(o);k=P*y,O=P*b}var M=s.x+E-k,F=s.y+C-O,T=M+s.width+2*k-E-S-A,N=F+s.height+2*O-C-w-x;n.left=Math.max(n.left,M),n.top=Math.max(n.top,F),n.right=Math.min(n.right,T),n.bottom=Math.min(n.bottom,N)}})),n}function N(e){var t="".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),n=t.match(/^(.*)\%$/);return n?e*(parseFloat(n[1])/100):parseFloat(t)}function I(e,t){var n=t||[],r=(0,o.A)(n,2),i=r[0],a=r[1];return[N(e.width,i),N(e.height,a)]}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function z(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function H(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map((function(e,r){return r===t?n[e]||"c":e})).join("")}var B=n(8339);n(8210);var D=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];const _=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return h.forwardRef((function(t,n){var a=t.prefixCls,c=void 0===a?"rc-trigger-popup":a,v=t.children,y=t.action,b=void 0===y?"hover":y,A=t.showAction,x=t.hideAction,C=t.popupVisible,R=t.defaultPopupVisible,N=t.onPopupVisibleChange,_=t.afterPopupVisibleChange,V=t.mouseEnterDelay,W=t.mouseLeaveDelay,q=void 0===W?.1:W,U=t.focusDelay,X=t.blurDelay,G=t.mask,K=t.maskClosable,Y=void 0===K||K,Q=t.getPopupContainer,Z=t.forceRender,J=t.autoDestroy,ee=t.destroyPopupOnHide,te=t.popup,ne=t.popupClassName,re=t.popupStyle,oe=t.popupPlacement,ie=t.builtinPlacements,ae=void 0===ie?{}:ie,ce=t.popupAlign,le=t.zIndex,se=t.stretch,ue=t.getPopupClassNameFromAlign,fe=t.fresh,de=t.alignPoint,pe=t.onPopupClick,me=t.onPopupAlign,ge=t.arrow,he=t.popupMotion,ve=t.maskMotion,ye=t.popupTransitionName,be=t.popupAnimation,Ae=t.maskTransitionName,xe=t.maskAnimation,Ce=t.className,we=t.getTriggerDOMNode,Ee=(0,i.A)(t,D),Se=J||ee||!1,ke=h.useState(!1),Oe=(0,o.A)(ke,2),Pe=Oe[0],Me=Oe[1];(0,m.A)((function(){Me((0,g.A)())}),[]);var $e=h.useRef({}),Fe=h.useContext(S),je=h.useMemo((function(){return{registerSubPopup:function(e,t){$e.current[e]=t,null==Fe||Fe.registerSubPopup(e,t)}}}),[Fe]),Re=(0,p.A)(),Te=h.useState(null),Ne=(0,o.A)(Te,2),Ie=Ne[0],Le=Ne[1],ze=h.useRef(null),He=(0,d.A)((function(e){ze.current=e,(0,u.fk)(e)&&Ie!==e&&Le(e),null==Fe||Fe.registerSubPopup(Re,e)})),Be=h.useState(null),De=(0,o.A)(Be,2),_e=De[0],Ve=De[1],We=h.useRef(null),qe=(0,d.A)((function(e){(0,u.fk)(e)&&_e!==e&&(Ve(e),We.current=e)})),Ue=h.Children.only(v),Xe=(null==Ue?void 0:Ue.props)||{},Ge={},Ke=(0,d.A)((function(e){var t,n,r=_e;return(null==r?void 0:r.contains(e))||(null===(t=(0,f.j)(r))||void 0===t?void 0:t.host)===e||e===r||(null==Ie?void 0:Ie.contains(e))||(null===(n=(0,f.j)(Ie))||void 0===n?void 0:n.host)===e||e===Ie||Object.values($e.current).some((function(t){return(null==t?void 0:t.contains(e))||e===t}))})),Ye=M(c,he,be,ye),Qe=M(c,ve,xe,Ae),Ze=h.useState(R||!1),Je=(0,o.A)(Ze,2),et=Je[0],tt=Je[1],nt=null!=C?C:et,rt=(0,d.A)((function(e){void 0===C&&tt(e)}));(0,m.A)((function(){tt(C||!1)}),[C]);var ot=h.useRef(nt);ot.current=nt;var it=h.useRef([]);it.current=[];var at=(0,d.A)((function(e){var t;rt(e),(null!==(t=it.current[it.current.length-1])&&void 0!==t?t:nt)!==e&&(it.current.push(e),null==N||N(e))})),ct=h.useRef(),lt=function(){clearTimeout(ct.current)},st=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;lt(),0===t?at(e):ct.current=setTimeout((function(){at(e)}),1e3*t)};h.useEffect((function(){return lt}),[]);var ut=h.useState(!1),ft=(0,o.A)(ut,2),dt=ft[0],pt=ft[1];(0,m.A)((function(e){e&&!nt||pt(!0)}),[nt]);var mt=h.useState(null),gt=(0,o.A)(mt,2),ht=gt[0],vt=gt[1],yt=h.useState([0,0]),bt=(0,o.A)(yt,2),At=bt[0],xt=bt[1],Ct=function(e){xt([e.clientX,e.clientY])},wt=function(e,t,n,i,a,c,l){var s=h.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:a[i]||{}}),f=(0,o.A)(s,2),p=f[0],g=f[1],v=h.useRef(0),y=h.useMemo((function(){return t?F(t):[]}),[t]),b=h.useRef({});e||(b.current={});var A=(0,d.A)((function(){if(t&&n&&e){var s,f,d,p=t,m=p.ownerDocument,h=$(p).getComputedStyle(p),v=h.width,A=h.height,x=h.position,C=p.style.left,w=p.style.top,E=p.style.right,S=p.style.bottom,k=p.style.overflow,P=(0,r.A)((0,r.A)({},a[i]),c),M=m.createElement("div");if(null===(s=p.parentElement)||void 0===s||s.appendChild(M),M.style.left="".concat(p.offsetLeft,"px"),M.style.top="".concat(p.offsetTop,"px"),M.style.position=x,M.style.height="".concat(p.offsetHeight,"px"),M.style.width="".concat(p.offsetWidth,"px"),p.style.left="0",p.style.top="0",p.style.right="auto",p.style.bottom="auto",p.style.overflow="hidden",Array.isArray(n))d={x:n[0],y:n[1],width:0,height:0};else{var F=n.getBoundingClientRect();d={x:F.x,y:F.y,width:F.width,height:F.height}}var R=p.getBoundingClientRect(),N=m.documentElement,B=N.clientWidth,D=N.clientHeight,_=N.scrollWidth,V=N.scrollHeight,W=N.scrollTop,q=N.scrollLeft,U=R.height,X=R.width,G=d.height,K=d.width,Y={left:0,top:0,right:B,bottom:D},Q={left:-q,top:-W,right:_-q,bottom:V-W},Z=P.htmlRegion,J="visible",ee="visibleFirst";"scroll"!==Z&&Z!==ee&&(Z=J);var te=Z===ee,ne=T(Q,y),re=T(Y,y),oe=Z===J?re:ne,ie=te?re:oe;p.style.left="auto",p.style.top="auto",p.style.right="0",p.style.bottom="0";var ae=p.getBoundingClientRect();p.style.left=C,p.style.top=w,p.style.right=E,p.style.bottom=S,p.style.overflow=k,null===(f=p.parentElement)||void 0===f||f.removeChild(M);var ce=j(Math.round(X/parseFloat(v)*1e3)/1e3),le=j(Math.round(U/parseFloat(A)*1e3)/1e3);if(0===ce||0===le||(0,u.fk)(n)&&!(0,O.A)(n))return;var se=P.offset,ue=P.targetOffset,fe=I(R,se),de=(0,o.A)(fe,2),pe=de[0],me=de[1],ge=I(d,ue),he=(0,o.A)(ge,2),ve=he[0],ye=he[1];d.x-=ve,d.y-=ye;var be=P.points||[],Ae=(0,o.A)(be,2),xe=Ae[0],Ce=L(Ae[1]),we=L(xe),Ee=z(d,Ce),Se=z(R,we),ke=(0,r.A)({},P),Oe=Ee.x-Se.x+pe,Pe=Ee.y-Se.y+me;function xt(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:oe,r=R.x+e,o=R.y+t,i=r+X,a=o+U,c=Math.max(r,n.left),l=Math.max(o,n.top),s=Math.min(i,n.right),u=Math.min(a,n.bottom);return Math.max(0,(s-c)*(u-l))}var Me,$e,Fe,je,Re=xt(Oe,Pe),Te=xt(Oe,Pe,re),Ne=z(d,["t","l"]),Ie=z(R,["t","l"]),Le=z(d,["b","r"]),ze=z(R,["b","r"]),He=P.overflow||{},Be=He.adjustX,De=He.adjustY,_e=He.shiftX,Ve=He.shiftY,We=function(e){return"boolean"==typeof e?e:e>=0};function Ct(){Me=R.y+Pe,$e=Me+U,Fe=R.x+Oe,je=Fe+X}Ct();var qe=We(De),Ue=we[0]===Ce[0];if(qe&&"t"===we[0]&&($e>ie.bottom||b.current.bt)){var Xe=Pe;Ue?Xe-=U-G:Xe=Ne.y-ze.y-me;var Ge=xt(Oe,Xe),Ke=xt(Oe,Xe,re);Ge>Re||Ge===Re&&(!te||Ke>=Te)?(b.current.bt=!0,Pe=Xe,me=-me,ke.points=[H(we,0),H(Ce,0)]):b.current.bt=!1}if(qe&&"b"===we[0]&&(MeRe||Qe===Re&&(!te||Ze>=Te)?(b.current.tb=!0,Pe=Ye,me=-me,ke.points=[H(we,0),H(Ce,0)]):b.current.tb=!1}var Je=We(Be),et=we[1]===Ce[1];if(Je&&"l"===we[1]&&(je>ie.right||b.current.rl)){var tt=Oe;et?tt-=X-K:tt=Ne.x-ze.x-pe;var nt=xt(tt,Pe),rt=xt(tt,Pe,re);nt>Re||nt===Re&&(!te||rt>=Te)?(b.current.rl=!0,Oe=tt,pe=-pe,ke.points=[H(we,1),H(Ce,1)]):b.current.rl=!1}if(Je&&"r"===we[1]&&(FeRe||it===Re&&(!te||at>=Te)?(b.current.lr=!0,Oe=ot,pe=-pe,ke.points=[H(we,1),H(Ce,1)]):b.current.lr=!1}Ct();var ct=!0===_e?0:_e;"number"==typeof ct&&(Fere.right&&(Oe-=je-re.right-pe,d.x>re.right-ct&&(Oe+=d.x-re.right+ct)));var lt=!0===Ve?0:Ve;"number"==typeof lt&&(Mere.bottom&&(Pe-=$e-re.bottom-me,d.y>re.bottom-lt&&(Pe+=d.y-re.bottom+lt)));var st=R.x+Oe,ut=st+X,ft=R.y+Pe,dt=ft+U,pt=d.x,mt=pt+K,gt=d.y,ht=gt+G,vt=(Math.max(st,pt)+Math.min(ut,mt))/2-st,yt=(Math.max(ft,gt)+Math.min(dt,ht))/2-ft;null==l||l(t,ke);var bt=ae.right-R.x-(Oe+R.width),At=ae.bottom-R.y-(Pe+R.height);1===ce&&(Oe=Math.round(Oe),bt=Math.round(bt)),1===le&&(Pe=Math.round(Pe),At=Math.round(At)),g({ready:!0,offsetX:Oe/ce,offsetY:Pe/le,offsetR:bt/ce,offsetB:At/le,arrowX:vt/ce,arrowY:yt/le,scaleX:ce,scaleY:le,align:ke})}})),x=function(){g((function(e){return(0,r.A)((0,r.A)({},e),{},{ready:!1})}))};return(0,m.A)(x,[i]),(0,m.A)((function(){e||x()}),[e]),[p.ready,p.offsetX,p.offsetY,p.offsetR,p.offsetB,p.arrowX,p.arrowY,p.scaleX,p.scaleY,p.align,function(){v.current+=1;var e=v.current;Promise.resolve().then((function(){v.current===e&&A()}))}]}(nt,Ie,de?At:_e,oe,ae,ce,me),Et=(0,o.A)(wt,11),St=Et[0],kt=Et[1],Ot=Et[2],Pt=Et[3],Mt=Et[4],$t=Et[5],Ft=Et[6],jt=Et[7],Rt=Et[8],Tt=Et[9],Nt=Et[10],It=function(e,t,n,r){return h.useMemo((function(){var o=k(null!=n?n:t),i=k(null!=r?r:t),a=new Set(o),c=new Set(i);return e&&(a.has("hover")&&(a.delete("hover"),a.add("click")),c.has("hover")&&(c.delete("hover"),c.add("click"))),[a,c]}),[e,t,n,r])}(Pe,b,A,x),Lt=(0,o.A)(It,2),zt=Lt[0],Ht=Lt[1],Bt=zt.has("click"),Dt=Ht.has("click")||Ht.has("contextMenu"),_t=(0,d.A)((function(){dt||Nt()}));!function(e,t,n,r,o){(0,m.A)((function(){if(e&&t&&n){var i=n,a=F(t),c=F(i),l=$(i),s=new Set([l].concat((0,B.A)(a),(0,B.A)(c)));function u(){r(),o()}return s.forEach((function(e){e.addEventListener("scroll",u,{passive:!0})})),l.addEventListener("resize",u,{passive:!0}),r(),function(){s.forEach((function(e){e.removeEventListener("scroll",u),l.removeEventListener("resize",u)}))}}}),[e,t,n])}(nt,_e,Ie,_t,(function(){ot.current&&de&&Dt&&st(!1)})),(0,m.A)((function(){_t()}),[At,oe]),(0,m.A)((function(){!nt||null!=ae&&ae[oe]||_t()}),[JSON.stringify(ce)]);var Vt=h.useMemo((function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1?a-1:0),l=1;l1?n-1:0),o=1;o1?n-1:0),o=1;o{n.d(t,{A:()=>l,U:()=>c});var r=n(6540),o=n(2533),i=n(414),a=n(2279);function c(e){return t=>r.createElement(i.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},r.createElement(e,Object.assign({},t)))}const l=(e,t,n,i)=>c((c=>{const{prefixCls:l,style:s}=c,u=r.useRef(null),[f,d]=r.useState(0),[p,m]=r.useState(0),[g,h]=(0,o.A)(!1,{value:c.open}),{getPrefixCls:v}=r.useContext(a.QO),y=v(t||"select",l);r.useEffect((()=>{if(h(!0),"undefined"!=typeof ResizeObserver){const e=new ResizeObserver((e=>{const t=e[0].target;d(t.offsetHeight+8),m(t.offsetWidth)})),t=setInterval((()=>{var r;const o=n?`.${n(y)}`:`.${y}-dropdown`,i=null===(r=u.current)||void 0===r?void 0:r.querySelector(o);i&&(clearInterval(t),e.observe(i))}),10);return()=>{clearInterval(t),e.disconnect()}}}),[]);let b=Object.assign(Object.assign({},c),{style:Object.assign(Object.assign({},s),{margin:0}),open:g,visible:g,getPopupContainer:()=>u.current});i&&(b=i(b));const A={paddingBottom:f,position:"relative",minWidth:p};return r.createElement("div",{ref:u,style:A},r.createElement(e,Object.assign({},b)))}))},275:(e,t,n)=>{n.d(t,{YK:()=>u,jH:()=>c});var r=n(6540),o=n(3534),i=n(2616);const a=100,c=1e3,l={Modal:a,Drawer:a,Popover:a,Popconfirm:a,Tooltip:a,Tour:a},s={SelectLike:50,Dropdown:50,DatePicker:50,Menu:50,ImagePreview:1};function u(e,t){const[,n]=(0,o.Ay)(),a=r.useContext(i.A),u=e in l;if(void 0!==t)return[t,t];let f=null!=a?a:0;return u?(f+=(a?0:n.zIndexPopupBase)+l[e],f=Math.min(f,n.zIndexPopupBase+c)):f+=s[e],[void 0===a?t:f,f]}},3723:(e,t,n)=>{n.d(t,{A:()=>l,b:()=>c});const r=()=>({height:0,opacity:0}),o=e=>{const{scrollHeight:t}=e;return{height:t,opacity:1}},i=e=>({height:e?e.offsetHeight:0}),a=(e,t)=>!0===(null==t?void 0:t.deadline)||"height"===t.propertyName,c=(e,t,n)=>void 0!==n?n:`${e}-${t}`,l=function(){return{motionName:`${arguments.length>0&&void 0!==arguments[0]?arguments[0]:"ant"}-motion-collapse`,onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:i,onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500}}},682:(e,t,n)=>{n.d(t,{Ob:()=>a,zv:()=>o});var r=n(6540);function o(e){return e&&r.isValidElement(e)&&e.type===r.Fragment}const i=(e,t,n)=>r.isValidElement(e)?r.cloneElement(e,"function"==typeof n?n(e.props||{}):n):t;function a(e,t){return i(e,e,t)}},2616:(e,t,n)=>{n.d(t,{A:()=>r});const r=n(6540).createContext(void 0)},8119:(e,t,n)=>{n.d(t,{A:()=>a,X:()=>i});var r=n(6540);const o=r.createContext(!1),i=e=>{let{children:t,disabled:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:null!=n?n:i},t)},a=o},8224:(e,t,n)=>{n.d(t,{A:()=>a,c:()=>i});var r=n(6540);const o=r.createContext(void 0),i=e=>{let{children:t,size:n}=e;const i=r.useContext(o);return r.createElement(o.Provider,{value:n||i},t)},a=o},2279:(e,t,n)=>{n.d(t,{QO:()=>i,pM:()=>o});var r=n(6540);const o="anticon",i=r.createContext({getPrefixCls:(e,t)=>t||(e?`ant-${e}`:"ant"),iconPrefixCls:o}),{Consumer:a}=i},934:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(3534);const o=e=>{const[,,,,t]=(0,r.Ay)();return t?`${e}-css-var`:""}},829:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6540),o=n(8224);const i=e=>{const t=r.useContext(o.A);return r.useMemo((()=>e?"string"==typeof e?null!=e?e:t:e instanceof Function?e(t):t:t),[e,t])}},414:(e,t,n)=>{n.d(t,{Ay:()=>K,cr:()=>U});var r=n(6540),o=n.t(r,2),i=n(7689),a=n(1053),c=n(8104),l=n(488);n(8210);function s(){}const u=r.createContext({}),f=()=>{const e=()=>{};return e.deprecated=s,e},d=(0,r.createContext)(void 0);var p=n(1815),m=n(685);const g=e=>{const{locale:t={},children:n,_ANT_MARK__:o}=e;r.useEffect((()=>(0,p.L)(t&&t.Modal)),[t]);const i=r.useMemo((()=>Object.assign(Object.assign({},t),{exist:!0})),[t]);return r.createElement(m.A.Provider,{value:i},n)};var h=n(2130),v=n(9790),y=n(723),b=n(2279),A=n(2742),x=n(4978),C=n(998),w=n(5089);const E=`-ant-${Date.now()}-${Math.random()}`;function S(e,t){const n=function(e,t){const n={},r=(e,t)=>{let n=e.clone();return n=(null==t?void 0:t(n))||n,n.toRgbString()},o=(e,t)=>{const o=new x.q(e),i=(0,A.cM)(o.toRgbString());n[`${t}-color`]=r(o),n[`${t}-color-disabled`]=i[1],n[`${t}-color-hover`]=i[4],n[`${t}-color-active`]=i[6],n[`${t}-color-outline`]=o.clone().setAlpha(.2).toRgbString(),n[`${t}-color-deprecated-bg`]=i[0],n[`${t}-color-deprecated-border`]=i[2]};if(t.primaryColor){o(t.primaryColor,"primary");const e=new x.q(t.primaryColor),i=(0,A.cM)(e.toRgbString());i.forEach(((e,t)=>{n[`primary-${t+1}`]=e})),n["primary-color-deprecated-l-35"]=r(e,(e=>e.lighten(35))),n["primary-color-deprecated-l-20"]=r(e,(e=>e.lighten(20))),n["primary-color-deprecated-t-20"]=r(e,(e=>e.tint(20))),n["primary-color-deprecated-t-50"]=r(e,(e=>e.tint(50))),n["primary-color-deprecated-f-12"]=r(e,(e=>e.setAlpha(.12*e.getAlpha())));const a=new x.q(i[0]);n["primary-color-active-deprecated-f-30"]=r(a,(e=>e.setAlpha(.3*e.getAlpha()))),n["primary-color-active-deprecated-d-02"]=r(a,(e=>e.darken(2)))}return t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info"),`\n :root {\n ${Object.keys(n).map((t=>`--${e}-${t}: ${n[t]};`)).join("\n")}\n }\n `.trim()}(e,t);(0,C.A)()&&(0,w.BD)(n,`${E}-dynamic-theme`)}var k=n(8119),O=n(8224);const P=function(){return{componentDisabled:(0,r.useContext)(k.A),componentSize:(0,r.useContext)(O.A)}};var M=n(3210);const $=Object.assign({},o),{useId:F}=$,j=void 0===F?()=>"":F;var R=n(8612),T=n(3534);function N(e){const{children:t}=e,[,n]=(0,T.Ay)(),{motion:o}=n,i=r.useRef(!1);return i.current=i.current||!1===o,i.current?r.createElement(R.Kq,{motion:o},t):t}const I=()=>null;var L=n(2366),z=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o({getPrefixCls:(e,t)=>t||(e?`${W()}-${e}`:W()),getIconPrefixCls:q,getRootPrefixCls:()=>B||W(),getTheme:()=>_,holderRender:V}),X=e=>{const{children:t,csp:n,autoInsertSpaceInButton:o,alert:s,anchor:p,form:m,locale:A,componentSize:x,direction:C,space:w,virtual:E,dropdownMatchSelectWidth:S,popupMatchSelectWidth:P,popupOverflow:$,legacyLocale:F,parentContext:R,iconPrefixCls:T,theme:B,componentDisabled:D,segmented:_,statistic:V,spin:W,calendar:q,carousel:U,cascader:X,collapse:G,typography:K,checkbox:Y,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:fe,pagination:de,input:pe,textArea:me,empty:ge,badge:he,radio:ve,rate:ye,switch:be,transfer:Ae,avatar:xe,message:Ce,tag:we,table:Ee,card:Se,tabs:ke,timeline:Oe,timePicker:Pe,upload:Me,notification:$e,tree:Fe,colorPicker:je,datePicker:Re,rangePicker:Te,flex:Ne,wave:Ie,dropdown:Le,warning:ze,tour:He,floatButtonGroup:Be}=e,De=r.useCallback(((t,n)=>{const{prefixCls:r}=e;if(n)return n;const o=r||R.getPrefixCls("");return t?`${o}-${t}`:o}),[R.getPrefixCls,e.prefixCls]),_e=T||R.iconPrefixCls||b.pM,Ve=n||R.csp;(0,L.A)(_e,Ve);const We=function(e,t,n){var r;f("ConfigProvider");const o=e||{},i=!1!==o.inherit&&t?t:Object.assign(Object.assign({},v.sb),{hashed:null!==(r=null==t?void 0:t.hashed)&&void 0!==r?r:v.sb.hashed,cssVar:null==t?void 0:t.cssVar}),a=j();return(0,c.A)((()=>{var r,c;if(!e)return t;const l=Object.assign({},i.components);Object.keys(e.components||{}).forEach((t=>{l[t]=Object.assign(Object.assign({},l[t]),e.components[t])}));const s=`css-var-${a.replace(/:/g,"")}`,u=(null!==(r=o.cssVar)&&void 0!==r?r:i.cssVar)&&Object.assign(Object.assign(Object.assign({prefix:null==n?void 0:n.prefixCls},"object"==typeof i.cssVar?i.cssVar:{}),"object"==typeof o.cssVar?o.cssVar:{}),{key:"object"==typeof o.cssVar&&(null===(c=o.cssVar)||void 0===c?void 0:c.key)||s});return Object.assign(Object.assign(Object.assign({},i),o),{token:Object.assign(Object.assign({},i.token),o.token),components:l,cssVar:u})}),[o,i],((e,t)=>e.some(((e,n)=>{const r=t[n];return!(0,M.A)(e,r,!0)}))))}(B,R.theme,{prefixCls:De("")});const qe={csp:Ve,autoInsertSpaceInButton:o,alert:s,anchor:p,locale:A||F,direction:C,space:w,virtual:E,popupMatchSelectWidth:null!=P?P:S,popupOverflow:$,getPrefixCls:De,iconPrefixCls:_e,theme:We,segmented:_,statistic:V,spin:W,calendar:q,carousel:U,cascader:X,collapse:G,typography:K,checkbox:Y,descriptions:Q,divider:Z,drawer:J,skeleton:ee,steps:te,image:ne,input:pe,textArea:me,layout:re,list:oe,mentions:ie,modal:ae,progress:ce,result:le,slider:se,breadcrumb:ue,menu:fe,pagination:de,empty:ge,badge:he,radio:ve,rate:ye,switch:be,transfer:Ae,avatar:xe,message:Ce,tag:we,table:Ee,card:Se,tabs:ke,timeline:Oe,timePicker:Pe,upload:Me,notification:$e,tree:Fe,colorPicker:je,datePicker:Re,rangePicker:Te,flex:Ne,wave:Ie,dropdown:Le,warning:ze,tour:He,floatButtonGroup:Be};const Ue=Object.assign({},R);Object.keys(qe).forEach((e=>{void 0!==qe[e]&&(Ue[e]=qe[e])})),H.forEach((t=>{const n=e[t];n&&(Ue[t]=n)})),void 0!==o&&(Ue.button=Object.assign({autoInsertSpace:o},Ue.button));const Xe=(0,c.A)((()=>Ue),Ue,((e,t)=>{const n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((n=>e[n]!==t[n]))})),Ge=r.useMemo((()=>({prefixCls:_e,csp:Ve})),[_e,Ve]);let Ke=r.createElement(r.Fragment,null,r.createElement(I,{dropdownMatchSelectWidth:S}),t);const Ye=r.useMemo((()=>{var e,t,n,r;return(0,l.h)((null===(e=h.A.Form)||void 0===e?void 0:e.defaultValidateMessages)||{},(null===(n=null===(t=Xe.locale)||void 0===t?void 0:t.Form)||void 0===n?void 0:n.defaultValidateMessages)||{},(null===(r=Xe.form)||void 0===r?void 0:r.validateMessages)||{},(null==m?void 0:m.validateMessages)||{})}),[Xe,null==m?void 0:m.validateMessages]);Object.keys(Ye).length>0&&(Ke=r.createElement(d.Provider,{value:Ye},Ke)),A&&(Ke=r.createElement(g,{locale:A,_ANT_MARK__:"internalMark"},Ke)),(_e||Ve)&&(Ke=r.createElement(a.A.Provider,{value:Ge},Ke)),x&&(Ke=r.createElement(O.c,{size:x},Ke)),Ke=r.createElement(N,null,Ke);const Qe=r.useMemo((()=>{const e=We||{},{algorithm:t,token:n,components:r,cssVar:o}=e,a=z(e,["algorithm","token","components","cssVar"]),c=t&&(!Array.isArray(t)||t.length>0)?(0,i.an)(t):v.zQ,l={};Object.entries(r||{}).forEach((e=>{let[t,n]=e;const r=Object.assign({},n);"algorithm"in r&&(!0===r.algorithm?r.theme=c:(Array.isArray(r.algorithm)||"function"==typeof r.algorithm)&&(r.theme=(0,i.an)(r.algorithm)),delete r.algorithm),l[t]=r}));const s=Object.assign(Object.assign({},y.A),n);return Object.assign(Object.assign({},a),{theme:c,token:s,components:l,override:Object.assign({override:s},l),cssVar:o})}),[We]);return B&&(Ke=r.createElement(v.vG.Provider,{value:Qe},Ke)),Xe.warning&&(Ke=r.createElement(u.Provider,{value:Xe.warning},Ke)),void 0!==D&&(Ke=r.createElement(k.X,{disabled:D},Ke)),r.createElement(b.QO.Provider,{value:Xe},Ke)},G=e=>{const t=r.useContext(b.QO),n=r.useContext(m.A);return r.createElement(X,Object.assign({parentContext:t,legacyLocale:n},e))};G.ConfigContext=b.QO,G.SizeContext=O.A,G.config=e=>{const{prefixCls:t,iconPrefixCls:n,theme:r,holderRender:o}=e;void 0!==t&&(B=t),void 0!==n&&(D=n),"holderRender"in e&&(V=o),r&&(!function(e){return Object.keys(e).some((e=>e.endsWith("Color")))}(r)?_=r:S(W(),r))},G.useConfig=P,Object.defineProperty(G,"SizeContext",{get:()=>O.A});const K=G},1961:(e,t,n)=>{n.d(t,{$W:()=>He,XB:()=>Be,Pp:()=>De});var r=n(6540),o=n(8168),i=n(45),a=n(675),c=n(467),l=n(9379),s=n(8339),u=n(3029),f=n(2901),d=n(9417),p=n(5501),m=n(9426),g=n(4467),h=n(2546),v=n(3210),y=n(8210),b="RC_FORM_INTERNAL_HOOKS",A=function(){(0,y.Ay)(!1,"Can not find FormContext. Please make sure you wrap Field under Form.")};const x=r.createContext({getFieldValue:A,getFieldsValue:A,getFieldError:A,getFieldWarning:A,getFieldsError:A,isFieldsTouched:A,isFieldTouched:A,isFieldValidating:A,isFieldsValidating:A,resetFields:A,setFields:A,setFieldValue:A,setFieldsValue:A,validateFields:A,submit:A,getInternalHooks:function(){return A(),{dispatch:A,initEntityValue:A,registerField:A,useSubscribe:A,setInitialValues:A,destroyForm:A,setCallbacks:A,registerWatch:A,getFields:A,setValidateMessages:A,setPreserve:A,getInitialValue:A}}});const C=r.createContext(null);function w(e){return null==e?[]:Array.isArray(e)?e:[e]}var E=n(2284);function S(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var k=S(),O=n(3954),P=n(3662);var M=n(2176);function $(e){var t="function"==typeof Map?new Map:void 0;return $=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if((0,M.A)())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,P.A)(o,n.prototype),o}(e,arguments,(0,O.A)(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,P.A)(n,e)},$(e)}var F=/%[sdj%]/g;function j(e){if(!e||!e.length)return null;var t={};return e.forEach((function(e){var n=e.field;t[n]=t[n]||[],t[n].push(e)})),t}function R(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}})):e}function T(e,t){return null==e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!=typeof e||e))}function N(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,W=/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i,q={integer:function(e){return q.number(e)&&parseInt(e,10)===e},float:function(e){return q.number(e)&&!q.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(0,E.A)(e)&&!q.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&e.length<=320&&!!e.match(V)},url:function(e){return"string"==typeof e&&e.length<=2048&&!!e.match(function(){if(_)return _;var e="[a-fA-F\\d:]",t=function(t){return t&&t.includeBoundaries?"(?:(?<=\\s|^)(?=".concat(e,")|(?<=").concat(e,")(?=\\s|$))"):""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",o=["(?:".concat(r,":){7}(?:").concat(r,"|:)"),"(?:".concat(r,":){6}(?:").concat(n,"|:").concat(r,"|:)"),"(?:".concat(r,":){5}(?::").concat(n,"|(?::").concat(r,"){1,2}|:)"),"(?:".concat(r,":){4}(?:(?::").concat(r,"){0,1}:").concat(n,"|(?::").concat(r,"){1,3}|:)"),"(?:".concat(r,":){3}(?:(?::").concat(r,"){0,2}:").concat(n,"|(?::").concat(r,"){1,4}|:)"),"(?:".concat(r,":){2}(?:(?::").concat(r,"){0,3}:").concat(n,"|(?::").concat(r,"){1,5}|:)"),"(?:".concat(r,":){1}(?:(?::").concat(r,"){0,4}:").concat(n,"|(?::").concat(r,"){1,6}|:)"),"(?::(?:(?::".concat(r,"){0,5}:").concat(n,"|(?::").concat(r,"){1,7}|:))")],i="(?:".concat(o.join("|"),")").concat("(?:%[0-9a-zA-Z]{1,})?"),a=new RegExp("(?:^".concat(n,"$)|(?:^").concat(i,"$)")),c=new RegExp("^".concat(n,"$")),l=new RegExp("^".concat(i,"$")),s=function(e){return e&&e.exact?a:new RegExp("(?:".concat(t(e)).concat(n).concat(t(e),")|(?:").concat(t(e)).concat(i).concat(t(e),")"),"g")};s.v4=function(e){return e&&e.exact?c:new RegExp("".concat(t(e)).concat(n).concat(t(e)),"g")},s.v6=function(e){return e&&e.exact?l:new RegExp("".concat(t(e)).concat(i).concat(t(e)),"g")};var u=s.v4().source,f=s.v6().source,d="(?:".concat("(?:(?:[a-z]+:)?//)","|www\\.)").concat("(?:\\S+(?::\\S*)?@)?","(?:localhost|").concat(u,"|").concat(f,"|").concat("(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)").concat("(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*").concat("(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",")").concat("(?::\\d{2,5})?").concat('(?:[/?#][^\\s"]*)?');return _=new RegExp("(?:^".concat(d,"$)"),"i")}())},hex:function(e){return"string"==typeof e&&!!e.match(W)}};const U=function(e,t,n,r,o){if(e.required&&void 0===t)D(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?q[i](t)||r.push(R(o.messages.types[i],e.fullField,e.type)):i&&(0,E.A)(t)!==e.type&&r.push(R(o.messages.types[i],e.fullField,e.type))}};const X={required:D,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(R(o.messages.whitespace,e.fullField))},type:U,range:function(e,t,n,r,o){var i="number"==typeof e.len,a="number"==typeof e.min,c="number"==typeof e.max,l=t,s=null,u="number"==typeof t,f="string"==typeof t,d=Array.isArray(t);if(u?s="number":f?s="string":d&&(s="array"),!s)return!1;d&&(l=t.length),f&&(l=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?l!==e.len&&r.push(R(o.messages[s].len,e.fullField,e.len)):a&&!c&&le.max?r.push(R(o.messages[s].max,e.fullField,e.max)):a&&c&&(le.max)&&r.push(R(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e[B]=Array.isArray(e[B])?e[B]:[],-1===e[B].indexOf(t)&&r.push(R(o.messages[B],e.fullField,e[B].join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(R(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}};const G=function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":(0,E.A)(t);X.required(e,t,r,i,o,a),n(i)};const K=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,i)&&!e.required)return n();X.required(e,t,r,a,o,i),T(t,i)||X.type(e,t,r,a,o)}n(a)},Y={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,"string")&&!e.required)return n();X.required(e,t,r,i,o,"string"),T(t,"string")||(X.type(e,t,r,i,o),X.range(e,t,r,i,o),X.pattern(e,t,r,i,o),!0===e.whitespace&&X.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),T(t)||X.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(null==t&&!e.required)return n();X.required(e,t,r,i,o,"array"),null!=t&&(X.type(e,t,r,i,o),X.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o),void 0!==t&&X.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,"string")&&!e.required)return n();X.required(e,t,r,i,o),T(t,"string")||X.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t,"date")&&!e.required)return n();var a;if(X.required(e,t,r,i,o),!T(t,"date"))a=t instanceof Date?t:new Date(t),X.type(e,a,r,i,o),a&&X.range(e,a.getTime(),r,i,o)}n(i)},url:K,hex:K,email:K,required:G,any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(T(t)&&!e.required)return n();X.required(e,t,r,i,o)}n(i)}};var Q=function(){function e(t){(0,u.A)(this,e),(0,g.A)(this,"rules",null),(0,g.A)(this,"_messages",k),this.define(t)}return(0,f.A)(e,[{key:"define",value:function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(0,E.A)(e)||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))}},{key:"messages",value:function(e){return e&&(this._messages=H(S(),e)),this._messages}},{key:"validate",value:function(t){var n=this,r=t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){};if("function"==typeof o&&(i=o,o={}),!this.rules||0===Object.keys(this.rules).length)return i&&i(null,r),Promise.resolve(r);if(o.messages){var a=this.messages();a===k&&(a=S()),H(a,o.messages),o.messages=a}else o.messages=this.messages();var c={};(o.keys||Object.keys(this.rules)).forEach((function(e){var o=n.rules[e],i=r[e];o.forEach((function(o){var a=o;"function"==typeof a.transform&&(r===t&&(r=(0,l.A)({},r)),null!=(i=r[e]=a.transform(i))&&(a.type=a.type||(Array.isArray(i)?"array":(0,E.A)(i)))),(a="function"==typeof a?{validator:a}:(0,l.A)({},a)).validator=n.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=n.getType(a),c[e]=c[e]||[],c[e].push({rule:a,value:i,source:r,field:e}))}))}));var u={};return L(c,o,(function(t,n){var i,a=t.rule,c=!("object"!==a.type&&"array"!==a.type||"object"!==(0,E.A)(a.fields)&&"object"!==(0,E.A)(a.defaultField));function f(e,t){return(0,l.A)((0,l.A)({},t),{},{fullField:"".concat(a.fullField,".").concat(e),fullFields:a.fullFields?[].concat((0,s.A)(a.fullFields),[e]):[e]})}function d(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],d=Array.isArray(i)?i:[i];!o.suppressWarning&&d.length&&e.warning("async-validator:",d),d.length&&void 0!==a.message&&(d=[].concat(a.message));var p=d.map(z(a,r));if(o.first&&p.length)return u[a.field]=1,n(p);if(c){if(a.required&&!t.value)return void 0!==a.message?p=[].concat(a.message).map(z(a,r)):o.error&&(p=[o.error(a,R(o.messages.required,a.field))]),n(p);var m={};a.defaultField&&Object.keys(t.value).map((function(e){m[e]=a.defaultField})),m=(0,l.A)((0,l.A)({},m),t.rule.fields);var g={};Object.keys(m).forEach((function(e){var t=m[e],n=Array.isArray(t)?t:[t];g[e]=n.map(f.bind(null,e))}));var h=new e(g);h.messages(o.messages),t.rule.options&&(t.rule.options.messages=o.messages,t.rule.options.error=o.error),h.validate(t.value,t.rule.options||o,(function(e){var t=[];p&&p.length&&t.push.apply(t,(0,s.A)(p)),e&&e.length&&t.push.apply(t,(0,s.A)(e)),n(t.length?t:null)}))}else n(p)}if(c=c&&(a.required||!a.required&&t.value),a.field=t.field,a.asyncValidator)i=a.asyncValidator(a,t.value,d,t.source,o);else if(a.validator){try{i=a.validator(a,t.value,d,t.source,o)}catch(g){var p,m;null===(p=(m=console).error)||void 0===p||p.call(m,g),o.suppressValidatorError||setTimeout((function(){throw g}),0),d(g.message)}!0===i?d():!1===i?d("function"==typeof a.message?a.message(a.fullField||a.field):a.message||"".concat(a.fullField||a.field," fails")):i instanceof Array?d(i):i instanceof Error&&d(i.message)}i&&i.then&&i.then((function(){return d()}),(function(e){return d(e)}))}),(function(e){!function(e){for(var t,n,o=[],a={},c=0;c2&&void 0!==arguments[2]&&arguments[2];return e&&e.some((function(e){return me(t,e,n)}))}function me(e,t){return!(!e||!t)&&(!(!(arguments.length>2&&void 0!==arguments[2]&&arguments[2])&&e.length!==t.length)&&t.every((function(t,n){return e[n]===t})))}function ge(e){var t=arguments.length<=1?void 0:arguments[1];return t&&t.target&&"object"===(0,E.A)(t.target)&&e in t.target?t.target[e]:t}function he(e,t,n){var r=e.length;if(t<0||t>=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,s.A)(e.slice(0,n)),[o],(0,s.A)(e.slice(n,t)),(0,s.A)(e.slice(t+1,r))):i<0?[].concat((0,s.A)(e.slice(0,t)),(0,s.A)(e.slice(t+1,n+1)),[o],(0,s.A)(e.slice(n+1,r))):e}var ve=["name"],ye=[];function be(e,t,n,r,o,i){return"function"==typeof e?e(t,n,"source"in i?{source:i.source}:{}):r!==o}var Ae=function(e){(0,p.A)(n,e);var t=(0,m.A)(n);function n(e){var o;((0,u.A)(this,n),o=t.call(this,e),(0,g.A)((0,d.A)(o),"state",{resetCount:0}),(0,g.A)((0,d.A)(o),"cancelRegisterFunc",null),(0,g.A)((0,d.A)(o),"mounted",!1),(0,g.A)((0,d.A)(o),"touched",!1),(0,g.A)((0,d.A)(o),"dirty",!1),(0,g.A)((0,d.A)(o),"validatePromise",void 0),(0,g.A)((0,d.A)(o),"prevValidating",void 0),(0,g.A)((0,d.A)(o),"errors",ye),(0,g.A)((0,d.A)(o),"warnings",ye),(0,g.A)((0,d.A)(o),"cancelRegister",(function(){var e=o.props,t=e.preserve,n=e.isListField,r=e.name;o.cancelRegisterFunc&&o.cancelRegisterFunc(n,t,fe(r)),o.cancelRegisterFunc=null})),(0,g.A)((0,d.A)(o),"getNamePath",(function(){var e=o.props,t=e.name,n=e.fieldContext.prefixName,r=void 0===n?[]:n;return void 0!==t?[].concat((0,s.A)(r),(0,s.A)(t)):[]})),(0,g.A)((0,d.A)(o),"getRules",(function(){var e=o.props,t=e.rules,n=void 0===t?[]:t,r=e.fieldContext;return n.map((function(e){return"function"==typeof e?e(r):e}))})),(0,g.A)((0,d.A)(o),"refresh",(function(){o.mounted&&o.setState((function(e){return{resetCount:e.resetCount+1}}))})),(0,g.A)((0,d.A)(o),"metaCache",null),(0,g.A)((0,d.A)(o),"triggerMetaEvent",(function(e){var t=o.props.onMetaChange;if(t){var n=(0,l.A)((0,l.A)({},o.getMeta()),{},{destroy:e});(0,v.A)(o.metaCache,n)||t(n),o.metaCache=n}else o.metaCache=null})),(0,g.A)((0,d.A)(o),"onStoreChange",(function(e,t,n){var r=o.props,i=r.shouldUpdate,a=r.dependencies,c=void 0===a?[]:a,l=r.onReset,s=n.store,u=o.getNamePath(),f=o.getValue(e),d=o.getValue(s),p=t&&pe(t,u);switch("valueUpdate"!==n.type||"external"!==n.source||(0,v.A)(f,d)||(o.touched=!0,o.dirty=!0,o.validatePromise=null,o.errors=ye,o.warnings=ye,o.triggerMetaEvent()),n.type){case"reset":if(!t||p)return o.touched=!1,o.dirty=!1,o.validatePromise=void 0,o.errors=ye,o.warnings=ye,o.triggerMetaEvent(),null==l||l(),void o.refresh();break;case"remove":if(i)return void o.reRender();break;case"setField":var m=n.data;if(p)return"touched"in m&&(o.touched=m.touched),"validating"in m&&!("originRCField"in m)&&(o.validatePromise=m.validating?Promise.resolve([]):null),"errors"in m&&(o.errors=m.errors||ye),"warnings"in m&&(o.warnings=m.warnings||ye),o.dirty=!0,o.triggerMetaEvent(),void o.reRender();if("value"in m&&pe(t,u,!0))return void o.reRender();if(i&&!u.length&&be(i,e,s,f,d,n))return void o.reRender();break;case"dependenciesUpdate":if(c.map(fe).some((function(e){return pe(n.relatedFields,e)})))return void o.reRender();break;default:if(p||(!c.length||u.length||i)&&be(i,e,s,f,d,n))return void o.reRender()}!0===i&&o.reRender()})),(0,g.A)((0,d.A)(o),"validateRules",(function(e){var t=o.getNamePath(),n=o.getValue(),r=e||{},i=r.triggerName,l=r.validateOnly,u=void 0!==l&&l,f=Promise.resolve().then((0,c.A)((0,a.A)().mark((function r(){var c,l,u,d,p,m,g;return(0,a.A)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o.mounted){r.next=2;break}return r.abrupt("return",[]);case 2:if(c=o.props,l=c.validateFirst,u=void 0!==l&&l,d=c.messageVariables,p=c.validateDebounce,m=o.getRules(),i&&(m=m.filter((function(e){return e})).filter((function(e){var t=e.validateTrigger;return!t||w(t).includes(i)}))),!p||!i){r.next=10;break}return r.next=8,new Promise((function(e){setTimeout(e,p)}));case 8:if(o.validatePromise===f){r.next=10;break}return r.abrupt("return",[]);case 10:return(g=ce(t,n,m,e,u,d)).catch((function(e){return e})).then((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye;if(o.validatePromise===f){var t;o.validatePromise=null;var n=[],r=[];null===(t=e.forEach)||void 0===t||t.call(e,(function(e){var t=e.rule.warningOnly,o=e.errors,i=void 0===o?ye:o;t?r.push.apply(r,(0,s.A)(i)):n.push.apply(n,(0,s.A)(i))})),o.errors=n,o.warnings=r,o.triggerMetaEvent(),o.reRender()}})),r.abrupt("return",g);case 13:case"end":return r.stop()}}),r)}))));return u||(o.validatePromise=f,o.dirty=!0,o.errors=ye,o.warnings=ye,o.triggerMetaEvent(),o.reRender()),f})),(0,g.A)((0,d.A)(o),"isFieldValidating",(function(){return!!o.validatePromise})),(0,g.A)((0,d.A)(o),"isFieldTouched",(function(){return o.touched})),(0,g.A)((0,d.A)(o),"isFieldDirty",(function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(b).getInitialValue)(o.getNamePath())})),(0,g.A)((0,d.A)(o),"getErrors",(function(){return o.errors})),(0,g.A)((0,d.A)(o),"getWarnings",(function(){return o.warnings})),(0,g.A)((0,d.A)(o),"isListField",(function(){return o.props.isListField})),(0,g.A)((0,d.A)(o),"isList",(function(){return o.props.isList})),(0,g.A)((0,d.A)(o),"isPreserve",(function(){return o.props.preserve})),(0,g.A)((0,d.A)(o),"getMeta",(function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath(),validated:null===o.validatePromise}})),(0,g.A)((0,d.A)(o),"getOnlyChild",(function(e){if("function"==typeof e){var t=o.getMeta();return(0,l.A)((0,l.A)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,h.A)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}})),(0,g.A)((0,d.A)(o),"getValue",(function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return(0,ue.A)(e||t(!0),n)})),(0,g.A)((0,d.A)(o),"getControlled",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.name,r=t.trigger,i=t.validateTrigger,a=t.getValueFromEvent,c=t.normalize,s=t.valuePropName,u=t.getValueProps,f=t.fieldContext,d=void 0!==i?i:f.validateTrigger,p=o.getNamePath(),m=f.getInternalHooks,h=f.getFieldsValue,v=m(b).dispatch,y=o.getValue(),A=u||function(e){return(0,g.A)({},s,e)},x=e[r],C=void 0!==n?A(y):{};var E=(0,l.A)((0,l.A)({},e),C);return E[r]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r=0&&t<=n.length?(d.keys=[].concat((0,s.A)(d.keys.slice(0,t)),[d.id],(0,s.A)(d.keys.slice(t))),i([].concat((0,s.A)(n.slice(0,t)),[e],(0,s.A)(n.slice(t))))):(d.keys=[].concat((0,s.A)(d.keys),[d.id]),i([].concat((0,s.A)(n),[e]))),d.id+=1},remove:function(e){var t=c(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(d.keys=d.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(d.keys=he(d.keys,e,t),i(he(n,e,t)))}}},f=r||[];return Array.isArray(f)||(f=[]),o(f.map((function(e,t){var n=d.keys[t];return void 0===n&&(d.keys[t]=d.id,n=d.keys[t],d.id+=1),{name:t,key:n,isListField:!0}})),l,t)}))))};var we=n(641);var Ee="__@field_split__";function Se(e){return e.map((function(e){return"".concat((0,E.A)(e),":").concat(e)})).join(Ee)}var ke=function(){function e(){(0,u.A)(this,e),(0,g.A)(this,"kvs",new Map)}return(0,f.A)(e,[{key:"set",value:function(e,t){this.kvs.set(Se(e),t)}},{key:"get",value:function(e){return this.kvs.get(Se(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(Se(e))}},{key:"map",value:function(e){return(0,s.A)(this.kvs.entries()).map((function(t){var n=(0,we.A)(t,2),r=n[0],o=n[1],i=r.split(Ee);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,we.A)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}();const Oe=ke;var Pe=["name"],Me=(0,f.A)((function e(t){var n=this;(0,u.A)(this,e),(0,g.A)(this,"formHooked",!1),(0,g.A)(this,"forceRootUpdate",void 0),(0,g.A)(this,"subscribable",!0),(0,g.A)(this,"store",{}),(0,g.A)(this,"fieldEntities",[]),(0,g.A)(this,"initialValues",{}),(0,g.A)(this,"callbacks",{}),(0,g.A)(this,"validateMessages",null),(0,g.A)(this,"preserve",null),(0,g.A)(this,"lastValidatePromise",null),(0,g.A)(this,"getForm",(function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldValue:n.setFieldValue,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,_init:!0,getInternalHooks:n.getInternalHooks}})),(0,g.A)(this,"getInternalHooks",(function(e){return e===b?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,destroyForm:n.destroyForm,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue,registerWatch:n.registerWatch}):((0,y.Ay)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)})),(0,g.A)(this,"useSubscribe",(function(e){n.subscribable=e})),(0,g.A)(this,"prevWithoutPreserves",null),(0,g.A)(this,"setInitialValues",(function(e,t){if(n.initialValues=e||{},t){var r,o=(0,te.h)(e,n.store);null===(r=n.prevWithoutPreserves)||void 0===r||r.map((function(t){var n=t.key;o=(0,te.A)(o,n,(0,ue.A)(e,n))})),n.prevWithoutPreserves=null,n.updateStore(o)}})),(0,g.A)(this,"destroyForm",(function(){var e=new Oe;n.getFieldEntities(!0).forEach((function(t){n.isMergedPreserve(t.isPreserve())||e.set(t.getNamePath(),!0)})),n.prevWithoutPreserves=e})),(0,g.A)(this,"getInitialValue",(function(e){var t=(0,ue.A)(n.initialValues,e);return e.length?(0,te.h)(t):t})),(0,g.A)(this,"setCallbacks",(function(e){n.callbacks=e})),(0,g.A)(this,"setValidateMessages",(function(e){n.validateMessages=e})),(0,g.A)(this,"setPreserve",(function(e){n.preserve=e})),(0,g.A)(this,"watchList",[]),(0,g.A)(this,"registerWatch",(function(e){return n.watchList.push(e),function(){n.watchList=n.watchList.filter((function(t){return t!==e}))}})),(0,g.A)(this,"notifyWatch",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(n.watchList.length){var t=n.getFieldsValue(),r=n.getFieldsValue(!0);n.watchList.forEach((function(n){n(t,r,e)}))}})),(0,g.A)(this,"timeoutId",null),(0,g.A)(this,"warningUnhooked",(function(){0})),(0,g.A)(this,"updateStore",(function(e){n.store=e})),(0,g.A)(this,"getFieldEntities",(function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities})),(0,g.A)(this,"getFieldsMap",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Oe;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t})),(0,g.A)(this,"getFieldEntitiesForNamePathList",(function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=fe(e);return t.get(n)||{INVALIDATE_NAME_PATH:fe(e)}}))})),(0,g.A)(this,"getFieldsValue",(function(e,t){var r,o,i;if(n.warningUnhooked(),!0===e||Array.isArray(e)?(r=e,o=t):e&&"object"===(0,E.A)(e)&&(i=e.strict,o=e.filter),!0===r&&!o)return n.store;var a=n.getFieldEntitiesForNamePathList(Array.isArray(r)?r:null),c=[];return a.forEach((function(e){var t,n,a,l,s="INVALIDATE_NAME_PATH"in e?e.INVALIDATE_NAME_PATH:e.getNamePath();if(i){if(null!==(a=(l=e).isList)&&void 0!==a&&a.call(l))return}else if(!r&&null!==(t=(n=e).isListField)&&void 0!==t&&t.call(n))return;if(o){var u="getMeta"in e?e.getMeta():null;o(u)&&c.push(s)}else c.push(s)})),de(n.store,c.map(fe))})),(0,g.A)(this,"getFieldValue",(function(e){n.warningUnhooked();var t=fe(e);return(0,ue.A)(n.store,t)})),(0,g.A)(this,"getFieldsError",(function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:fe(e[n]),errors:[],warnings:[]}}))})),(0,g.A)(this,"getFieldError",(function(e){n.warningUnhooked();var t=fe(e);return n.getFieldsError([t])[0].errors})),(0,g.A)(this,"getFieldWarning",(function(e){n.warningUnhooked();var t=fe(e);return n.getFieldsError([t])[0].warnings})),(0,g.A)(this,"isFieldsTouched",(function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Oe,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o;e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,s.A)((0,s.A)(r).map((function(e){return e.entity}))))}))):o=r,o.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,y.Ay)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,y.Ay)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);r.isListField()||e.skipExist&&void 0!==a||n.updateStore((0,te.A)(n.store,o,(0,s.A)(i)[0].value))}}}}))})),(0,g.A)(this,"resetFields",(function(e){n.warningUnhooked();var t=n.store;if(!e)return n.updateStore((0,te.h)(n.initialValues)),n.resetWithFieldInitialValue(),n.notifyObservers(t,null,{type:"reset"}),void n.notifyWatch();var r=e.map(fe);r.forEach((function(e){var t=n.getInitialValue(e);n.updateStore((0,te.A)(n.store,e,t))})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"}),n.notifyWatch(r)})),(0,g.A)(this,"setFields",(function(e){n.warningUnhooked();var t=n.store,r=[];e.forEach((function(e){var o=e.name,a=(0,i.A)(e,Pe),c=fe(o);r.push(c),"value"in a&&n.updateStore((0,te.A)(n.store,c,a.value)),n.notifyObservers(t,[c],{type:"setField",data:e})})),n.notifyWatch(r)})),(0,g.A)(this,"getFields",(function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,l.A)((0,l.A)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))})),(0,g.A)(this,"initEntityValue",(function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===(0,ue.A)(n.store,r)&&n.updateStore((0,te.A)(n.store,r,t))}})),(0,g.A)(this,"isMergedPreserve",(function(e){var t=void 0!==e?e:n.preserve;return null==t||t})),(0,g.A)(this,"registerField",(function(e){n.fieldEntities.push(e);var t=e.getNamePath();if(n.notifyWatch([t]),void 0!==e.props.initialValue){var r=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(r,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(r,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e})),!n.isMergedPreserve(o)&&(!r||i.length>1)){var a=r?void 0:n.getInitialValue(t);if(t.length&&n.getFieldValue(t)!==a&&n.fieldEntities.every((function(e){return!me(e.getNamePath(),t)}))){var c=n.store;n.updateStore((0,te.A)(c,t,a,!0)),n.notifyObservers(c,[t],{type:"remove"}),n.triggerDependenciesUpdate(c,t)}}n.notifyWatch([t])}})),(0,g.A)(this,"dispatch",(function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}})),(0,g.A)(this,"notifyObservers",(function(e,t,r){if(n.subscribable){var o=(0,l.A)((0,l.A)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()})),(0,g.A)(this,"triggerDependenciesUpdate",(function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,s.A)(r))}),r})),(0,g.A)(this,"updateValue",(function(e,t){var r=fe(e),o=n.store;n.updateStore((0,te.A)(n.store,r,t)),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"}),n.notifyWatch([r]);var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(de(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,s.A)(i)))})),(0,g.A)(this,"setFieldsValue",(function(e){n.warningUnhooked();var t=n.store;if(e){var r=(0,te.h)(n.store,e);n.updateStore(r)}n.notifyObservers(t,null,{type:"valueUpdate",source:"external"}),n.notifyWatch()})),(0,g.A)(this,"setFieldValue",(function(e,t){n.setFields([{name:e,value:t}])})),(0,g.A)(this,"getDependencyChildrenFields",(function(e){var t=new Set,r=[],o=new Oe;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=fe(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r})),(0,g.A)(this,"triggerOnFieldsChange",(function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new Oe;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}var a=o.filter((function(t){var n=t.name;return pe(e,n)}));a.length&&r(a,o)}})),(0,g.A)(this,"validateFields",(function(e,t){var r,o;n.warningUnhooked(),Array.isArray(e)||"string"==typeof e||"string"==typeof t?(r=e,o=t):o=e;var i=!!r,a=i?r.map(fe):[],c=[],u=String(Date.now()),f=new Set,d=o||{},p=d.recursive,m=d.dirty;n.getFieldEntities(!0).forEach((function(e){if(i||a.push(e.getNamePath()),e.props.rules&&e.props.rules.length&&(!m||e.isFieldDirty())){var t=e.getNamePath();if(f.add(t.join(u)),!i||pe(a,t,p)){var r=e.validateRules((0,l.A)({validateMessages:(0,l.A)((0,l.A)({},ee),n.validateMessages)},o));c.push(r.then((function(){return{name:t,errors:[],warnings:[]}})).catch((function(e){var n,r=[],o=[];return null===(n=e.forEach)||void 0===n||n.call(e,(function(e){var t=e.rule.warningOnly,n=e.errors;t?o.push.apply(o,(0,s.A)(n)):r.push.apply(r,(0,s.A)(n))})),r.length?Promise.reject({name:t,errors:r,warnings:o}):{name:t,errors:r,warnings:o}})))}}}));var g=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(c);n.lastValidatePromise=g,g.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var h=g.then((function(){return n.lastValidatePromise===g?Promise.resolve(n.getFieldsValue(a)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(a),errorFields:t,outOfDate:n.lastValidatePromise!==g})}));h.catch((function(e){return e}));var v=a.filter((function(e){return f.has(e.join(u))}));return n.triggerOnFieldsChange(v),h})),(0,g.A)(this,"submit",(function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))})),this.forceRootUpdate=t}));const $e=function(e){var t=r.useRef(),n=r.useState({}),o=(0,we.A)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new Me((function(){o({})}));t.current=i.getForm()}return[t.current]};var Fe=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}});const je=Fe;var Re=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"];const Te=function(e,t){var n=e.name,a=e.initialValues,c=e.fields,u=e.form,f=e.preserve,d=e.children,p=e.component,m=void 0===p?"form":p,g=e.validateMessages,h=e.validateTrigger,v=void 0===h?"onChange":h,y=e.onValuesChange,A=e.onFieldsChange,w=e.onFinish,S=e.onFinishFailed,k=(0,i.A)(e,Re),O=r.useContext(je),P=$e(u),M=(0,we.A)(P,1)[0],$=M.getInternalHooks(b),F=$.useSubscribe,j=$.setInitialValues,R=$.setCallbacks,T=$.setValidateMessages,N=$.setPreserve,I=$.destroyForm;r.useImperativeHandle(t,(function(){return M})),r.useEffect((function(){return O.registerForm(n,M),function(){O.unregisterForm(n)}}),[O,M,n]),T((0,l.A)((0,l.A)({},O.validateMessages),g)),R({onValuesChange:y,onFieldsChange:function(e){if(O.triggerFormChange(n,e),A){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o{let{children:t,status:n,override:o}=e;const i=(0,r.useContext)(He),a=(0,r.useMemo)((()=>{const e=Object.assign({},i);return o&&delete e.isFormItemInput,n&&(delete e.status,delete e.hasFeedback,delete e.feedbackIcon),e}),[n,o,i]);return r.createElement(He.Provider,{value:a},t)},De=(0,r.createContext)(void 0)},685:(e,t,n)=>{n.d(t,{A:()=>r});const r=(0,n(6540).createContext)(void 0)},2130:(e,t,n)=>{n.d(t,{A:()=>l});const r={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"};const o={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"OK",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},i={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},a={lang:Object.assign({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeQuarterPlaceholder:["Start quarter","End quarter"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o),timePickerLocale:Object.assign({},i)},c="${label} is not a valid ${type}",l={locale:"en",Pagination:r,DatePicker:a,TimePicker:i,Calendar:a,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Tour:{Next:"Next",Previous:"Previous",Finish:"Finish"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",deselectAll:"Deselect all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand",collapse:"Collapse"},Form:{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:c,method:c,array:c,object:c,number:c,date:c,boolean:c,integer:c,float:c,regexp:c,email:c,url:c,hex:c},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}"}}},Image:{preview:"Preview"},QRCode:{expired:"QR code expired",refresh:"Refresh",scanned:"Scanned"},ColorPicker:{presetEmpty:"Empty"}}},9155:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6540),o=n(685),i=n(2130);const a=(e,t)=>{const n=r.useContext(o.A);return[r.useMemo((()=>{var r;const o=t||i.A[e],a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:{};return Object.assign(Object.assign({},"function"==typeof o?o():o),a||{})}),[e,t,n]),r.useMemo((()=>{const e=null==n?void 0:n.locale;return(null==n?void 0:n.exist)&&!e?i.A.locale:e}),[n])]}},7849:(e,t,n)=>{n.d(t,{A:()=>Yn});var r,o=n(8339),i=n(6540),a=n(675),c=n(467),l=n(2284),s=n(9379),u=n(961),f=n.t(u,2),d=(0,s.A)({},f),p=d.version,m=d.render,g=d.unmountComponentAtNode;try{Number((p||"").split(".")[0])>=18&&(r=d.createRoot)}catch(Qn){}function h(e){var t=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,l.A)(t)&&(t.usingClientEntryPoint=e)}var v="__rc_react_root__";function y(e,t){r?function(e,t){h(!0);var n=t[v]||r(t);h(!1),n.render(e),t[v]=n}(e,t):function(e,t){m(e,t)}(e,t)}function b(e){return A.apply(this,arguments)}function A(){return(A=(0,c.A)((0,a.A)().mark((function e(t){return(0,a.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then((function(){var e;null===(e=t[v])||void 0===e||e.unmount(),delete t[v]})));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function x(e){g(e)}function C(e){return w.apply(this,arguments)}function w(){return(w=(0,c.A)((0,a.A)().mark((function e(t){return(0,a.A)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===r){e.next=2;break}return e.abrupt("return",b(t));case 2:x(t);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var E=n(2279),S=n(414),k=n(8168);const O={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"};var P=n(6653),M=function(e,t){return i.createElement(P.A,(0,k.A)({},e,{ref:t,icon:O}))};const $=i.forwardRef(M);var F=n(4754);const j={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"};var R=function(e,t){return i.createElement(P.A,(0,k.A)({},e,{ref:t,icon:j}))};const T=i.forwardRef(R);const N={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"};var I=function(e,t){return i.createElement(P.A,(0,k.A)({},e,{ref:t,icon:N}))};const L=i.forwardRef(I);var z=n(6942),H=n.n(z),B=n(275),D=n(3723),_=n(9155),V=n(3534),W=n(1233),q=n(9853),U=n(8719),X=n(2467),G=n(682),K=n(1173);const Y=e=>{const{componentCls:t,colorPrimary:n}=e;return{[t]:{position:"absolute",background:"transparent",pointerEvents:"none",boxSizing:"border-box",color:`var(--wave-color, ${n})`,boxShadow:"0 0 0 0 currentcolor",opacity:.2,"&.wave-motion-appear":{transition:[`box-shadow 0.4s ${e.motionEaseOutCirc}`,`opacity 2s ${e.motionEaseOutCirc}`].join(","),"&-active":{boxShadow:"0 0 0 6px currentcolor",opacity:0},"&.wave-quick":{transition:[`box-shadow ${e.motionDurationSlow} ${e.motionEaseInOut}`,`opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`].join(",")}}}}},Q=(0,K.Ay)("Wave",(e=>[Y(e)]));var Z=n(1470),J=n(5371);const ee="ant-wave-target";var te=n(8612);function ne(e){return e&&"#fff"!==e&&"#ffffff"!==e&&"rgb(255, 255, 255)"!==e&&"rgba(255, 255, 255, 1)"!==e&&function(e){const t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3]&&t[1]===t[2]&&t[2]===t[3])}(e)&&!/rgba\((?:\d*, ){3}0\)/.test(e)&&"transparent"!==e}function re(e){return Number.isNaN(e)?0:e}const oe=e=>{const{className:t,target:n,component:r}=e,o=i.useRef(null),[a,c]=i.useState(null),[l,s]=i.useState([]),[u,f]=i.useState(0),[d,p]=i.useState(0),[m,g]=i.useState(0),[h,v]=i.useState(0),[y,b]=i.useState(!1),A={left:u,top:d,width:m,height:h,borderRadius:l.map((e=>`${e}px`)).join(" ")};function x(){const e=getComputedStyle(n);c(function(e){const{borderTopColor:t,borderColor:n,backgroundColor:r}=getComputedStyle(e);return ne(t)?t:ne(n)?n:ne(r)?r:null}(n));const t="static"===e.position,{borderLeftWidth:r,borderTopWidth:o}=e;f(t?n.offsetLeft:re(-parseFloat(r))),p(t?n.offsetTop:re(-parseFloat(o))),g(n.offsetWidth),v(n.offsetHeight);const{borderTopLeftRadius:i,borderTopRightRadius:a,borderBottomLeftRadius:l,borderBottomRightRadius:u}=e;s([i,a,u,l].map((e=>re(parseFloat(e)))))}if(a&&(A["--wave-color"]=a),i.useEffect((()=>{if(n){const e=(0,J.A)((()=>{x(),b(!0)}));let t;return"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(x),t.observe(n)),()=>{J.A.cancel(e),null==t||t.disconnect()}}}),[]),!y)return null;const w=("Checkbox"===r||"Radio"===r)&&(null==n?void 0:n.classList.contains(ee));return i.createElement(te.Ay,{visible:!0,motionAppear:!0,motionName:"wave-motion",motionDeadline:5e3,onAppearEnd:(e,t)=>{var n;if(t.deadline||"opacity"===t.propertyName){const e=null===(n=o.current)||void 0===n?void 0:n.parentElement;C(e).then((()=>{null==e||e.remove()}))}return!1}},((e,n)=>{let{className:r}=e;return i.createElement("div",{ref:(0,U.K4)(o,n),className:H()(t,{"wave-quick":w},r),style:A})}))},ie=(e,t)=>{var n;const{component:r}=t;if("Checkbox"===r&&!(null===(n=e.querySelector("input"))||void 0===n?void 0:n.checked))return;const o=document.createElement("div");o.style.position="absolute",o.style.left="0px",o.style.top="0px",null==e||e.insertBefore(o,null==e?void 0:e.firstChild),y(i.createElement(oe,Object.assign({},t,{target:e})),o)},ae=(e,t,n)=>{const{wave:r}=i.useContext(E.QO),[,o,a]=(0,V.Ay)(),c=(0,Z._q)((i=>{const c=e.current;if((null==r?void 0:r.disabled)||!c)return;const l=c.querySelector(`.${ee}`)||c,{showEffect:s}=r||{};(s||ie)(l,{className:t,token:o,component:n,event:i,hashId:a})})),l=i.useRef();return e=>{J.A.cancel(l.current),l.current=(0,J.A)((()=>{c(e)}))}};const ce=e=>{const{children:t,disabled:n,component:r}=e,{getPrefixCls:o}=(0,i.useContext)(E.QO),a=(0,i.useRef)(null),c=o("wave"),[,l]=Q(c),s=ae(a,H()(c,l),r);if(i.useEffect((()=>{const e=a.current;if(!e||1!==e.nodeType||n)return;const t=t=>{!(0,X.A)(t.target)||!e.getAttribute||e.getAttribute("disabled")||e.disabled||e.className.includes("disabled")||e.className.includes("-leave")||s(t)};return e.addEventListener("click",t,!0),()=>{e.removeEventListener("click",t,!0)}}),[n]),!i.isValidElement(t))return null!=t?t:null;const u=(0,U.f3)(t)?(0,U.K4)(t.ref,a):a;return(0,G.Ob)(t,{ref:u})};var le=n(8119),se=n(829),ue=n(6327),fe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{getPrefixCls:t,direction:n}=i.useContext(E.QO),{prefixCls:r,size:o,className:a}=e,c=fe(e,["prefixCls","size","className"]),l=t("btn-group",r),[,,s]=(0,V.Ay)();let u="";switch(o){case"large":u="lg";break;case"small":u="sm"}const f=H()(l,{[`${l}-${u}`]:u,[`${l}-rtl`]:"rtl"===n},a,s);return i.createElement(de.Provider,{value:o},i.createElement("div",Object.assign({},c,{className:f})))},me=/^[\u4e00-\u9fa5]{2}$/,ge=me.test.bind(me);function he(e){return"danger"===e?{danger:!0}:{type:e}}function ve(e){return"string"==typeof e}function ye(e){return"text"===e||"link"===e}function be(e,t){let n=!1;const r=[];return i.Children.forEach(e,(e=>{const t=typeof e,o="string"===t||"number"===t;if(n&&o){const t=r.length-1,n=r[t];r[t]=`${n}${e}`}else r.push(e);n=o})),i.Children.map(r,(e=>function(e,t){if(null==e)return;const n=t?" ":"";return"string"!=typeof e&&"number"!=typeof e&&ve(e.type)&&ge(e.props.children)?(0,G.Ob)(e,{children:e.props.children.split("").join(n)}):ve(e)?ge(e)?i.createElement("span",null,e.split("").join(n)):i.createElement("span",null,e):(0,G.zv)(e)?i.createElement("span",null,e):e}(e,t)))}const Ae=(0,i.forwardRef)(((e,t)=>{const{className:n,style:r,children:o,prefixCls:a}=e,c=H()(`${a}-icon`,n);return i.createElement("span",{ref:t,className:c,style:r},o)})),xe=Ae;var Ce=n(209);const we=(0,i.forwardRef)(((e,t)=>{const{prefixCls:n,className:r,style:o,iconClassName:a,iconPosition:c="start"}=e,l=H()(r,{[`${n}-loading-icon-end`]:"end"===c,[`${n}-loading-icon`]:"start"===c});return i.createElement(xe,{prefixCls:n,className:l,style:o,ref:t},i.createElement(Ce.A,{className:a}))})),Ee=()=>({width:0,opacity:0,transform:"scale(0)"}),Se=e=>({width:e.scrollWidth,opacity:1,transform:"scale(1)"}),ke=e=>{const{prefixCls:t,loading:n,existIcon:r,className:o,style:a,iconPosition:c}=e,l=!!n;return r?i.createElement(we,{prefixCls:t,className:o,style:a,iconPosition:c}):i.createElement(te.Ay,{visible:l,motionName:`${t}-loading-icon-motion`,motionLeave:l,removeOnLeave:!0,onAppearStart:Ee,onAppearActive:Se,onEnterStart:Ee,onEnterActive:Se,onLeaveStart:Se,onLeaveActive:Ee},((e,n)=>{let{className:r,style:l}=e;return i.createElement(we,{prefixCls:t,className:o,style:Object.assign(Object.assign({},a),l),ref:n,iconClassName:r,iconPosition:c})}))};var Oe=n(7689),Pe=n(5905),Me=n(336);const $e=(e,t)=>({[`> span, > ${e}`]:{"&:not(:last-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineEndColor:t}}},"&:not(:first-child)":{[`&, & > ${e}`]:{"&:not(:disabled)":{borderInlineStartColor:t}}}}}),Fe=e=>{const{componentCls:t,fontSize:n,lineWidth:r,groupBorderColor:o,colorErrorHover:i}=e;return{[`${t}-group`]:[{position:"relative",display:"inline-flex",[`> span, > ${t}`]:{"&:not(:last-child)":{[`&, & > ${t}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},"&:not(:first-child)":{marginInlineStart:e.calc(r).mul(-1).equal(),[`&, & > ${t}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}},[t]:{position:"relative",zIndex:1,"&:hover,\n &:focus,\n &:active":{zIndex:2},"&[disabled]":{zIndex:0}},[`${t}-icon-only`]:{fontSize:n}},$e(`${t}-primary`,o),$e(`${t}-danger`,i)]}};var je=n(4925);const Re=e=>{const{paddingInline:t,onlyIconSize:n,paddingBlock:r}=e;return(0,Me.h1)(e,{buttonPaddingHorizontal:t,buttonPaddingVertical:r,buttonIconOnlyFontSize:n})},Te=e=>{var t,n,r,o,i,a;const c=null!==(t=e.contentFontSize)&&void 0!==t?t:e.fontSize,l=null!==(n=e.contentFontSizeSM)&&void 0!==n?n:e.fontSize,s=null!==(r=e.contentFontSizeLG)&&void 0!==r?r:e.fontSizeLG,u=null!==(o=e.contentLineHeight)&&void 0!==o?o:(0,je.k)(c),f=null!==(i=e.contentLineHeightSM)&&void 0!==i?i:(0,je.k)(l),d=null!==(a=e.contentLineHeightLG)&&void 0!==a?a:(0,je.k)(s);return{fontWeight:400,defaultShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlTmpOutline}`,primaryShadow:`0 ${e.controlOutlineWidth}px 0 ${e.controlOutline}`,dangerShadow:`0 ${e.controlOutlineWidth}px 0 ${e.colorErrorOutline}`,primaryColor:e.colorTextLightSolid,dangerColor:e.colorTextLightSolid,borderColorDisabled:e.colorBorder,defaultGhostColor:e.colorBgContainer,ghostBg:"transparent",defaultGhostBorderColor:e.colorBgContainer,paddingInline:e.paddingContentHorizontal-e.lineWidth,paddingInlineLG:e.paddingContentHorizontal-e.lineWidth,paddingInlineSM:8-e.lineWidth,onlyIconSize:e.fontSizeLG,onlyIconSizeSM:e.fontSizeLG-2,onlyIconSizeLG:e.fontSizeLG+2,groupBorderColor:e.colorPrimaryHover,linkHoverBg:"transparent",textHoverBg:e.colorBgTextHover,defaultColor:e.colorText,defaultBg:e.colorBgContainer,defaultBorderColor:e.colorBorder,defaultBorderColorDisabled:e.colorBorder,defaultHoverBg:e.colorBgContainer,defaultHoverColor:e.colorPrimaryHover,defaultHoverBorderColor:e.colorPrimaryHover,defaultActiveBg:e.colorBgContainer,defaultActiveColor:e.colorPrimaryActive,defaultActiveBorderColor:e.colorPrimaryActive,contentFontSize:c,contentFontSizeSM:l,contentFontSizeLG:s,contentLineHeight:u,contentLineHeightSM:f,contentLineHeightLG:d,paddingBlock:Math.max((e.controlHeight-c*u)/2-e.lineWidth,0),paddingBlockSM:Math.max((e.controlHeightSM-l*f)/2-e.lineWidth,0),paddingBlockLG:Math.max((e.controlHeightLG-s*d)/2-e.lineWidth,0)}},Ne=e=>{const{componentCls:t,iconCls:n,fontWeight:r}=e;return{[t]:{outline:"none",position:"relative",display:"inline-block",fontWeight:r,whiteSpace:"nowrap",textAlign:"center",backgroundImage:"none",background:"transparent",border:`${(0,Oe.zA)(e.lineWidth)} ${e.lineType} transparent`,cursor:"pointer",transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,userSelect:"none",touchAction:"manipulation",color:e.colorText,"&:disabled > *":{pointerEvents:"none"},"> span":{display:"inline-block"},[`${t}-icon`]:{lineHeight:0,"&-end":{marginInlineStart:e.marginXS}},[`> ${n} + span, > span + ${n}`]:{marginInlineStart:e.marginXS},[`&:not(${t}-icon-only) > ${t}-icon`]:{[`&${t}-loading-icon, &:not(:last-child)`]:{marginInlineEnd:e.marginXS},[`&${t}-loading-icon-end`]:{marginInlineStart:e.marginXS}},"> a":{color:"currentColor"},"&:not(:disabled)":Object.assign({},(0,Pe.K8)(e)),[`&${t}-two-chinese-chars::first-letter`]:{letterSpacing:"0.34em"},[`&${t}-two-chinese-chars > *:not(${n})`]:{marginInlineEnd:"-0.34em",letterSpacing:"0.34em"},[`&-icon-only${t}-compact-item`]:{flex:"none"}}}},Ie=(e,t,n)=>({[`&:not(:disabled):not(${e}-disabled)`]:{"&:hover":t,"&:active":n}}),Le=e=>({minWidth:e.controlHeight,paddingInlineStart:0,paddingInlineEnd:0,borderRadius:"50%"}),ze=e=>({borderRadius:e.controlHeight,paddingInlineStart:e.calc(e.controlHeight).div(2).equal(),paddingInlineEnd:e.calc(e.controlHeight).div(2).equal()}),He=e=>({cursor:"not-allowed",borderColor:e.borderColorDisabled,color:e.colorTextDisabled,background:e.colorBgContainerDisabled,boxShadow:"none"}),Be=(e,t,n,r,o,i,a,c)=>({[`&${e}-background-ghost`]:Object.assign(Object.assign({color:n||void 0,background:t,borderColor:r||void 0,boxShadow:"none"},Ie(e,Object.assign({background:t},a),Object.assign({background:t},c))),{"&:disabled":{cursor:"not-allowed",color:o||void 0,borderColor:i||void 0}})}),De=e=>({[`&:disabled, &${e.componentCls}-disabled`]:Object.assign({},He(e))}),_e=e=>Object.assign({},De(e)),Ve=e=>({[`&:disabled, &${e.componentCls}-disabled`]:{cursor:"not-allowed",color:e.colorTextDisabled}}),We=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_e(e)),{background:e.defaultBg,borderColor:e.defaultBorderColor,color:e.defaultColor,boxShadow:e.defaultShadow}),Ie(e.componentCls,{color:e.defaultHoverColor,borderColor:e.defaultHoverBorderColor,background:e.defaultHoverBg},{color:e.defaultActiveColor,borderColor:e.defaultActiveBorderColor,background:e.defaultActiveBg})),Be(e.componentCls,e.ghostBg,e.defaultGhostColor,e.defaultGhostBorderColor,e.colorTextDisabled,e.colorBorder)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({color:e.colorError,borderColor:e.colorError},Ie(e.componentCls,{color:e.colorErrorHover,borderColor:e.colorErrorBorderHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),Be(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder)),De(e))}),qe=e=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},_e(e)),{color:e.primaryColor,background:e.colorPrimary,boxShadow:e.primaryShadow}),Ie(e.componentCls,{color:e.colorTextLightSolid,background:e.colorPrimaryHover},{color:e.colorTextLightSolid,background:e.colorPrimaryActive})),Be(e.componentCls,e.ghostBg,e.colorPrimary,e.colorPrimary,e.colorTextDisabled,e.colorBorder,{color:e.colorPrimaryHover,borderColor:e.colorPrimaryHover},{color:e.colorPrimaryActive,borderColor:e.colorPrimaryActive})),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign(Object.assign({background:e.colorError,boxShadow:e.dangerShadow,color:e.dangerColor},Ie(e.componentCls,{background:e.colorErrorHover},{background:e.colorErrorActive})),Be(e.componentCls,e.ghostBg,e.colorError,e.colorError,e.colorTextDisabled,e.colorBorder,{color:e.colorErrorHover,borderColor:e.colorErrorHover},{color:e.colorErrorActive,borderColor:e.colorErrorActive})),De(e))}),Ue=e=>Object.assign(Object.assign({},We(e)),{borderStyle:"dashed"}),Xe=e=>Object.assign(Object.assign(Object.assign({color:e.colorLink},Ie(e.componentCls,{color:e.colorLinkHover,background:e.linkHoverBg},{color:e.colorLinkActive})),Ve(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Ie(e.componentCls,{color:e.colorErrorHover},{color:e.colorErrorActive})),Ve(e))}),Ge=e=>Object.assign(Object.assign(Object.assign({},Ie(e.componentCls,{color:e.colorText,background:e.textHoverBg},{color:e.colorText,background:e.colorBgTextActive})),Ve(e)),{[`&${e.componentCls}-dangerous`]:Object.assign(Object.assign({color:e.colorError},Ve(e)),Ie(e.componentCls,{color:e.colorErrorHover,background:e.colorErrorBg},{color:e.colorErrorHover,background:e.colorErrorBgActive}))}),Ke=e=>{const{componentCls:t}=e;return{[`${t}-default`]:We(e),[`${t}-primary`]:qe(e),[`${t}-dashed`]:Ue(e),[`${t}-link`]:Xe(e),[`${t}-text`]:Ge(e),[`${t}-ghost`]:Be(e.componentCls,e.ghostBg,e.colorBgContainer,e.colorBgContainer,e.colorTextDisabled,e.colorBorder)}},Ye=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const{componentCls:n,controlHeight:r,fontSize:o,lineHeight:i,borderRadius:a,buttonPaddingHorizontal:c,iconCls:l,buttonPaddingVertical:s}=e,u=`${n}-icon-only`;return[{[`${t}`]:{fontSize:o,lineHeight:i,height:r,padding:`${(0,Oe.zA)(s)} ${(0,Oe.zA)(c)}`,borderRadius:a,[`&${u}`]:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:r,paddingInlineStart:0,paddingInlineEnd:0,[`&${n}-round`]:{width:"auto"},[l]:{fontSize:e.buttonIconOnlyFontSize}},[`&${n}-loading`]:{opacity:e.opacityLoading,cursor:"default"},[`${n}-loading-icon`]:{transition:`width ${e.motionDurationSlow} ${e.motionEaseInOut}, opacity ${e.motionDurationSlow} ${e.motionEaseInOut}`}}},{[`${n}${n}-circle${t}`]:Le(e)},{[`${n}${n}-round${t}`]:ze(e)}]},Qe=e=>{const t=(0,Me.h1)(e,{fontSize:e.contentFontSize,lineHeight:e.contentLineHeight});return Ye(t,e.componentCls)},Ze=e=>{const t=(0,Me.h1)(e,{controlHeight:e.controlHeightSM,fontSize:e.contentFontSizeSM,lineHeight:e.contentLineHeightSM,padding:e.paddingXS,buttonPaddingHorizontal:e.paddingInlineSM,buttonPaddingVertical:e.paddingBlockSM,borderRadius:e.borderRadiusSM,buttonIconOnlyFontSize:e.onlyIconSizeSM});return Ye(t,`${e.componentCls}-sm`)},Je=e=>{const t=(0,Me.h1)(e,{controlHeight:e.controlHeightLG,fontSize:e.contentFontSizeLG,lineHeight:e.contentLineHeightLG,buttonPaddingHorizontal:e.paddingInlineLG,buttonPaddingVertical:e.paddingBlockLG,borderRadius:e.borderRadiusLG,buttonIconOnlyFontSize:e.onlyIconSizeLG});return Ye(t,`${e.componentCls}-lg`)},et=e=>{const{componentCls:t}=e;return{[t]:{[`&${t}-block`]:{width:"100%"}}}},tt=(0,K.OF)("Button",(e=>{const t=Re(e);return[Ne(t),Qe(t),Ze(t),Je(t),et(t),Ke(t),Fe(t)]}),Te,{unitless:{fontWeight:!0,contentLineHeight:!0,contentLineHeightSM:!0,contentLineHeightLG:!0}});var nt=n(5974);function rt(e,t){return{[`&-item:not(${t}-last-item)`]:{marginBottom:e.calc(e.lineWidth).mul(-1).equal()},"&-item":{"&:hover,&:focus,&:active":{zIndex:2},"&[disabled]":{zIndex:0}}}}function ot(e){const t=`${e.componentCls}-compact-vertical`;return{[t]:Object.assign(Object.assign({},rt(e,t)),(n=e.componentCls,r=t,{[`&-item:not(${r}-first-item):not(${r}-last-item)`]:{borderRadius:0},[`&-item${r}-first-item:not(${r}-last-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderEndEndRadius:0,borderEndStartRadius:0}},[`&-item${r}-last-item:not(${r}-first-item)`]:{[`&, &${n}-sm, &${n}-lg`]:{borderStartStartRadius:0,borderStartEndRadius:0}}}))};var n,r}const it=e=>{const{componentCls:t,calc:n}=e;return{[t]:{[`&-compact-item${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:e.lineWidth,height:`calc(100% + ${(0,Oe.zA)(e.lineWidth)} * 2)`,backgroundColor:e.colorPrimaryHover,content:'""'}}},"&-compact-vertical-item":{[`&${t}-primary`]:{[`&:not([disabled]) + ${t}-compact-vertical-item${t}-primary:not([disabled])`]:{position:"relative","&:before":{position:"absolute",top:n(e.lineWidth).mul(-1).equal(),insetInlineStart:n(e.lineWidth).mul(-1).equal(),display:"inline-block",width:`calc(100% + ${(0,Oe.zA)(e.lineWidth)} * 2)`,height:e.lineWidth,backgroundColor:e.colorPrimaryHover,content:'""'}}}}}}},at=(0,K.bf)(["Button","compact"],(e=>{const t=Re(e);return[(0,nt.G)(t),ot(t),it(t)]}),Te);var ct=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,r,o;const{loading:a=!1,prefixCls:c,type:l,danger:s,shape:u="default",size:f,styles:d,disabled:p,className:m,rootClassName:g,children:h,icon:v,iconPosition:y="start",ghost:b=!1,block:A=!1,htmlType:x="button",classNames:C,style:w={},autoInsertSpace:S}=e,k=ct(e,["loading","prefixCls","type","danger","shape","size","styles","disabled","className","rootClassName","children","icon","iconPosition","ghost","block","htmlType","classNames","style","autoInsertSpace"]),O=l||"default",{getPrefixCls:P,direction:M,button:$}=(0,i.useContext)(E.QO),F=null===(n=null!=S?S:null==$?void 0:$.autoInsertSpace)||void 0===n||n,j=P("btn",c),[R,T,N]=tt(j),I=(0,i.useContext)(le.A),L=null!=p?p:I,z=(0,i.useContext)(de),B=(0,i.useMemo)((()=>function(e){if("object"==typeof e&&e){let t=null==e?void 0:e.delay;return t=Number.isNaN(t)||"number"!=typeof t?0:t,{loading:t<=0,delay:t}}return{loading:!!e,delay:0}}(a)),[a]),[D,_]=(0,i.useState)(B.loading),[V,W]=(0,i.useState)(!1),X=(0,i.createRef)(),G=(0,U.K4)(t,X),K=1===i.Children.count(h)&&!v&&!ye(O);(0,i.useEffect)((()=>{let e=null;return B.delay>0?e=setTimeout((()=>{e=null,_(!0)}),B.delay):_(B.loading),function(){e&&(clearTimeout(e),e=null)}}),[B]),(0,i.useEffect)((()=>{if(!G||!G.current||!F)return;const e=G.current.textContent;K&&ge(e)?V||W(!0):V&&W(!1)}),[G]);const Y=t=>{const{onClick:n}=e;D||L?t.preventDefault():null==n||n(t)};const{compactSize:Q,compactItemClassnames:Z}=(0,ue.RQ)(j,M),J={large:"lg",small:"sm",middle:void 0},ee=(0,se.A)((e=>{var t,n;return null!==(n=null!==(t=null!=f?f:Q)&&void 0!==t?t:z)&&void 0!==n?n:e})),te=ee&&J[ee]||"",ne=D?"loading":v,re=(0,q.A)(k,["navigate"]),oe=H()(j,T,N,{[`${j}-${u}`]:"default"!==u&&u,[`${j}-${O}`]:O,[`${j}-${te}`]:te,[`${j}-icon-only`]:!h&&0!==h&&!!ne,[`${j}-background-ghost`]:b&&!ye(O),[`${j}-loading`]:D,[`${j}-two-chinese-chars`]:V&&F&&!D,[`${j}-block`]:A,[`${j}-dangerous`]:!!s,[`${j}-rtl`]:"rtl"===M},Z,m,g,null==$?void 0:$.className),ie=Object.assign(Object.assign({},null==$?void 0:$.style),w),ae="end"===y&&h&&0!==h&&ne,fe=H()(null==C?void 0:C.icon,null===(r=null==$?void 0:$.classNames)||void 0===r?void 0:r.icon,{[`${j}-icon-end`]:ae}),pe=Object.assign(Object.assign({},(null==d?void 0:d.icon)||{}),(null===(o=null==$?void 0:$.styles)||void 0===o?void 0:o.icon)||{}),me=v&&!D?i.createElement(xe,{prefixCls:j,className:fe,style:pe},v):i.createElement(ke,{existIcon:!!v,prefixCls:j,loading:!!D,iconPosition:y}),he=h||0===h?be(h,K&&F):null,ve=(e,t)=>"start"===y?i.createElement(i.Fragment,null,e,t):i.createElement(i.Fragment,null,t,e);if(void 0!==re.href)return R(i.createElement("a",Object.assign({},re,{className:H()(oe,{[`${j}-disabled`]:L}),href:L?void 0:re.href,style:ie,onClick:Y,ref:G,tabIndex:L?-1:0}),ve(me,he)));let Ae=i.createElement("button",Object.assign({},k,{type:x,className:oe,style:ie,onClick:Y,disabled:L,ref:G}),ve(me,he),!!Z&&i.createElement(at,{key:"compact",prefixCls:j}));return ye(O)||(Ae=i.createElement(ce,{component:"Button",disabled:!!D},Ae)),R(Ae)}));lt.Group=pe,lt.__ANT_BUTTON=!0;const st=lt;function ut(e){return!(!e||!e.then)}const ft=e=>{const{type:t,children:n,prefixCls:r,buttonProps:o,close:a,autoFocus:c,emitEvent:l,isSilent:s,quitOnNullishReturnValue:u,actionFn:f}=e,d=i.useRef(!1),p=i.useRef(null),[m,g]=(0,W.A)(!1),h=function(){null==a||a.apply(void 0,arguments)};i.useEffect((()=>{let e=null;return c&&(e=setTimeout((()=>{var e;null===(e=p.current)||void 0===e||e.focus()}))),()=>{e&&clearTimeout(e)}}),[]);return i.createElement(st,Object.assign({},he(t),{onClick:e=>{if(d.current)return;if(d.current=!0,!f)return void h();let t;if(l){if(t=f(e),u&&!ut(t))return d.current=!1,void h(e)}else if(f.length)t=f(a),d.current=!1;else if(t=f(),!t)return void h();(e=>{ut(e)&&(g(!0),e.then((function(){g(!1,!0),h.apply(void 0,arguments),d.current=!1}),(e=>{if(g(!1,!0),d.current=!1,!(null==s?void 0:s()))return Promise.reject(e)})))})(t)},loading:m,prefixCls:r},o,{ref:p}),n)},dt=i.createContext({}),{Provider:pt}=dt,mt=()=>{const{autoFocusButton:e,cancelButtonProps:t,cancelTextLocale:n,isSilent:r,mergedOkCancel:o,rootPrefixCls:a,close:c,onCancel:l,onConfirm:s}=(0,i.useContext)(dt);return o?i.createElement(ft,{isSilent:r,actionFn:l,close:function(){null==c||c.apply(void 0,arguments),null==s||s(!1)},autoFocus:"cancel"===e,buttonProps:t,prefixCls:`${a}-btn`},n):null},gt=()=>{const{autoFocusButton:e,close:t,isSilent:n,okButtonProps:r,rootPrefixCls:o,okTextLocale:a,okType:c,onConfirm:l,onOk:s}=(0,i.useContext)(dt);return i.createElement(ft,{isSilent:n,type:c||"primary",actionFn:s,close:function(){null==t||t.apply(void 0,arguments),null==l||l(!0)},autoFocus:"ok"===e,buttonProps:r,prefixCls:`${o}-btn`},a)};var ht=n(6467),vt=n(641),yt=n(3089),bt=i.createContext({}),At=n(4808),xt=n(6855),Ct=n(6928),wt=n(2065);function Et(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}function St(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var o=e.document;"number"!=typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}const kt=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate}));var Ot={width:0,height:0,overflow:"hidden",outline:"none"},Pt={outline:"none"},Mt=i.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,o=e.style,a=e.title,c=e.ariaId,u=e.footer,f=e.closable,d=e.closeIcon,p=e.onClose,m=e.children,g=e.bodyStyle,h=e.bodyProps,v=e.modalRender,y=e.onMouseDown,b=e.onMouseUp,A=e.holderRef,x=e.visible,C=e.forceRender,w=e.width,E=e.height,S=e.classNames,O=e.styles,P=i.useContext(bt).panel,M=(0,U.xK)(A,P),$=(0,i.useRef)(),F=(0,i.useRef)(),j=(0,i.useRef)();i.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=j.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===F.current?$.current.focus():e||t!==$.current||F.current.focus()}}}));var R,T,N={};void 0!==w&&(N.width=w),void 0!==E&&(N.height=E),u&&(R=i.createElement("div",{className:H()("".concat(n,"-footer"),null==S?void 0:S.footer),style:(0,s.A)({},null==O?void 0:O.footer)},u)),a&&(T=i.createElement("div",{className:H()("".concat(n,"-header"),null==S?void 0:S.header),style:(0,s.A)({},null==O?void 0:O.header)},i.createElement("div",{className:"".concat(n,"-title"),id:c},a)));var I,L=(0,i.useMemo)((function(){return"object"===(0,l.A)(f)&&null!==f?f:f?{closeIcon:null!=d?d:i.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[f,d]),z=(0,wt.A)(L,!0);f&&(I=i.createElement("button",(0,k.A)({type:"button",onClick:p,"aria-label":"Close"},z,{className:"".concat(n,"-close")}),L.closeIcon));var B=i.createElement("div",{className:H()("".concat(n,"-content"),null==S?void 0:S.content),style:null==O?void 0:O.content},I,T,i.createElement("div",(0,k.A)({className:H()("".concat(n,"-body"),null==S?void 0:S.body),style:(0,s.A)((0,s.A)({},g),null==O?void 0:O.body)},h),m),R);return i.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":a?c:null,"aria-modal":"true",ref:M,style:(0,s.A)((0,s.A)({},o),N),className:H()(n,r),onMouseDown:y,onMouseUp:b},i.createElement("div",{tabIndex:0,ref:$,style:Ot,"aria-hidden":"true"}),i.createElement("div",{ref:j,tabIndex:-1,style:Pt},i.createElement(kt,{shouldUpdate:x||C},v?v(B):B)),i.createElement("div",{tabIndex:0,ref:F,style:Ot,"aria-hidden":"true"}))}));const $t=Mt;var Ft=i.forwardRef((function(e,t){var n=e.prefixCls,r=e.title,o=e.style,a=e.className,c=e.visible,l=e.forceRender,u=e.destroyOnClose,f=e.motionName,d=e.ariaId,p=e.onVisibleChanged,m=e.mousePosition,g=(0,i.useRef)(),h=i.useState(),v=(0,vt.A)(h,2),y=v[0],b=v[1],A={};function x(){var e,t,n,r,o,i=(e=g.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow,n.left+=St(o),n.top+=St(o,!0),n);b(m?"".concat(m.x-i.left,"px ").concat(m.y-i.top,"px"):"")}return y&&(A.transformOrigin=y),i.createElement(te.Ay,{visible:c,onVisibleChanged:p,onAppearPrepare:x,onEnterPrepare:x,forceRender:l,motionName:f,removeOnLeave:u,ref:g},(function(c,l){var u=c.className,f=c.style;return i.createElement($t,(0,k.A)({},e,{ref:t,title:r,ariaId:d,prefixCls:n,holderRef:l,style:(0,s.A)((0,s.A)((0,s.A)({},f),o),A),className:H()(a,u)}))}))}));Ft.displayName="Content";const jt=Ft;function Rt(e){var t=e.prefixCls,n=e.style,r=e.visible,o=e.maskProps,a=e.motionName,c=e.className;return i.createElement(te.Ay,{key:"mask",visible:r,motionName:a,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,r){var a=e.className,l=e.style;return i.createElement("div",(0,k.A)({ref:r,style:(0,s.A)((0,s.A)({},l),n),className:H()("".concat(t,"-mask"),a,c)},o))}))}n(8210);function Tt(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,o=e.visible,a=void 0!==o&&o,c=e.keyboard,l=void 0===c||c,u=e.focusTriggerAfterClose,f=void 0===u||u,d=e.wrapStyle,p=e.wrapClassName,m=e.wrapProps,g=e.onClose,h=e.afterOpenChange,v=e.afterClose,y=e.transitionName,b=e.animation,A=e.closable,x=void 0===A||A,C=e.mask,w=void 0===C||C,E=e.maskTransitionName,S=e.maskAnimation,O=e.maskClosable,P=void 0===O||O,M=e.maskStyle,$=e.maskProps,F=e.rootClassName,j=e.classNames,R=e.styles;var T=(0,i.useRef)(),N=(0,i.useRef)(),I=(0,i.useRef)(),L=i.useState(a),z=(0,vt.A)(L,2),B=z[0],D=z[1],_=(0,xt.A)();function V(e){null==g||g(e)}var W=(0,i.useRef)(!1),q=(0,i.useRef)(),U=null;return P&&(U=function(e){W.current?W.current=!1:N.current===e.target&&V(e)}),(0,i.useEffect)((function(){a&&(D(!0),(0,At.A)(N.current,document.activeElement)||(T.current=document.activeElement))}),[a]),(0,i.useEffect)((function(){return function(){clearTimeout(q.current)}}),[]),i.createElement("div",(0,k.A)({className:H()("".concat(n,"-root"),F)},(0,wt.A)(e,{data:!0})),i.createElement(Rt,{prefixCls:n,visible:w&&a,motionName:Et(n,E,S),style:(0,s.A)((0,s.A)({zIndex:r},M),null==R?void 0:R.mask),maskProps:$,className:null==j?void 0:j.mask}),i.createElement("div",(0,k.A)({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===Ct.A.ESC)return e.stopPropagation(),void V(e);a&&e.keyCode===Ct.A.TAB&&I.current.changeActive(!e.shiftKey)},className:H()("".concat(n,"-wrap"),p,null==j?void 0:j.wrapper),ref:N,onClick:U,style:(0,s.A)((0,s.A)((0,s.A)({zIndex:r},d),null==R?void 0:R.wrapper),{},{display:B?null:"none"})},m),i.createElement(jt,(0,k.A)({},e,{onMouseDown:function(){clearTimeout(q.current),W.current=!0},onMouseUp:function(){q.current=setTimeout((function(){W.current=!1}))},ref:I,closable:x,ariaId:_,prefixCls:n,visible:a&&B,onClose:V,onVisibleChanged:function(e){if(e)(0,At.A)(N.current,document.activeElement)||null===(t=I.current)||void 0===t||t.focus();else{if(D(!1),w&&T.current&&f){try{T.current.focus({preventScroll:!0})}catch(Qn){}T.current=null}B&&(null==v||v())}var t;null==h||h(e)},motionName:Et(n,y,b)}))))}var Nt=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,o=e.destroyOnClose,a=void 0!==o&&o,c=e.afterClose,l=e.panelRef,s=i.useState(t),u=(0,vt.A)(s,2),f=u[0],d=u[1],p=i.useMemo((function(){return{panel:l}}),[l]);return i.useEffect((function(){t&&d(!0)}),[t]),r||!a||f?i.createElement(bt.Provider,{value:p},i.createElement(yt.A,{open:t||r||f,autoDestroy:!1,getContainer:n,autoLock:t||f},i.createElement(Tt,(0,k.A)({},e,{destroyOnClose:a,afterClose:function(){null==c||c(),d(!1)}})))):null};Nt.displayName="Dialog";const It=Nt;function Lt(e){if(e)return{closable:e.closable,closeIcon:e.closeIcon}}function zt(e){const{closable:t,closeIcon:n}=e||{};return i.useMemo((()=>{if(!t&&(!1===t||!1===n||null===n))return!1;if(void 0===t&&void 0===n)return null;let e={closeIcon:"boolean"!=typeof n&&null!==n?n:void 0};return t&&"object"==typeof t&&(e=Object.assign(Object.assign({},e),t)),e}),[t,n])}function Ht(){const e={};for(var t=arguments.length,n=new Array(t),r=0;r{t&&Object.keys(t).forEach((n=>{void 0!==t[n]&&(e[n]=t[n])}))})),e}const Bt={};var Dt=n(998);var _t=n(2616),Vt=n(934),Wt=n(1961);function qt(){}const Ut=i.createContext({add:qt,remove:qt});const Xt=()=>{const{cancelButtonProps:e,cancelTextLocale:t,onCancel:n}=(0,i.useContext)(dt);return i.createElement(st,Object.assign({onClick:n},e),t)},Gt=()=>{const{confirmLoading:e,okButtonProps:t,okType:n,okTextLocale:r,onOk:o}=(0,i.useContext)(dt);return i.createElement(st,Object.assign({},he(n),{loading:e,onClick:o},t),r)};var Kt=n(1815);function Yt(e,t){return i.createElement("span",{className:`${e}-close-x`},t||i.createElement(ht.A,{className:`${e}-close-icon`}))}const Qt=e=>{const{okText:t,okType:n="primary",cancelText:r,confirmLoading:a,onOk:c,onCancel:l,okButtonProps:s,cancelButtonProps:u,footer:f}=e,[d]=(0,_.A)("Modal",(0,Kt.l)()),p={confirmLoading:a,okButtonProps:s,cancelButtonProps:u,okTextLocale:t||(null==d?void 0:d.okText),cancelTextLocale:r||(null==d?void 0:d.cancelText),okType:n,onOk:c,onCancel:l},m=i.useMemo((()=>p),(0,o.A)(Object.values(p)));let g;return"function"==typeof f||void 0===f?(g=i.createElement(i.Fragment,null,i.createElement(Xt,null),i.createElement(Gt,null)),"function"==typeof f&&(g=f(g,{OkBtn:Gt,CancelBtn:Xt})),g=i.createElement(pt,{value:m},g)):g=f,i.createElement(le.X,{disabled:!1},g)};var Zt=n(4980);const Jt=new Oe.Mo("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),en=new Oe.Mo("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),tn=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,r=`${n}-fade`,o=t?"&":"";return[(0,Zt.b)(r,Jt,en,e.motionDurationMid,t),{[`\n ${o}${r}-enter,\n ${o}${r}-appear\n `]:{opacity:0,animationTimingFunction:"linear"},[`${o}${r}-leave`]:{animationTimingFunction:"linear"}}]},nn=new Oe.Mo("antZoomIn",{"0%":{transform:"scale(0.2)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),rn=new Oe.Mo("antZoomOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.2)",opacity:0}}),on=new Oe.Mo("antZoomBigIn",{"0%":{transform:"scale(0.8)",opacity:0},"100%":{transform:"scale(1)",opacity:1}}),an=new Oe.Mo("antZoomBigOut",{"0%":{transform:"scale(1)"},"100%":{transform:"scale(0.8)",opacity:0}}),cn=new Oe.Mo("antZoomUpIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 0%"}}),ln=new Oe.Mo("antZoomUpOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 0%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 0%",opacity:0}}),sn={zoom:{inKeyframes:nn,outKeyframes:rn},"zoom-big":{inKeyframes:on,outKeyframes:an},"zoom-big-fast":{inKeyframes:on,outKeyframes:an},"zoom-left":{inKeyframes:new Oe.Mo("antZoomLeftIn",{"0%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"0% 50%"}}),outKeyframes:new Oe.Mo("antZoomLeftOut",{"0%":{transform:"scale(1)",transformOrigin:"0% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"0% 50%",opacity:0}})},"zoom-right":{inKeyframes:new Oe.Mo("antZoomRightIn",{"0%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"100% 50%"}}),outKeyframes:new Oe.Mo("antZoomRightOut",{"0%":{transform:"scale(1)",transformOrigin:"100% 50%"},"100%":{transform:"scale(0.8)",transformOrigin:"100% 50%",opacity:0}})},"zoom-up":{inKeyframes:cn,outKeyframes:ln},"zoom-down":{inKeyframes:new Oe.Mo("antZoomDownIn",{"0%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0},"100%":{transform:"scale(1)",transformOrigin:"50% 100%"}}),outKeyframes:new Oe.Mo("antZoomDownOut",{"0%":{transform:"scale(1)",transformOrigin:"50% 100%"},"100%":{transform:"scale(0.8)",transformOrigin:"50% 100%",opacity:0}})}},un=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:o,outKeyframes:i}=sn[t];return[(0,Zt.b)(r,o,i,"zoom-big-fast"===t?e.motionDurationFast:e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",opacity:0,animationTimingFunction:e.motionEaseOutCirc,"&-prepare":{transform:"none"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]};function fn(e){return{position:e,inset:0}}const dn=e=>{const{componentCls:t,antCls:n}=e;return[{[`${t}-root`]:{[`${t}${n}-zoom-enter, ${t}${n}-zoom-appear`]:{transform:"none",opacity:0,animationDuration:e.motionDurationSlow,userSelect:"none"},[`${t}${n}-zoom-leave ${t}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},fn("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},fn("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:tn(e)}]},pn=e=>{const{componentCls:t}=e;return[{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl"},[`${t}-centered`]:{textAlign:"center","&::before":{display:"inline-block",width:0,height:"100%",verticalAlign:"middle",content:'""'},[t]:{top:0,display:"inline-block",paddingBottom:0,textAlign:"start",verticalAlign:"middle"}},[`@media (max-width: ${e.screenSMMax}px)`]:{[t]:{maxWidth:"calc(100vw - 16px)",margin:`${(0,Oe.zA)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Pe.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,Oe.zA)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({position:"absolute",top:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),insetInlineEnd:e.calc(e.modalHeaderHeight).sub(e.modalCloseBtnSize).div(2).equal(),zIndex:e.calc(e.zIndexPopupBase).add(10).equal(),padding:0,color:e.modalCloseIconColor,fontWeight:e.fontWeightStrong,lineHeight:1,textDecoration:"none",background:"transparent",borderRadius:e.borderRadiusSM,width:e.modalCloseBtnSize,height:e.modalCloseBtnSize,border:0,outline:0,cursor:"pointer",transition:`color ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,Oe.zA)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Pe.K8)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,Oe.zA)(e.borderRadiusLG)} ${(0,Oe.zA)(e.borderRadiusLG)} 0 0`,marginBottom:e.headerMarginBottom,padding:e.headerPadding,borderBottom:e.headerBorderBottom},[`${t}-body`]:{fontSize:e.fontSize,lineHeight:e.lineHeight,wordWrap:"break-word",padding:e.bodyPadding},[`${t}-footer`]:{textAlign:"end",background:e.footerBg,marginTop:e.footerMarginTop,padding:e.footerPadding,borderTop:e.footerBorderTop,borderRadius:e.footerBorderRadius,[`> ${e.antCls}-btn + ${e.antCls}-btn`]:{marginInlineStart:e.marginXS}},[`${t}-open`]:{overflow:"hidden"}})},{[`${t}-pure-panel`]:{top:"auto",padding:0,display:"flex",flexDirection:"column",[`${t}-content,\n ${t}-body,\n ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},mn=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}},gn=e=>{const t=e.padding,n=e.fontSizeHeading5,r=e.lineHeightHeading5;return(0,Me.h1)(e,{modalHeaderHeight:e.calc(e.calc(r).mul(n).equal()).add(e.calc(t).mul(2).equal()).equal(),modalFooterBorderColorSplit:e.colorSplit,modalFooterBorderStyle:e.lineType,modalFooterBorderWidth:e.lineWidth,modalCloseIconColor:e.colorIcon,modalCloseIconHoverColor:e.colorIconHover,modalCloseBtnSize:e.controlHeight,modalConfirmIconSize:e.fontHeight,modalTitleHeight:e.calc(e.titleFontSize).mul(e.titleLineHeight).equal()})},hn=e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,Oe.zA)(e.paddingMD)} ${(0,Oe.zA)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,Oe.zA)(e.padding)} ${(0,Oe.zA)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,Oe.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,Oe.zA)(e.paddingXS)} ${(0,Oe.zA)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,Oe.zA)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,Oe.zA)(e.borderRadiusLG)} ${(0,Oe.zA)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,Oe.zA)(2*e.padding)} ${(0,Oe.zA)(2*e.padding)} ${(0,Oe.zA)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM}),vn=(0,K.OF)("Modal",(e=>{const t=gn(e);return[pn(t),mn(t),dn(t),un(t,"zoom")]}),hn,{unitless:{titleLineHeight:!0}});var yn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{bn={x:e.pageX,y:e.pageY},setTimeout((()=>{bn=null}),100)};(0,Dt.A)()&&window.document.documentElement&&document.documentElement.addEventListener("click",An,!0);const xn=e=>{var t;const{getPopupContainer:n,getPrefixCls:r,direction:o,modal:a}=i.useContext(E.QO),c=t=>{const{onCancel:n}=e;null==n||n(t)};const{prefixCls:l,className:s,rootClassName:u,open:f,wrapClassName:d,centered:p,getContainer:m,focusTriggerAfterClose:g=!0,style:h,visible:v,width:y=520,footer:b,classNames:A,styles:x}=e,C=yn(e,["prefixCls","className","rootClassName","open","wrapClassName","centered","getContainer","focusTriggerAfterClose","style","visible","width","footer","classNames","styles"]),w=r("modal",l),S=r(),k=(0,Vt.A)(w),[O,P,M]=vn(w,k),$=H()(d,{[`${w}-centered`]:!!p,[`${w}-wrap-rtl`]:"rtl"===o}),F=null!==b&&i.createElement(Qt,Object.assign({},e,{onOk:t=>{const{onOk:n}=e;null==n||n(t)},onCancel:c})),[j,R]=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bt;const r=zt(e),o=zt(t),a=i.useMemo((()=>Object.assign({closeIcon:i.createElement(ht.A,null)},n)),[n]),c=i.useMemo((()=>!1!==r&&(r?Ht(a,o,r):!1!==o&&(o?Ht(a,o):!!a.closable&&a))),[r,o,a]);return i.useMemo((()=>{if(!1===c)return[!1,null];const{closeIconRender:e}=a,{closeIcon:t}=c;let n=t;if(null!=n){e&&(n=e(t));const r=(0,wt.A)(c,!0);Object.keys(r).length&&(n=i.isValidElement(n)?i.cloneElement(n,r):i.createElement("span",Object.assign({},r),n))}return[!0,n]}),[c,a])}(Lt(e),Lt(a),{closable:!0,closeIcon:i.createElement(ht.A,{className:`${w}-close-icon`}),closeIconRender:e=>Yt(w,e)}),T=function(e){const t=i.useContext(Ut),n=i.useRef();return(0,Z._q)((r=>{if(r){const o=e?r.querySelector(e):r;t.add(o),n.current=o}else t.remove(n.current)}))}(`.${w}-content`),[N,I]=(0,B.YK)("Modal",C.zIndex);return O(i.createElement(ue.K6,null,i.createElement(Wt.XB,{status:!0,override:!0},i.createElement(_t.A.Provider,{value:I},i.createElement(It,Object.assign({width:y},C,{zIndex:N,getContainer:void 0===m?n:m,prefixCls:w,rootClassName:H()(P,u,M,k),footer:F,visible:null!=f?f:v,mousePosition:null!==(t=C.mousePosition)&&void 0!==t?t:bn,onClose:c,closable:j,closeIcon:R,focusTriggerAfterClose:g,transitionName:(0,D.b)(S,"zoom",e.transitionName),maskTransitionName:(0,D.b)(S,"fade",e.maskTransitionName),className:H()(P,s,null==a?void 0:a.className),style:Object.assign(Object.assign({},null==a?void 0:a.style),h),classNames:Object.assign(Object.assign(Object.assign({},null==a?void 0:a.classNames),A),{wrapper:H()($,null==A?void 0:A.wrapper)}),styles:Object.assign(Object.assign({},null==a?void 0:a.styles),x),panelRef:T}))))))},Cn=e=>{const{componentCls:t,titleFontSize:n,titleLineHeight:r,modalConfirmIconSize:o,fontSize:i,lineHeight:a,modalTitleHeight:c,fontHeight:l,confirmBodyPadding:s}=e,u=`${t}-confirm`;return{[u]:{"&-rtl":{direction:"rtl"},[`${e.antCls}-modal-header`]:{display:"none"},[`${u}-body-wrapper`]:Object.assign({},(0,Pe.t6)()),[`&${t} ${t}-body`]:{padding:s},[`${u}-body`]:{display:"flex",flexWrap:"nowrap",alignItems:"start",[`> ${e.iconCls}`]:{flex:"none",fontSize:o,marginInlineEnd:e.confirmIconMarginInlineEnd,marginTop:e.calc(e.calc(l).sub(o).equal()).div(2).equal()},[`&-has-title > ${e.iconCls}`]:{marginTop:e.calc(e.calc(c).sub(o).equal()).div(2).equal()}},[`${u}-paragraph`]:{display:"flex",flexDirection:"column",flex:"auto",rowGap:e.marginXS},[`${e.iconCls} + ${u}-paragraph`]:{maxWidth:`calc(100% - ${(0,Oe.zA)(e.calc(e.modalConfirmIconSize).add(e.marginSM).equal())})`},[`${u}-title`]:{color:e.colorTextHeading,fontWeight:e.fontWeightStrong,fontSize:n,lineHeight:r},[`${u}-content`]:{color:e.colorText,fontSize:i,lineHeight:a},[`${u}-btns`]:{textAlign:"end",marginTop:e.confirmBtnsMarginTop,[`${e.antCls}-btn + ${e.antCls}-btn`]:{marginBottom:0,marginInlineStart:e.marginXS}}},[`${u}-error ${u}-body > ${e.iconCls}`]:{color:e.colorError},[`${u}-warning ${u}-body > ${e.iconCls},\n ${u}-confirm ${u}-body > ${e.iconCls}`]:{color:e.colorWarning},[`${u}-info ${u}-body > ${e.iconCls}`]:{color:e.colorInfo},[`${u}-success ${u}-body > ${e.iconCls}`]:{color:e.colorSuccess}}},wn=(0,K.bf)(["Modal","confirm"],(e=>{const t=gn(e);return[Cn(t)]}),hn,{order:-1e3});var En=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oA),(0,o.A)(Object.values(A))),C=i.createElement(i.Fragment,null,i.createElement(mt,null),i.createElement(gt,null)),w=void 0!==e.title&&null!==e.title,E=`${c}-body`;return i.createElement("div",{className:`${c}-body-wrapper`},i.createElement("div",{className:H()(E,{[`${E}-has-title`]:w})},p,i.createElement("div",{className:`${c}-paragraph`},w&&i.createElement("span",{className:`${c}-title`},e.title),i.createElement("div",{className:`${c}-content`},e.content))),void 0===u||"function"==typeof u?i.createElement(pt,{value:x},i.createElement("div",{className:`${c}-btns`},"function"==typeof u?u(C,{OkBtn:gt,CancelBtn:mt}):C)):u,i.createElement(wn,{prefixCls:t}))}const kn=e=>{const{close:t,zIndex:n,afterClose:r,open:o,keyboard:a,centered:c,getContainer:l,maskStyle:s,direction:u,prefixCls:f,wrapClassName:d,rootPrefixCls:p,bodyStyle:m,closable:g=!1,closeIcon:h,modalRender:v,focusTriggerAfterClose:y,onConfirm:b,styles:A}=e;const x=`${f}-confirm`,C=e.width||416,w=e.style||{},E=void 0===e.mask||e.mask,S=void 0!==e.maskClosable&&e.maskClosable,k=H()(x,`${x}-${e.type}`,{[`${x}-rtl`]:"rtl"===u},e.className),[,O]=(0,V.Ay)(),P=i.useMemo((()=>void 0!==n?n:O.zIndexPopupBase+B.jH),[n,O]);return i.createElement(xn,{prefixCls:f,className:k,wrapClassName:H()({[`${x}-centered`]:!!e.centered},d),onCancel:()=>{null==t||t({triggerCancel:!0}),null==b||b(!1)},open:o,title:"",footer:null,transitionName:(0,D.b)(p||"","zoom",e.transitionName),maskTransitionName:(0,D.b)(p||"","fade",e.maskTransitionName),mask:E,maskClosable:S,style:w,styles:Object.assign({body:m,mask:s},A),width:C,zIndex:P,afterClose:r,keyboard:a,centered:c,getContainer:l,closable:g,closeIcon:h,modalRender:v,focusTriggerAfterClose:y},i.createElement(Sn,Object.assign({},e,{confirmPrefixCls:x})))};const On=e=>{const{rootPrefixCls:t,iconPrefixCls:n,direction:r,theme:o}=e;return i.createElement(S.Ay,{prefixCls:t,iconPrefixCls:n,direction:r,theme:o},i.createElement(kn,Object.assign({},e)))},Pn=[];let Mn="";function $n(){return Mn}const Fn=e=>{var t,n;const{prefixCls:r,getContainer:o,direction:a}=e,c=(0,Kt.l)(),l=(0,i.useContext)(E.QO),s=$n()||l.getPrefixCls(),u=r||`${s}-modal`;let f=o;return!1===f&&(f=void 0),i.createElement(On,Object.assign({},e,{rootPrefixCls:s,prefixCls:u,iconPrefixCls:l.iconPrefixCls,theme:l.theme,direction:null!=a?a:l.direction,locale:null!==(n=null===(t=l.locale)||void 0===t?void 0:t.Modal)&&void 0!==n?n:c,getContainer:f}))};function jn(e){const t=(0,S.cr)();const n=document.createDocumentFragment();let r,a=Object.assign(Object.assign({},e),{close:s,open:!0});function c(){for(var t=arguments.length,r=new Array(t),i=0;ie&&e.triggerCancel));e.onCancel&&a&&e.onCancel.apply(e,[()=>{}].concat((0,o.A)(r.slice(1))));for(let e=0;e{const r=t.getPrefixCls(void 0,$n()),o=t.getIconPrefixCls(),a=t.getTheme(),c=i.createElement(Fn,Object.assign({},e));y(i.createElement(S.Ay,{prefixCls:r,iconPrefixCls:o,theme:a},t.holderRender?t.holderRender(c):c),n)}))}function s(){for(var t=arguments.length,n=new Array(t),r=0;r{"function"==typeof e.afterClose&&e.afterClose(),c.apply(this,n)}}),a.visible&&delete a.visible,l(a)}return l(a),Pn.push(s),{destroy:s,update:function(e){a="function"==typeof e?e(a):Object.assign(Object.assign({},a),e),l(a)}}}function Rn(e){return Object.assign(Object.assign({},e),{type:"warning"})}function Tn(e){return Object.assign(Object.assign({},e),{type:"info"})}function Nn(e){return Object.assign(Object.assign({},e),{type:"success"})}function In(e){return Object.assign(Object.assign({},e),{type:"error"})}function Ln(e){return Object.assign(Object.assign({},e),{type:"confirm"})}var zn=n(3425),Hn=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const{prefixCls:t,className:n,closeIcon:r,closable:o,type:a,title:c,children:l,footer:s}=e,u=Hn(e,["prefixCls","className","closeIcon","closable","type","title","children","footer"]),{getPrefixCls:f}=i.useContext(E.QO),d=f(),p=t||f("modal"),m=(0,Vt.A)(d),[g,h,v]=vn(p,m),y=`${p}-confirm`;let b={};return b=a?{closable:null!=o&&o,title:"",footer:"",children:i.createElement(Sn,Object.assign({},e,{prefixCls:p,confirmPrefixCls:y,rootPrefixCls:d,content:l}))}:{closable:null==o||o,title:c,footer:null!==s&&i.createElement(Qt,Object.assign({},e)),children:l},g(i.createElement($t,Object.assign({prefixCls:p,className:H()(h,`${p}-pure-panel`,a&&y,a&&`${y}-${a}`,n,v,m)},u,{closeIcon:Yt(p,r),closable:o},b)))}));var Dn=n(2130),_n=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{var n,{afterClose:r,config:a}=e,c=_n(e,["afterClose","config"]);const[l,s]=i.useState(!0),[u,f]=i.useState(a),{direction:d,getPrefixCls:p}=i.useContext(E.QO),m=p("modal"),g=p(),h=function(){s(!1);for(var e=arguments.length,t=new Array(e),n=0;ne&&e.triggerCancel));u.onCancel&&r&&u.onCancel.apply(u,[()=>{}].concat((0,o.A)(t.slice(1))))};i.useImperativeHandle(t,(()=>({destroy:h,update:e=>{f((t=>Object.assign(Object.assign({},t),e)))}})));const v=null!==(n=u.okCancel)&&void 0!==n?n:"confirm"===u.type,[y]=(0,_.A)("Modal",Dn.A.Modal);return i.createElement(On,Object.assign({prefixCls:m,rootPrefixCls:g},u,{close:h,open:l,afterClose:()=>{var e;r(),null===(e=u.afterClose)||void 0===e||e.call(u)},okText:u.okText||(v?null==y?void 0:y.okText:null==y?void 0:y.justOkText),direction:u.direction||d,cancelText:u.cancelText||(null==y?void 0:y.cancelText)},c))},Wn=i.forwardRef(Vn);let qn=0;const Un=i.memo(i.forwardRef(((e,t)=>{const[n,r]=function(){const[e,t]=i.useState([]);return[e,i.useCallback((e=>(t((t=>[].concat((0,o.A)(t),[e]))),()=>{t((t=>t.filter((t=>t!==e))))})),[])]}();return i.useImperativeHandle(t,(()=>({patchElement:r})),[]),i.createElement(i.Fragment,null,n)})));const Xn=function(){const e=i.useRef(null),[t,n]=i.useState([]);i.useEffect((()=>{if(t.length){(0,o.A)(t).forEach((e=>{e()})),n([])}}),[t]);const r=i.useCallback((t=>function(r){var a;qn+=1;const c=i.createRef();let l;const s=new Promise((e=>{l=e}));let u,f=!1;const d=i.createElement(Wn,{key:`modal-${qn}`,config:t(r),ref:c,afterClose:()=>{null==u||u()},isSilent:()=>f,onConfirm:e=>{l(e)}});u=null===(a=e.current)||void 0===a?void 0:a.patchElement(d),u&&Pn.push(u);const p={destroy:()=>{function e(){var e;null===(e=c.current)||void 0===e||e.destroy()}c.current?e():n((t=>[].concat((0,o.A)(t),[e])))},update:e=>{function t(){var t;null===(t=c.current)||void 0===t||t.update(e)}c.current?t():n((e=>[].concat((0,o.A)(e),[t])))},then:e=>(f=!0,s.then(e))};return p}),[]);return[i.useMemo((()=>({info:r(Tn),success:r(Nn),error:r(In),warning:r(Rn),confirm:r(Ln)})),[]),i.createElement(Un,{key:"modal-holder",ref:e})]};function Gn(e){return jn(Rn(e))}const Kn=xn;Kn.useModal=Xn,Kn.info=function(e){return jn(Tn(e))},Kn.success=function(e){return jn(Nn(e))},Kn.error=function(e){return jn(In(e))},Kn.warning=Gn,Kn.warn=Gn,Kn.confirm=function(e){return jn(Ln(e))},Kn.destroyAll=function(){for(;Pn.length;){const e=Pn.pop();e&&e()}},Kn.config=function(e){let{rootPrefixCls:t}=e;Mn=t},Kn._InternalPanelDoNotUseOrYouWillBeFired=Bn;const Yn=Kn},1815:(e,t,n)=>{n.d(t,{L:()=>c,l:()=>l});var r=n(2130);let o=Object.assign({},r.A.Modal),i=[];const a=()=>i.reduce(((e,t)=>Object.assign(Object.assign({},e),t)),r.A.Modal);function c(e){if(e){const t=Object.assign({},e);return i.push(t),o=a(),()=>{i=i.filter((e=>e!==t)),o=a()}}o=Object.assign({},r.A.Modal)}function l(){return o}},6327:(e,t,n)=>{n.d(t,{K6:()=>l,RQ:()=>c});var r=n(6540),o=n(6942),i=n.n(o);n(2546);const a=r.createContext(null),c=(e,t)=>{const n=r.useContext(a),o=r.useMemo((()=>{if(!n)return"";const{compactDirection:r,isFirstItem:o,isLastItem:a}=n,c="vertical"===r?"-vertical-":"-";return i()(`${e}-compact${c}item`,{[`${e}-compact${c}first-item`]:o,[`${e}-compact${c}last-item`]:a,[`${e}-compact${c}item-rtl`]:"rtl"===t})}),[e,t,n]);return{compactSize:null==n?void 0:n.compactSize,compactDirection:null==n?void 0:n.compactDirection,compactItemClassnames:o}},l=e=>{let{children:t}=e;return r.createElement(a.Provider,{value:null},t)}},5974:(e,t,n)=>{function r(e,t,n){const{focusElCls:r,focus:o,borderElCls:i}=n,a=i?"> *":"",c=["hover",o?"focus":null,"active"].filter(Boolean).map((e=>`&:${e} ${a}`)).join(",");return{[`&-item:not(${t}-last-item)`]:{marginInlineEnd:e.calc(e.lineWidth).mul(-1).equal()},"&-item":Object.assign(Object.assign({[c]:{zIndex:2}},r?{[`&${r}`]:{zIndex:2}}:{}),{[`&[disabled] ${a}`]:{zIndex:0}})}}function o(e,t,n){const{borderElCls:r}=n,o=r?`> ${r}`:"";return{[`&-item:not(${t}-first-item):not(${t}-last-item) ${o}`]:{borderRadius:0},[`&-item:not(${t}-last-item)${t}-first-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${t}-first-item)${t}-last-item`]:{[`& ${o}, &${e}-sm ${o}, &${e}-lg ${o}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:n}=e,i=`${n}-compact`;return{[i]:Object.assign(Object.assign({},r(e,i,t)),o(n,i,t))}}n.d(t,{G:()=>i})},5905:(e,t,n)=>{n.d(t,{K8:()=>f,L9:()=>o,Nk:()=>a,av:()=>l,dF:()=>i,t6:()=>c,vj:()=>s});var r=n(7689);const o={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},i=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{boxSizing:"border-box",margin:0,padding:0,color:e.colorText,fontSize:e.fontSize,lineHeight:e.lineHeight,listStyle:"none",fontFamily:t?"inherit":e.fontFamily}},a=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),c=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),l=e=>({a:{color:e.colorLink,textDecoration:e.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${e.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:e.colorLinkHover},"&:active":{color:e.colorLinkActive},"&:active,\n &:hover":{textDecoration:e.linkHoverDecoration,outline:0},"&:focus":{textDecoration:e.linkFocusDecoration,outline:0},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}}),s=(e,t,n,r)=>{const o=`[class^="${t}"], [class*=" ${t}"]`,i=n?`.${n}`:o,a={boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}};let c={};return!1!==r&&(c={fontFamily:e.fontFamily,fontSize:e.fontSize}),{[i]:Object.assign(Object.assign(Object.assign({},c),a),{[o]:a})}},u=e=>({outline:`${(0,r.zA)(e.lineWidthFocus)} solid ${e.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),f=e=>({"&:focus-visible":Object.assign({},u(e))})},4980:(e,t,n)=>{n.d(t,{b:()=>i});const r=e=>({animationDuration:e,animationFillMode:"both"}),o=e=>({animationDuration:e,animationFillMode:"both"}),i=function(e,t,n,i){const a=arguments.length>4&&void 0!==arguments[4]&&arguments[4]?"&":"";return{[`\n ${a}${e}-enter,\n ${a}${e}-appear\n `]:Object.assign(Object.assign({},r(i)),{animationPlayState:"paused"}),[`${a}${e}-leave`]:Object.assign(Object.assign({},o(i)),{animationPlayState:"paused"}),[`\n ${a}${e}-enter${e}-enter-active,\n ${a}${e}-appear${e}-appear-active\n `]:{animationName:t,animationPlayState:"running"},[`${a}${e}-leave${e}-leave-active`]:{animationName:n,animationPlayState:"running",pointerEvents:"none"}}}},3561:(e,t,n)=>{n.d(t,{YU:()=>l,_j:()=>m,nP:()=>c,ox:()=>i,vR:()=>a});var r=n(7689),o=n(4980);const i=new r.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),a=new r.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),c=new r.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),l=new r.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s=new r.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),u=new r.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),f=new r.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),d=new r.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:i,outKeyframes:a},"slide-down":{inKeyframes:c,outKeyframes:l},"slide-left":{inKeyframes:s,outKeyframes:u},"slide-right":{inKeyframes:f,outKeyframes:d}},m=(e,t)=>{const{antCls:n}=e,r=`${n}-${t}`,{inKeyframes:i,outKeyframes:a}=p[t];return[(0,o.b)(r,i,a,e.motionDurationMid),{[`\n ${r}-enter,\n ${r}-appear\n `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${r}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},9790:(e,t,n)=>{n.d(t,{vG:()=>y,sb:()=>v,zQ:()=>h});var r=n(6540),o=n(7689),i=n(2742),a=n(723),c=n(4978);const l=e=>{let t=e,n=e,r=e,o=e;return e<6&&e>=5?t=e+1:e<16&&e>=6?t=e+2:e>=16&&(t=16),e<7&&e>=5?n=4:e<8&&e>=7?n=5:e<14&&e>=8?n=6:e<16&&e>=14?n=7:e>=16&&(n=8),e<6&&e>=2?r=1:e>=6&&(r=2),e>4&&e<8?o=4:e>=8&&(o=6),{borderRadius:e,borderRadiusXS:r,borderRadiusSM:n,borderRadiusLG:t,borderRadiusOuter:o}};const s=e=>{const{controlHeight:t}=e;return{controlHeightSM:.75*t,controlHeightXS:.5*t,controlHeightLG:1.25*t}};var u=n(4925);const f=e=>{const t=(0,u.A)(e),n=t.map((e=>e.size)),r=t.map((e=>e.lineHeight)),o=n[1],i=n[0],a=n[2],c=r[1],l=r[0],s=r[2];return{fontSizeSM:i,fontSize:o,fontSizeLG:a,fontSizeXL:n[3],fontSizeHeading1:n[6],fontSizeHeading2:n[5],fontSizeHeading3:n[4],fontSizeHeading4:n[3],fontSizeHeading5:n[2],lineHeight:c,lineHeightLG:s,lineHeightSM:l,fontHeight:Math.round(c*o),fontHeightLG:Math.round(s*a),fontHeightSM:Math.round(l*i),lineHeightHeading1:r[6],lineHeightHeading2:r[5],lineHeightHeading3:r[4],lineHeightHeading4:r[3],lineHeightHeading5:r[2]}};const d=(e,t)=>new c.q(e).setAlpha(t).toRgbString(),p=(e,t)=>new c.q(e).darken(t).toHexString(),m=e=>{const t=(0,i.cM)(e);return{1:t[0],2:t[1],3:t[2],4:t[3],5:t[4],6:t[5],7:t[6],8:t[4],9:t[5],10:t[6]}},g=(e,t)=>{const n=e||"#fff",r=t||"#000";return{colorBgBase:n,colorTextBase:r,colorText:d(r,.88),colorTextSecondary:d(r,.65),colorTextTertiary:d(r,.45),colorTextQuaternary:d(r,.25),colorFill:d(r,.15),colorFillSecondary:d(r,.06),colorFillTertiary:d(r,.04),colorFillQuaternary:d(r,.02),colorBgLayout:p(n,4),colorBgContainer:p(n,0),colorBgElevated:p(n,0),colorBgSpotlight:d(r,.85),colorBgBlur:"transparent",colorBorder:p(n,15),colorBorderSecondary:p(n,6)}};const h=(0,o.an)((function(e){const t=Object.keys(a.r).map((t=>{const n=(0,i.cM)(e[t]);return new Array(10).fill(1).reduce(((e,r,o)=>(e[`${t}-${o+1}`]=n[o],e[`${t}${o+1}`]=n[o],e)),{})})).reduce(((e,t)=>e=Object.assign(Object.assign({},e),t)),{});return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),t),function(e,t){let{generateColorPalettes:n,generateNeutralColorPalettes:r}=t;const{colorSuccess:o,colorWarning:i,colorError:a,colorInfo:l,colorPrimary:s,colorBgBase:u,colorTextBase:f}=e,d=n(s),p=n(o),m=n(i),g=n(a),h=n(l),v=r(u,f),y=n(e.colorLink||e.colorInfo);return Object.assign(Object.assign({},v),{colorPrimaryBg:d[1],colorPrimaryBgHover:d[2],colorPrimaryBorder:d[3],colorPrimaryBorderHover:d[4],colorPrimaryHover:d[5],colorPrimary:d[6],colorPrimaryActive:d[7],colorPrimaryTextHover:d[8],colorPrimaryText:d[9],colorPrimaryTextActive:d[10],colorSuccessBg:p[1],colorSuccessBgHover:p[2],colorSuccessBorder:p[3],colorSuccessBorderHover:p[4],colorSuccessHover:p[4],colorSuccess:p[6],colorSuccessActive:p[7],colorSuccessTextHover:p[8],colorSuccessText:p[9],colorSuccessTextActive:p[10],colorErrorBg:g[1],colorErrorBgHover:g[2],colorErrorBgActive:g[3],colorErrorBorder:g[3],colorErrorBorderHover:g[4],colorErrorHover:g[5],colorError:g[6],colorErrorActive:g[7],colorErrorTextHover:g[8],colorErrorText:g[9],colorErrorTextActive:g[10],colorWarningBg:m[1],colorWarningBgHover:m[2],colorWarningBorder:m[3],colorWarningBorderHover:m[4],colorWarningHover:m[4],colorWarning:m[6],colorWarningActive:m[7],colorWarningTextHover:m[8],colorWarningText:m[9],colorWarningTextActive:m[10],colorInfoBg:h[1],colorInfoBgHover:h[2],colorInfoBorder:h[3],colorInfoBorderHover:h[4],colorInfoHover:h[4],colorInfo:h[6],colorInfoActive:h[7],colorInfoTextHover:h[8],colorInfoText:h[9],colorInfoTextActive:h[10],colorLinkHover:y[4],colorLink:y[6],colorLinkActive:y[7],colorBgMask:new c.q("#000").setAlpha(.45).toRgbString(),colorWhite:"#fff"})}(e,{generateColorPalettes:m,generateNeutralColorPalettes:g})),f(e.fontSize)),function(e){const{sizeUnit:t,sizeStep:n}=e;return{sizeXXL:t*(n+8),sizeXL:t*(n+4),sizeLG:t*(n+2),sizeMD:t*(n+1),sizeMS:t*n,size:t*n,sizeSM:t*(n-1),sizeXS:t*(n-2),sizeXXS:t*(n-3)}}(e)),s(e)),function(e){const{motionUnit:t,motionBase:n,borderRadius:r,lineWidth:o}=e;return Object.assign({motionDurationFast:`${(n+t).toFixed(1)}s`,motionDurationMid:`${(n+2*t).toFixed(1)}s`,motionDurationSlow:`${(n+3*t).toFixed(1)}s`,lineWidthBold:o+1},l(r))}(e))})),v={token:a.A,override:{override:a.A},hashed:!0},y=r.createContext(v)},723:(e,t,n)=>{n.d(t,{A:()=>o,r:()=>r});const r={blue:"#1677ff",purple:"#722ED1",cyan:"#13C2C2",green:"#52C41A",magenta:"#EB2F96",pink:"#eb2f96",red:"#F5222D",orange:"#FA8C16",yellow:"#FADB14",volcano:"#FA541C",geekblue:"#2F54EB",gold:"#FAAD14",lime:"#A0D911"},o=Object.assign(Object.assign({},r),{colorPrimary:"#1677ff",colorSuccess:"#52c41a",colorWarning:"#faad14",colorError:"#ff4d4f",colorInfo:"#1677ff",colorLink:"",colorTextBase:"",colorBgBase:"",fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,\n'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',\n'Noto Color Emoji'",fontFamilyCode:"'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace",fontSize:14,lineWidth:1,lineType:"solid",motionUnit:.1,motionBase:0,motionEaseOutCirc:"cubic-bezier(0.08, 0.82, 0.17, 1)",motionEaseInOutCirc:"cubic-bezier(0.78, 0.14, 0.15, 0.86)",motionEaseOut:"cubic-bezier(0.215, 0.61, 0.355, 1)",motionEaseInOut:"cubic-bezier(0.645, 0.045, 0.355, 1)",motionEaseOutBack:"cubic-bezier(0.12, 0.4, 0.29, 1.46)",motionEaseInBack:"cubic-bezier(0.71, -0.46, 0.88, 0.6)",motionEaseInQuint:"cubic-bezier(0.755, 0.05, 0.855, 0.06)",motionEaseOutQuint:"cubic-bezier(0.23, 1, 0.32, 1)",borderRadius:6,sizeUnit:4,sizeStep:4,sizePopupArrow:16,controlHeight:32,zIndexBase:0,zIndexPopupBase:1e3,opacityImage:1,wireframe:!1,motion:!0})},4925:(e,t,n)=>{function r(e){return(e+8)/e}function o(e){const t=new Array(10).fill(null).map(((t,n)=>{const r=n-1,o=e*Math.pow(2.71828,r/5),i=n>1?Math.floor(o):Math.ceil(o);return 2*Math.floor(i/2)}));return t[1]=e,t.map((e=>({size:e,lineHeight:r(e)})))}n.d(t,{A:()=>o,k:()=>r})},3534:(e,t,n)=>{n.d(t,{Ay:()=>y,Xe:()=>g,Is:()=>m});var r=n(6540),o=n(7689);const i="5.17.1";var a=n(9790),c=n(723),l=n(4978);function s(e){return e>=0&&e<=255}const u=function(e,t){const{r:n,g:r,b:o,a:i}=new l.q(e).toRgb();if(i<1)return e;const{r:a,g:c,b:u}=new l.q(t).toRgb();for(let f=.01;f<=1;f+=.01){const e=Math.round((n-a*(1-f))/f),t=Math.round((r-c*(1-f))/f),i=Math.round((o-u*(1-f))/f);if(s(e)&&s(t)&&s(i))return new l.q({r:e,g:t,b:i,a:Math.round(100*f)/100}).toRgbString()}return new l.q({r:n,g:r,b:o,a:1}).toRgbString()};var f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{delete r[e]}));const o=Object.assign(Object.assign({},n),r),i=1200,a=1600;if(!1===o.motion){const e="0s";o.motionDurationFast=e,o.motionDurationMid=e,o.motionDurationSlow=e}return Object.assign(Object.assign(Object.assign({},o),{colorFillContent:o.colorFillSecondary,colorFillContentHover:o.colorFill,colorFillAlter:o.colorFillQuaternary,colorBgContainerDisabled:o.colorFillTertiary,colorBorderBg:o.colorBgContainer,colorSplit:u(o.colorBorderSecondary,o.colorBgContainer),colorTextPlaceholder:o.colorTextQuaternary,colorTextDisabled:o.colorTextQuaternary,colorTextHeading:o.colorText,colorTextLabel:o.colorTextSecondary,colorTextDescription:o.colorTextTertiary,colorTextLightSolid:o.colorWhite,colorHighlight:o.colorError,colorBgTextHover:o.colorFillSecondary,colorBgTextActive:o.colorFill,colorIcon:o.colorTextTertiary,colorIconHover:o.colorText,colorErrorOutline:u(o.colorErrorBg,o.colorBgContainer),colorWarningOutline:u(o.colorWarningBg,o.colorBgContainer),fontSizeIcon:o.fontSizeSM,lineWidthFocus:4*o.lineWidth,lineWidth:o.lineWidth,controlOutlineWidth:2*o.lineWidth,controlInteractiveSize:o.controlHeight/2,controlItemBgHover:o.colorFillTertiary,controlItemBgActive:o.colorPrimaryBg,controlItemBgActiveHover:o.colorPrimaryBgHover,controlItemBgActiveDisabled:o.colorFill,controlTmpOutline:o.colorFillQuaternary,controlOutline:u(o.colorPrimaryBg,o.colorBgContainer),lineType:o.lineType,borderRadius:o.borderRadius,borderRadiusXS:o.borderRadiusXS,borderRadiusSM:o.borderRadiusSM,borderRadiusLG:o.borderRadiusLG,fontWeightStrong:600,opacityLoading:.65,linkDecoration:"none",linkHoverDecoration:"none",linkFocusDecoration:"none",controlPaddingHorizontal:12,controlPaddingHorizontalSM:8,paddingXXS:o.sizeXXS,paddingXS:o.sizeXS,paddingSM:o.sizeSM,padding:o.size,paddingMD:o.sizeMD,paddingLG:o.sizeLG,paddingXL:o.sizeXL,paddingContentHorizontalLG:o.sizeLG,paddingContentVerticalLG:o.sizeMS,paddingContentHorizontal:o.sizeMS,paddingContentVertical:o.sizeSM,paddingContentHorizontalSM:o.size,paddingContentVerticalSM:o.sizeXS,marginXXS:o.sizeXXS,marginXS:o.sizeXS,marginSM:o.sizeSM,margin:o.size,marginMD:o.sizeMD,marginLG:o.sizeLG,marginXL:o.sizeXL,marginXXL:o.sizeXXL,boxShadow:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowSecondary:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTertiary:"\n 0 1px 2px 0 rgba(0, 0, 0, 0.03),\n 0 1px 6px -1px rgba(0, 0, 0, 0.02),\n 0 2px 4px 0 rgba(0, 0, 0, 0.02)\n ",screenXS:480,screenXSMin:480,screenXSMax:575,screenSM:576,screenSMMin:576,screenSMMax:767,screenMD:768,screenMDMin:768,screenMDMax:991,screenLG:992,screenLGMin:992,screenLGMax:1199,screenXL:i,screenXLMin:i,screenXLMax:1599,screenXXL:a,screenXXLMin:a,boxShadowPopoverArrow:"2px 2px 5px rgba(0, 0, 0, 0.05)",boxShadowCard:`\n 0 1px 2px -2px ${new l.q("rgba(0, 0, 0, 0.16)").toRgbString()},\n 0 3px 6px 0 ${new l.q("rgba(0, 0, 0, 0.12)").toRgbString()},\n 0 5px 12px 4px ${new l.q("rgba(0, 0, 0, 0.09)").toRgbString()}\n `,boxShadowDrawerRight:"\n -6px 0 16px 0 rgba(0, 0, 0, 0.08),\n -3px 0 6px -4px rgba(0, 0, 0, 0.12),\n -9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerLeft:"\n 6px 0 16px 0 rgba(0, 0, 0, 0.08),\n 3px 0 6px -4px rgba(0, 0, 0, 0.12),\n 9px 0 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerUp:"\n 0 6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowDrawerDown:"\n 0 -6px 16px 0 rgba(0, 0, 0, 0.08),\n 0 -3px 6px -4px rgba(0, 0, 0, 0.12),\n 0 -9px 28px 8px rgba(0, 0, 0, 0.05)\n ",boxShadowTabsOverflowLeft:"inset 10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowRight:"inset -10px 0 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowTop:"inset 0 10px 8px -8px rgba(0, 0, 0, 0.08)",boxShadowTabsOverflowBottom:"inset 0 -10px 8px -8px rgba(0, 0, 0, 0.08)"}),r)}var p=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o{const r=n.getDerivativeToken(e),{override:o}=t,i=p(t,["override"]);let a=Object.assign(Object.assign({},r),{override:o});return a=d(a),i&&Object.entries(i).forEach((e=>{let[t,n]=e;const{theme:r}=n,o=p(n,["theme"]);let i=o;r&&(i=v(Object.assign(Object.assign({},a),o),{override:o},r)),a[t]=i})),a};function y(){const{token:e,hashed:t,theme:n,override:l,cssVar:s}=r.useContext(a.vG),u=`${i}-${t||""}`,f=n||a.zQ,[p,y,b]=(0,o.hV)(f,[c.A,e],{salt:u,override:l,getComputedToken:v,formatToken:d,cssVar:s&&{prefix:s.prefix,key:s.key,unitless:m,ignore:g,preserve:h}});return[f,b,t?y:"",p,s]}},1173:(e,t,n)=>{n.d(t,{Ay:()=>O,OF:()=>M,bf:()=>P});var r=n(6540),o=n(7689),i=(n(1470),n(2279)),a=n(5905),c=n(3534),l=n(3029),s=n(2901),u=n(3954),f=n(2176),d=n(6822);function p(e,t,n){return t=(0,u.A)(t),(0,d.A)(e,(0,f.A)()?Reflect.construct(t,n||[],(0,u.A)(e).constructor):t.apply(e,n))}var m=n(5501);const g=(0,s.A)((function e(){(0,l.A)(this,e)})),h="CALC_UNIT",v=new RegExp(h,"g");function y(e){return"number"==typeof e?`${e}${h}`:e}let b=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result="",e instanceof t?n.result=`(${e.result})`:"number"==typeof e?n.result=y(e):"string"==typeof e&&(n.result=e),n}return(0,m.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result=`${this.result} + ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} + ${y(e)}`),this.lowPriority=!0,this}},{key:"sub",value:function(e){return e instanceof t?this.result=`${this.result} - ${e.getResult()}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} - ${y(e)}`),this.lowPriority=!0,this}},{key:"mul",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} * ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} * ${e}`),this.lowPriority=!1,this}},{key:"div",value:function(e){return this.lowPriority&&(this.result=`(${this.result})`),e instanceof t?this.result=`${this.result} / ${e.getResult(!0)}`:"number"!=typeof e&&"string"!=typeof e||(this.result=`${this.result} / ${e}`),this.lowPriority=!1,this}},{key:"getResult",value:function(e){return this.lowPriority||e?`(${this.result})`:this.result}},{key:"equal",value:function(e){const{unit:t=!0}=e||{};return this.result=this.result.replace(v,t?"px":""),void 0!==this.lowPriority?`calc(${this.result})`:this.result}}])}(g),A=function(e){function t(e){var n;return(0,l.A)(this,t),(n=p(this,t)).result=0,e instanceof t?n.result=e.result:"number"==typeof e&&(n.result=e),n}return(0,m.A)(t,e),(0,s.A)(t,[{key:"add",value:function(e){return e instanceof t?this.result+=e.result:"number"==typeof e&&(this.result+=e),this}},{key:"sub",value:function(e){return e instanceof t?this.result-=e.result:"number"==typeof e&&(this.result-=e),this}},{key:"mul",value:function(e){return e instanceof t?this.result*=e.result:"number"==typeof e&&(this.result*=e),this}},{key:"div",value:function(e){return e instanceof t?this.result/=e.result:"number"==typeof e&&(this.result/=e),this}},{key:"equal",value:function(){return this.result}}])}(g);const x=e=>{const t="css"===e?b:A;return e=>new t(e)};var C=n(336),w=n(2366);const E=(e,t,n)=>{var r;return"function"==typeof n?n((0,C.h1)(t,null!==(r=t[e])&&void 0!==r?r:{})):null!=n?n:{}},S=(e,t,n,r)=>{const o=Object.assign({},t[e]);if(null==r?void 0:r.deprecatedTokens){const{deprecatedTokens:e}=r;e.forEach((e=>{let[t,n]=e;var r;((null==o?void 0:o[t])||(null==o?void 0:o[n]))&&(null!==(r=o[n])&&void 0!==r||(o[n]=null==o?void 0:o[t]))}))}const i=Object.assign(Object.assign({},n),o);return Object.keys(i).forEach((e=>{i[e]===t[e]&&delete i[e]})),i},k=(e,t)=>`${[t,e.replace(/([A-Z]+)([A-Z][a-z]+)/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2")].filter(Boolean).join("-")}`;function O(e,t,n){let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const s=Array.isArray(e)?e:[e,e],[u]=s,f=s.join("-");return function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[d,p,m,g,h]=(0,c.Ay)(),{getPrefixCls:v,iconPrefixCls:y,csp:b}=(0,r.useContext)(i.QO),A=v(),O=h?"css":"js",P=x(O),{max:M,min:$}=function(e){return"js"===e?{max:Math.max,min:Math.min}:{max:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`},min:function(){for(var e=arguments.length,t=new Array(e),n=0;n(0,o.zA)(e))).join(",")})`}}}(O),F={theme:d,token:g,hashId:m,nonce:()=>null==b?void 0:b.nonce,clientOnly:l.clientOnly,layer:{name:"antd"},order:l.order||-999};(0,o.IV)(Object.assign(Object.assign({},F),{clientOnly:!1,path:["Shared",A]}),(()=>[{"&":(0,a.av)(g)}])),(0,w.A)(y,b);return[(0,o.IV)(Object.assign(Object.assign({},F),{path:[f,e,y]}),(()=>{if(!1===l.injectStyle)return[];const{token:r,flush:i}=(0,C.Ay)(g),c=E(u,p,n),f=`.${e}`,d=S(u,p,c,{deprecatedTokens:l.deprecatedTokens});h&&Object.keys(c).forEach((e=>{c[e]=`var(${(0,o.Ki)(e,k(u,h.prefix))})`}));const v=(0,C.h1)(r,{componentCls:f,prefixCls:e,iconCls:`.${y}`,antCls:`.${A}`,calc:P,max:M,min:$},h?c:d),b=t(v,{hashId:m,prefixCls:e,rootPrefixCls:A,iconPrefixCls:y});return i(u,d),[!1===l.resetStyle?null:(0,a.vj)(v,e,s,l.resetFont),b]})),m]}}const P=(e,t,n,r)=>{const o=O(e,t,n,Object.assign({resetStyle:!1,order:-998},r));return e=>{let{prefixCls:t,rootCls:n=t}=e;return o(t,n),null}},M=(e,t,n,i)=>{const a=O(e,t,n,i),l=((e,t,n)=>{function i(t){return`${e}${t.slice(0,1).toUpperCase()}${t.slice(1)}`}const{unitless:a={},injectStyle:l=!0}=null!=n?n:{},s={[i("zIndexPopup")]:!0};Object.keys(a).forEach((e=>{s[i(e)]=a[e]}));const u=r=>{let{rootCls:a,cssVar:l}=r;const[,u]=(0,c.Ay)();return(0,o.RC)({path:[e],prefix:l.prefix,key:null==l?void 0:l.key,unitless:Object.assign(Object.assign({},c.Is),s),ignore:c.Xe,token:u,scope:a},(()=>{const r=E(e,u,t),o=S(e,u,r,{deprecatedTokens:null==n?void 0:n.deprecatedTokens});return Object.keys(r).forEach((e=>{o[i(e)]=o[e],delete o[e]})),o})),null};return t=>{const[,,,,n]=(0,c.Ay)();return[o=>l&&n?r.createElement(r.Fragment,null,r.createElement(u,{rootCls:t,cssVar:n,component:e}),o):o,null==n?void 0:n.key]}})(Array.isArray(e)?e[0]:e,n,i);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e;const[,n]=a(e,t),[r,o]=l(t);return[r,n,o]}}},336:(e,t,n)=>{n.d(t,{Ay:()=>l,h1:()=>i});const r="undefined"!=typeof CSSINJS_STATISTIC;let o=!0;function i(){for(var e=arguments.length,t=new Array(e),n=0;n{Object.keys(e).forEach((t=>{Object.defineProperty(i,t,{configurable:!0,enumerable:!0,get:()=>e[t]})}))})),o=!0,i}const a={};function c(){}const l=e=>{let t,n=e,i=c;return r&&"undefined"!=typeof Proxy&&(t=new Set,n=new Proxy(e,{get:(e,n)=>(o&&t.add(n),e[n])}),i=(e,n)=>{var r;a[e]={global:Array.from(t),component:Object.assign(Object.assign({},null===(r=a[e])||void 0===r?void 0:r.component),n)}}),{token:n,keys:t,flush:i}}},2366:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(7689),o=n(5905),i=n(3534);const a=(e,t)=>{const[n,a]=(0,i.Ay)();return(0,r.IV)({theme:n,token:a,hashId:"",path:["ant-design-icons",e],nonce:()=>null==t?void 0:t.nonce,layer:{name:"antd"}},(()=>[{[`.${e}`]:Object.assign(Object.assign({},(0,o.Nk)()),{[`.${e} .${e}-icon`]:{display:"block"}})}]))}},8612:(e,t,n)=>{n.d(t,{Kq:()=>g,Ay:()=>ye});var r=n(4467),o=n(9379),i=n(641),a=n(2284),c=n(6942),l=n.n(c),s=n(6112),u=n(8719),f=n(6540),d=n(45),p=["children"],m=f.createContext({});function g(e){var t=e.children,n=(0,d.A)(e,p);return f.createElement(m.Provider,{value:n},t)}var h=n(3029),v=n(2901),y=n(5501),b=n(9426);const A=function(e){(0,y.A)(n,e);var t=(0,b.A)(n);function n(){return(0,h.A)(this,n),t.apply(this,arguments)}return(0,v.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(f.Component);var x=n(1470),C=n(1233),w=n(6956);var E="none",S="appear",k="enter",O="leave",P="none",M="prepare",$="start",F="active",j="end",R="prepared",T=n(998);function N(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var I,L,z,H=(I=(0,T.A)(),L="undefined"!=typeof window?window:{},z={animationend:N("Animation","AnimationEnd"),transitionend:N("Transition","TransitionEnd")},I&&("AnimationEvent"in L||delete z.animationend.animation,"TransitionEvent"in L||delete z.transitionend.transition),z),B={};if((0,T.A)()){var D=document.createElement("div");B=D.style}var _={};function V(e){if(_[e])return _[e];var t=H[e];if(t)for(var n=Object.keys(t),r=n.length,o=0;o1&&void 0!==arguments[1]?arguments[1]:2;t();var i=(0,Z.A)((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=(0,i.A)(l,2),u=s[0],d=s[1];var p=t?ee:J;return Q((function(){if(a!==P&&a!==j){var e=p.indexOf(a),t=p[e+1],r=n(a);r===te?c(t,!0):t&&u((function(e){function n(){e.isCanceled()||c(t,!0)}!0===r?n():Promise.resolve(r).then(n)}))}}),[e,a]),f.useEffect((function(){return function(){d()}}),[]),[function(){c(M,!0)},a]};function ie(e,t,n,a){var c,l,s,u,d=a.motionEnter,p=void 0===d||d,m=a.motionAppear,g=void 0===m||m,h=a.motionLeave,v=void 0===h||h,y=a.motionDeadline,b=a.motionLeaveImmediately,A=a.onAppearPrepare,P=a.onEnterPrepare,j=a.onLeavePrepare,T=a.onAppearStart,N=a.onEnterStart,I=a.onLeaveStart,L=a.onAppearActive,z=a.onEnterActive,H=a.onLeaveActive,B=a.onAppearEnd,D=a.onEnterEnd,_=a.onLeaveEnd,V=a.onVisibleChanged,W=(0,C.A)(),q=(0,i.A)(W,2),U=q[0],X=q[1],G=(c=E,l=f.useReducer((function(e){return e+1}),0),s=(0,i.A)(l,2)[1],u=f.useRef(c),[(0,w.A)((function(){return u.current})),(0,w.A)((function(e){u.current="function"==typeof e?e(u.current):e,s()}))]),K=(0,i.A)(G,2),Z=K[0],J=K[1],ee=(0,C.A)(null),ie=(0,i.A)(ee,2),ae=ie[0],ce=ie[1],le=Z(),se=(0,f.useRef)(!1),ue=(0,f.useRef)(null);function fe(){return n()}var de=(0,f.useRef)(!1);function pe(){J(E),ce(null,!0)}var me=(0,x._q)((function(e){var t=Z();if(t!==E){var n=fe();if(!e||e.deadline||e.target===n){var r,o=de.current;t===S&&o?r=null==B?void 0:B(n,e):t===k&&o?r=null==D?void 0:D(n,e):t===O&&o&&(r=null==_?void 0:_(n,e)),o&&!1!==r&&pe()}}})),ge=Y(me),he=(0,i.A)(ge,1)[0],ve=function(e){switch(e){case S:return(0,r.A)((0,r.A)((0,r.A)({},M,A),$,T),F,L);case k:return(0,r.A)((0,r.A)((0,r.A)({},M,P),$,N),F,z);case O:return(0,r.A)((0,r.A)((0,r.A)({},M,j),$,I),F,H);default:return{}}},ye=f.useMemo((function(){return ve(le)}),[le]),be=oe(le,!e,(function(e){if(e===M){var t=ye[M];return t?t(fe()):te}var n;Ce in ye&&ce((null===(n=ye[Ce])||void 0===n?void 0:n.call(ye,fe(),null))||null);return Ce===F&&le!==E&&(he(fe()),y>0&&(clearTimeout(ue.current),ue.current=setTimeout((function(){me({deadline:!0})}),y))),Ce===R&&pe(),ne})),Ae=(0,i.A)(be,2),xe=Ae[0],Ce=Ae[1],we=re(Ce);de.current=we,Q((function(){X(t);var n,r=se.current;se.current=!0,!r&&t&&g&&(n=S),r&&t&&p&&(n=k),(r&&!t&&v||!r&&b&&!t&&v)&&(n=O);var o=ve(n);n&&(e||o[M])?(J(n),xe()):J(E)}),[t]),(0,f.useEffect)((function(){(le===S&&!g||le===k&&!p||le===O&&!v)&&J(E)}),[g,p,v]),(0,f.useEffect)((function(){return function(){se.current=!1,clearTimeout(ue.current)}}),[]);var Ee=f.useRef(!1);(0,f.useEffect)((function(){U&&(Ee.current=!0),void 0!==U&&le===E&&((Ee.current||U)&&(null==V||V(U)),Ee.current=!0)}),[U,le]);var Se=ae;return ye[M]&&Ce===$&&(Se=(0,o.A)({transition:"none"},Se)),[le,Ce,Se,null!=U?U:t]}const ae=function(e){var t=e;"object"===(0,a.A)(e)&&(t=e.transitionSupport);var n=f.forwardRef((function(e,n){var a=e.visible,c=void 0===a||a,d=e.removeOnLeave,p=void 0===d||d,g=e.forceRender,h=e.children,v=e.motionName,y=e.leavedClassName,b=e.eventProps,x=function(e,n){return!(!e.motionName||!t||!1===n)}(e,f.useContext(m).motion),C=(0,f.useRef)(),w=(0,f.useRef)();var S=ie(x,c,(function(){try{return C.current instanceof HTMLElement?C.current:(0,s.Ay)(w.current)}catch(e){return null}}),e),k=(0,i.A)(S,4),O=k[0],P=k[1],F=k[2],j=k[3],R=f.useRef(j);j&&(R.current=!0);var T,N=f.useCallback((function(e){C.current=e,(0,u.Xf)(n,e)}),[n]),I=(0,o.A)((0,o.A)({},b),{},{visible:c});if(h)if(O===E)T=j?h((0,o.A)({},I),N):!p&&R.current&&y?h((0,o.A)((0,o.A)({},I),{},{className:y}),N):g||!p&&!y?h((0,o.A)((0,o.A)({},I),{},{style:{display:"none"}}),N):null;else{var L;P===M?L="prepare":re(P)?L="active":P===$&&(L="start");var z=K(v,"".concat(O,"-").concat(L));T=h((0,o.A)((0,o.A)({},I),{},{className:l()(K(v,O),(0,r.A)((0,r.A)({},z,z&&L),v,"string"==typeof v)),style:F}),N)}else T=null;f.isValidElement(T)&&(0,u.f3)(T)&&(T.ref||(T=f.cloneElement(T,{ref:N})));return f.createElement(A,{ref:w},T)}));return n.displayName="CSSMotion",n}(U);var ce=n(8168),le=n(9417),se="add",ue="keep",fe="remove",de="removed";function pe(e){var t;return t=e&&"object"===(0,a.A)(e)&&"key"in e?e:{key:e},(0,o.A)((0,o.A)({},t),{},{key:String(t.key)})}function me(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).map(pe)}var ge=["component","children","onVisibleChanged","onAllRemoved"],he=["status"],ve=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearPrepare","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ae,n=function(e){(0,y.A)(i,e);var n=(0,b.A)(i);function i(){var e;(0,h.A)(this,i);for(var t=arguments.length,a=new Array(t),c=0;c0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=me(e),c=me(t);a.forEach((function(e){for(var t=!1,a=r;a1})).forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==fe}))).forEach((function(t){t.key===e&&(t.status=ue)}))})),n}(r,i);return{keyEntities:a.filter((function(e){var t=r.find((function(t){var n=t.key;return e.key===n}));return!t||t.status!==de||e.status!==fe}))}}}]),i}(f.Component);(0,r.A)(n,"defaultProps",{component:"div"})}(U);const ye=ae},6799:(e,t,n)=>{n.d(t,{A:()=>N});var r=n(8168),o=n(9379),i=n(641),a=n(45),c=n(6540),l=n(6942),s=n.n(l),u=n(5470),f=n(981),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function m(e,t){var n=e.prefixCls,i=e.invalidate,l=e.item,f=e.renderItem,m=e.responsive,g=e.responsiveDisabled,h=e.registerSize,v=e.itemKey,y=e.className,b=e.style,A=e.children,x=e.display,C=e.order,w=e.component,E=void 0===w?"div":w,S=(0,a.A)(e,d),k=m&&!x;function O(e){h(v,e)}c.useEffect((function(){return function(){O(null)}}),[]);var P,M=f&&l!==p?f(l):A;i||(P={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:m?C:p,pointerEvents:k?"none":p,position:k?"absolute":p});var $={};k&&($["aria-hidden"]=!0);var F=c.createElement(E,(0,r.A)({className:s()(!i&&n,y),style:(0,o.A)((0,o.A)({},P),b)},$,S,{ref:t}),M);return m&&(F=c.createElement(u.A,{onResize:function(e){O(e.offsetWidth)},disabled:g},F)),F}var g=c.forwardRef(m);g.displayName="Item";const h=g;var v=n(6956),y=n(961),b=n(5371);function A(){var e=c.useRef(null);return function(t){e.current||(e.current=[],function(e){if("undefined"==typeof MessageChannel)(0,b.A)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}((function(){(0,y.unstable_batchedUpdates)((function(){e.current.forEach((function(e){e()})),e.current=null}))}))),e.current.push(t)}}function x(e,t){var n=c.useState(t),r=(0,i.A)(n,2),o=r[0],a=r[1];return[o,(0,v.A)((function(t){e((function(){a(t)}))}))]}var C=c.createContext(null),w=["component"],E=["className"],S=["className"],k=function(e,t){var n=c.useContext(C);if(!n){var o=e.component,i=void 0===o?"div":o,l=(0,a.A)(e,w);return c.createElement(i,(0,r.A)({},l,{ref:t}))}var u=n.className,f=(0,a.A)(n,E),d=e.className,p=(0,a.A)(e,S);return c.createElement(C.Provider,{value:null},c.createElement(h,(0,r.A)({ref:t,className:s()(u,d)},f,p)))},O=c.forwardRef(k);O.displayName="RawItem";const P=O;var M=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],$="responsive",F="invalidate";function j(e){return"+ ".concat(e.length," ...")}function R(e,t){var n=e.prefixCls,l=void 0===n?"rc-overflow":n,d=e.data,p=void 0===d?[]:d,m=e.renderItem,g=e.renderRawItem,v=e.itemKey,y=e.itemWidth,b=void 0===y?10:y,w=e.ssr,E=e.style,S=e.className,k=e.maxCount,O=e.renderRest,P=e.renderRawRest,R=e.suffix,T=e.component,N=void 0===T?"div":T,I=e.itemComponent,L=e.onVisibleChange,z=(0,a.A)(e,M),H="full"===w,B=A(),D=x(B,null),_=(0,i.A)(D,2),V=_[0],W=_[1],q=V||0,U=x(B,new Map),X=(0,i.A)(U,2),G=X[0],K=X[1],Y=x(B,0),Q=(0,i.A)(Y,2),Z=Q[0],J=Q[1],ee=x(B,0),te=(0,i.A)(ee,2),ne=te[0],re=te[1],oe=x(B,0),ie=(0,i.A)(oe,2),ae=ie[0],ce=ie[1],le=(0,c.useState)(null),se=(0,i.A)(le,2),ue=se[0],fe=se[1],de=(0,c.useState)(null),pe=(0,i.A)(de,2),me=pe[0],ge=pe[1],he=c.useMemo((function(){return null===me&&H?Number.MAX_SAFE_INTEGER:me||0}),[me,V]),ve=(0,c.useState)(!1),ye=(0,i.A)(ve,2),be=ye[0],Ae=ye[1],xe="".concat(l,"-item"),Ce=Math.max(Z,ne),we=k===$,Ee=p.length&&we,Se=k===F,ke=Ee||"number"==typeof k&&p.length>k,Oe=(0,c.useMemo)((function(){var e=p;return Ee?e=null===V&&H?p:p.slice(0,Math.min(p.length,q/b)):"number"==typeof k&&(e=p.slice(0,k)),e}),[p,b,V,k,Ee]),Pe=(0,c.useMemo)((function(){return Ee?p.slice(he+1):p.slice(Oe.length)}),[p,Oe,Ee,he]),Me=(0,c.useCallback)((function(e,t){var n;return"function"==typeof v?v(e):null!==(n=v&&(null==e?void 0:e[v]))&&void 0!==n?n:t}),[v]),$e=(0,c.useCallback)(m||function(e){return e},[m]);function Fe(e,t,n){(me!==e||void 0!==t&&t!==ue)&&(ge(e),n||(Ae(eq){Fe(r-1,e-o-ae+ne);break}}R&&Re(0)+ae>q&&fe(null)}}),[q,G,ne,ae,Me,Oe]);var Te=be&&!!Pe.length,Ne={};null!==ue&&Ee&&(Ne={position:"absolute",left:ue,top:0});var Ie,Le={prefixCls:xe,responsive:Ee,component:I,invalidate:Se},ze=g?function(e,t){var n=Me(e,t);return c.createElement(C.Provider,{key:n,value:(0,o.A)((0,o.A)({},Le),{},{order:t,item:e,itemKey:n,registerSize:je,display:t<=he})},g(e,t))}:function(e,t){var n=Me(e,t);return c.createElement(h,(0,r.A)({},Le,{order:t,key:n,item:e,renderItem:$e,itemKey:n,registerSize:je,display:t<=he}))},He={order:Te?he:Number.MAX_SAFE_INTEGER,className:"".concat(xe,"-rest"),registerSize:function(e,t){re(t),J(ne)},display:Te};if(P)P&&(Ie=c.createElement(C.Provider,{value:(0,o.A)((0,o.A)({},Le),He)},P(Pe)));else{var Be=O||j;Ie=c.createElement(h,(0,r.A)({},Le,He),"function"==typeof Be?Be(Pe):Be)}var De=c.createElement(N,(0,r.A)({className:s()(!Se&&l,S),style:E,ref:t},z),Oe.map(ze),ke?Ie:null,R&&c.createElement(h,(0,r.A)({},Le,{responsive:we,responsiveDisabled:!Ee,order:he,className:"".concat(xe,"-suffix"),registerSize:function(e,t){ce(t)},display:!0,style:Ne}),R));return we&&(De=c.createElement(u.A,{onResize:function(e,t){W(t.clientWidth)},disabled:!Ee},De)),De}var T=c.forwardRef(R);T.displayName="Overflow",T.Item=P,T.RESPONSIVE=$,T.INVALIDATE=F;const N=T},5470:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(8168),o=n(6540),i=n(2546),a=(n(8210),n(9379)),c=n(2284),l=n(6112),s=n(8719),u=o.createContext(null);var f=n(3591),d=new Map;var p=new f.default((function(e){e.forEach((function(e){var t,n=e.target;null===(t=d.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var m=n(3029),g=n(2901),h=n(5501),v=n(9426),y=function(e){(0,h.A)(n,e);var t=(0,v.A)(n);function n(){return(0,m.A)(this,n),t.apply(this,arguments)}return(0,g.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component);function b(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),f=o.useRef(null),m=o.useContext(u),g="function"==typeof n,h=g?n(i):n,v=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),b=!g&&o.isValidElement(h)&&(0,s.f3)(h),A=b?h.ref:null,x=(0,s.xK)(A,i),C=function(){var e;return(0,l.Ay)(i.current)||(i.current&&"object"===(0,c.A)(i.current)?(0,l.Ay)(null===(e=i.current)||void 0===e?void 0:e.nativeElement):null)||(0,l.Ay)(f.current)};o.useImperativeHandle(t,(function(){return C()}));var w=o.useRef(e);w.current=e;var E=o.useCallback((function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,c=o.height,l=e.offsetWidth,s=e.offsetHeight,u=Math.floor(i),f=Math.floor(c);if(v.current.width!==u||v.current.height!==f||v.current.offsetWidth!==l||v.current.offsetHeight!==s){var d={width:u,height:f,offsetWidth:l,offsetHeight:s};v.current=d;var p=l===Math.round(i)?i:l,g=s===Math.round(c)?c:s,h=(0,a.A)((0,a.A)({},d),{},{offsetWidth:p,offsetHeight:g});null==m||m(h,e,r),n&&Promise.resolve().then((function(){n(h,e)}))}}),[]);return o.useEffect((function(){var e,t,n=C();return n&&!r&&(e=n,t=E,d.has(e)||(d.set(e,new Set),p.observe(e)),d.get(e).add(t)),function(){return function(e,t){d.has(e)&&(d.get(e).delete(t),d.get(e).size||(p.unobserve(e),d.delete(e)))}(n,E)}}),[i.current,r]),o.createElement(y,{ref:f},b?o.cloneElement(h,{ref:x}):h)}const A=o.forwardRef(b);function x(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.A)(n)).map((function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(A,(0,r.A)({},e,{key:a,ref:0===i?t:void 0}),n)}))}var C=o.forwardRef(x);C.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(u),c=o.useCallback((function(e,t,o){r.current+=1;var c=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===r.current&&(null==n||n(i.current),i.current=[])})),null==a||a(e,t,o)}),[n,a]);return o.createElement(u.Provider,{value:c},t)};const w=C},2546:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(6540),o=n(6351);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(null!=e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},998:(e,t,n)=>{function r(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}n.d(t,{A:()=>r})},4808:(e,t,n)=>{function r(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}n.d(t,{A:()=>r})},5089:(e,t,n)=>{n.d(t,{BD:()=>h,m6:()=>g});var r=n(9379),o=n(998),i=n(4808),a="data-rc-order",c="data-rc-priority",l="rc-util-key",s=new Map;function u(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).mark;return e?e.startsWith("data-")?e:"data-".concat(e):l}function f(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function d(e){return Array.from((s.get(e)||e).children).filter((function(e){return"STYLE"===e.tagName}))}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,o.A)())return null;var n=t.csp,r=t.prepend,i=t.priority,l=void 0===i?0:i,s=function(e){return"queue"===e?"prependQueue":e?"prepend":"append"}(r),u="prependQueue"===s,p=document.createElement("style");p.setAttribute(a,s),u&&l&&p.setAttribute(c,"".concat(l)),null!=n&&n.nonce&&(p.nonce=null==n?void 0:n.nonce),p.innerHTML=e;var m=f(t),g=m.firstChild;if(r){if(u){var h=(t.styles||d(m)).filter((function(e){if(!["prepend","prependQueue"].includes(e.getAttribute(a)))return!1;var t=Number(e.getAttribute(c)||0);return l>=t}));if(h.length)return m.insertBefore(p,h[h.length-1].nextSibling),p}m.insertBefore(p,g)}else m.appendChild(p);return p}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=f(t);return(t.styles||d(n)).find((function(n){return n.getAttribute(u(t))===e}))}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=m(e,t);n&&f(t).removeChild(n)}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=f(n),a=d(o),c=(0,r.A)((0,r.A)({},n),{},{styles:a});!function(e,t){var n=s.get(e);if(!n||!(0,i.A)(document,n)){var r=p("",t),o=r.parentNode;s.set(e,o),e.removeChild(r)}}(o,c);var l=m(t,c);if(l){var g,h,v;if(null!==(g=c.csp)&&void 0!==g&&g.nonce&&l.nonce!==(null===(h=c.csp)||void 0===h?void 0:h.nonce))l.nonce=null===(v=c.csp)||void 0===v?void 0:v.nonce;return l.innerHTML!==e&&(l.innerHTML=e),l}var y=p(e,c);return y.setAttribute(u(c),t),y}},6112:(e,t,n)=>{n.d(t,{Ay:()=>c,fk:()=>a});var r=n(2284),o=n(6540),i=n(961);function a(e){return e instanceof HTMLElement||e instanceof SVGElement}function c(e){var t,n=function(e){return e&&"object"===(0,r.A)(e)&&a(e.nativeElement)?e.nativeElement:a(e)?e:null}(e);return n||(e instanceof o.Component?null===(t=i.findDOMNode)||void 0===t?void 0:t.call(i,e):null)}},2467:(e,t,n)=>{n.d(t,{A:()=>r});const r=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,r=t.height;if(n||r)return!0}if(e.getBoundingClientRect){var o=e.getBoundingClientRect(),i=o.width,a=o.height;if(i||a)return!0}}return!1}},2633:(e,t,n)=>{function r(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}function o(e){return function(e){return r(e)instanceof ShadowRoot}(e)?r(e):null}n.d(t,{j:()=>o})},6928:(e,t,n)=>{n.d(t,{A:()=>o});var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};const o=r},6956:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(6540);function o(e){var t=r.useRef();t.current=e;var n=r.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o{var r;n.d(t,{A:()=>s});var o=n(641),i=n(9379),a=n(6540);var c=0;var l=(0,i.A)({},r||(r=n.t(a,2))).useId;const s=l?function(e){var t=l();return e||t}:function(e){var t=a.useState("ssr-id"),n=(0,o.A)(t,2),r=n[0],i=n[1];return a.useEffect((function(){var e=c;c+=1,i("rc_unique_".concat(e))}),[]),e||r}},981:(e,t,n)=>{n.d(t,{A:()=>c,o:()=>a});var r=n(6540),o=(0,n(998).A)()?r.useLayoutEffect:r.useEffect,i=function(e,t){var n=r.useRef(!0);o((function(){return e(n.current)}),t),o((function(){return n.current=!1,function(){n.current=!0}}),[])},a=function(e,t){i((function(t){if(!t)return e()}),t)};const c=i},8104:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(6540);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},2533:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(641),o=n(6956),i=n(981),a=n(1233);function c(e){return void 0!==e}function l(e,t){var n=t||{},l=n.defaultValue,s=n.value,u=n.onChange,f=n.postState,d=(0,a.A)((function(){return c(s)?s:c(l)?"function"==typeof l?l():l:"function"==typeof e?e():e})),p=(0,r.A)(d,2),m=p[0],g=p[1],h=void 0!==s?s:m,v=f?f(h):h,y=(0,o.A)(u),b=(0,a.A)([h]),A=(0,r.A)(b,2),x=A[0],C=A[1];return(0,i.o)((function(){var e=x[0];m!==e&&y(m,e)}),[x]),(0,i.o)((function(){c(s)||g(s)}),[s]),[v,(0,o.A)((function(e,t){g(e,t),C([h],t)}))]}},1233:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(641),o=n(6540);function i(e){var t=o.useRef(!1),n=o.useState(e),i=(0,r.A)(n,2),a=i[0],c=i[1];return o.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[a,function(e,n){n&&t.current||c(e)}]}},1470:(e,t,n)=>{n.d(t,{_q:()=>r.A});var r=n(6956);n(2533),n(8719),n(488),n(8210)},3210:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(2284),o=n(8210);const i=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=new Set;return function e(t,a){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,l=i.has(t);if((0,o.Ay)(!l,"Warning: There may be circular references"),l)return!1;if(t===a)return!0;if(n&&c>1)return!1;i.add(t);var s=c+1;if(Array.isArray(t)){if(!Array.isArray(a)||t.length!==a.length)return!1;for(var u=0;u{n.d(t,{A:()=>r});const r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}},9853:(e,t,n)=>{function r(e,t){var n=Object.assign({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}n.d(t,{A:()=>r})},2065:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(9379),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function c(e,t){return 0===e.indexOf(t)}function l(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.A)({},n);var l={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||c(n,i))||t.data&&c(n,a)||t.attr&&o.includes(n))&&(l[n]=e[n])})),l}},5371:(e,t,n)=>{n.d(t,{A:()=>s});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}var l=function(e){var t=i+=1;return function n(o){if(0===o)c(t),e();else{var i=r((function(){n(o-1)}));a.set(t,i)}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:1),t};l.cancel=function(e){var t=a.get(e);return c(e),o(t)};const s=l},8719:(e,t,n)=>{n.d(t,{K4:()=>l,Xf:()=>c,f3:()=>u,xK:()=>s});var r=n(2284),o=n(6540),i=n(6351),a=n(8104),c=function(e,t){"function"==typeof e?e(t):"object"===(0,r.A)(e)&&e&&"current"in e&&(e.current=t)},l=function(){for(var e=arguments.length,t=new Array(e),n=0;n{function r(e,t){for(var n=e,r=0;rr})},488:(e,t,n)=>{n.d(t,{A:()=>s,h:()=>d});var r=n(2284),o=n(9379),i=n(8339),a=n(7695),c=n(6300);function l(e,t,n,r){if(!t.length)return n;var c,s=(0,a.A)(t),u=s[0],f=s.slice(1);return c=e||"number"!=typeof u?Array.isArray(e)?(0,i.A)(e):(0,o.A)({},e):[],r&&void 0===n&&1===f.length?delete c[u][f[0]]:c[u]=l(c[u],f,n,r),c}function s(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!(0,c.A)(e,t.slice(0,-1))?e:l(e,t,n,r)}function u(e){return Array.isArray(e)?[]:{}}var f="undefined"==typeof Reflect?Object.keys:Reflect.ownKeys;function d(){for(var e=arguments.length,t=new Array(e),n=0;n{n.d(t,{$e:()=>i,Ay:()=>s});var r={},o=[];function i(e,t){}function a(e,t){}function c(e,t,n){t||r[n]||(e(!1,n),r[n]=!0)}function l(e,t){c(i,e,t)}l.preMessage=function(e){o.push(e)},l.resetWarned=function(){r={}},l.noteOnce=function(e,t){c(a,e,t)};const s=l},7787:(e,t)=>{var n,r=Symbol.for("react.element"),o=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen");function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case c:case a:case d:case p:return e;default:switch(e=e&&e.$$typeof){case u:case s:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}n=Symbol.for("react.module.reference"),t.ForwardRef=f,t.isFragment=function(e){return v(e)===i},t.isMemo=function(e){return v(e)===m}},6351:(e,t,n)=>{e.exports=n(7787)},3145:(e,t,n)=>{function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);nr})},6369:(e,t,n)=>{function r(e){if(Array.isArray(e))return e}n.d(t,{A:()=>r})},9417:(e,t,n)=>{function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},467:(e,t,n)=>{function r(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,l,"next",e)}function l(e){r(a,o,i,c,l,"throw",e)}c(void 0)}))}}n.d(t,{A:()=>o})},3029:(e,t,n)=>{function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},2901:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(8406);function o(e,t){for(var n=0;n{n.d(t,{A:()=>a});var r=n(3954),o=n(2176),i=n(6822);function a(e){var t=(0,o.A)();return function(){var n,o=(0,r.A)(e);if(t){var a=(0,r.A)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return(0,i.A)(this,n)}}},4467:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(8406);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3954:(e,t,n)=>{function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:()=>r})},5501:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(3662);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},2176:(e,t,n)=>{function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(r=function(){return!!e})()}n.d(t,{A:()=>r})},3893:(e,t,n)=>{function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{A:()=>r})},6562:(e,t,n)=>{function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{A:()=>r})},9379:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(4467);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t{n.d(t,{A:()=>o});var r=n(8587);function o(e,t){if(null==e)return{};var n,o,i=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o{n.d(t,{A:()=>i});var r=n(2284),o=n(9417);function i(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.A)(e)}},675:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2284);function o(){o=function(){return t};var e,t={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof b?t:b,i=Object.create(o.prototype),c=new j(r||[]);return a(i,"_invoke",{value:P(e,n,c)}),i}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var m="suspendedStart",g="suspendedYield",h="executing",v="completed",y={};function b(){}function A(){}function x(){}var C={};f(C,l,(function(){return this}));var w=Object.getPrototypeOf,E=w&&w(w(R([])));E&&E!==n&&i.call(E,l)&&(C=E);var S=x.prototype=b.prototype=Object.create(C);function k(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,a,c,l){var s=p(e[o],e,a);if("throw"!==s.type){var u=s.arg,f=u.value;return f&&"object"==(0,r.A)(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,l)}),(function(e){n("throw",e,c,l)})):t.resolve(f).then((function(e){u.value=e,c(u)}),(function(e){return n("throw",e,c,l)}))}l(s.arg)}var o;a(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function P(t,n,r){var o=m;return function(i,a){if(o===h)throw Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(r.method=i,r.arg=a;;){var c=r.delegate;if(c){var l=M(c,r);if(l){if(l===y)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=h;var s=p(t,n,r);if("normal"===s.type){if(o=r.done?v:g,s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=v,r.method="throw",r.arg=s.arg)}}}function M(t,n){var r=n.method,o=t.iterator[r];if(o===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,M(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=p(o,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function $(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach($,this),this.reset(!0)}function R(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(l&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),F(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;F(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:R(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}},641:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(6369);var o=n(7800),i=n(6562);function a(e,t){return(0,r.A)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,c=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(c.push(r.value),c.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(e,t)||(0,o.A)(e,t)||(0,i.A)()}},7695:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6369),o=n(3893),i=n(7800),a=n(6562);function c(e){return(0,r.A)(e)||(0,o.A)(e)||(0,i.A)(e)||(0,a.A)()}},8339:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(3145);var o=n(3893),i=n(7800);function a(e){return function(e){if(Array.isArray(e))return(0,r.A)(e)}(e)||(0,o.A)(e)||(0,i.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8406:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},2284:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},7800:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(3145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}}}]); \ No newline at end of file diff --git a/docs/assets/js/6744.3b980d44.js.LICENSE.txt b/docs/assets/js/6744.3d145f4a.js.LICENSE.txt similarity index 100% rename from docs/assets/js/6744.3b980d44.js.LICENSE.txt rename to docs/assets/js/6744.3d145f4a.js.LICENSE.txt diff --git a/docs/assets/js/main.40d746ee.js b/docs/assets/js/main.17c88760.js similarity index 99% rename from docs/assets/js/main.40d746ee.js rename to docs/assets/js/main.17c88760.js index 4e6759b5166..9bd2db48310 100644 --- a/docs/assets/js/main.40d746ee.js +++ b/docs/assets/js/main.17c88760.js @@ -1,2 +1,2 @@ -/*! For license information please see main.40d746ee.js.LICENSE.txt */ -(self.webpackChunkrxdb=self.webpackChunkrxdb||[]).push([[8792],{8328:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});n(6540);var r=n(3259),a=n.n(r),o=n(4054);const i={"0027230a":[()=>n.e(8382).then(n.bind(n,2081)),"@site/docs/rx-storage-lokijs.md",2081],"01684a0a":[()=>n.e(6616).then(n.bind(n,3395)),"@site/docs/rx-storage-memory-synced.md",3395],"03e37916":[()=>n.e(6465).then(n.bind(n,3184)),"@site/docs/transactions-conflicts-revisions.md",3184],"045bd6f5":[()=>n.e(4475).then(n.bind(n,8201)),"@site/docs/encryption.md",8201],"04b0214f":[()=>n.e(6264).then(n.t.bind(n,4061,19)),"/home/runner/work/rxdb/rxdb/docs-src/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json",4061],"0b761dc7":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(2835)]).then(n.bind(n,2796)),"@site/src/pages/sem/localstorage-database.tsx",2796],"0e268d20":[()=>Promise.all([n.e(8316),n.e(6744),n.e(6902),n.e(2584)]).then(n.bind(n,1980)),"@site/src/pages/premium.tsx",1980],"0e945c41":[()=>n.e(9796).then(n.bind(n,9722)),"@site/docs/replication-server.md",9722],"0f6e10f0":[()=>n.e(1475).then(n.bind(n,654)),"@site/docs/articles/progressive-web-app-database.md",654],"118cde4c":[()=>n.e(5272).then(n.bind(n,7245)),"@site/docs/replication-couchdb.md",7245],"13dc6548":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(3483)]).then(n.bind(n,4637)),"@site/src/pages/sem/indexeddb-database.tsx",4637],"14d72841":[()=>n.e(9772).then(n.bind(n,5221)),"@site/src/pages/newsletter.tsx",5221],17896441:[()=>Promise.all([n.e(1869),n.e(1968),n.e(8401)]).then(n.bind(n,242)),"@theme/DocItem",242],"187b985e":[()=>n.e(6866).then(n.bind(n,844)),"@site/docs/replication-webrtc.md",844],"1b0f8c91":[()=>n.e(3129).then(n.bind(n,9642)),"@site/docs/backup.md",9642],"1b238727":[()=>n.e(4013).then(n.bind(n,3721)),"@site/docs/rx-storage-performance.md",3721],"1b5fa8ad":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(9111)]).then(n.bind(n,5347)),"@site/src/pages/sem/nedb-alternative.tsx",5347],"1c0701dd":[()=>n.e(6953).then(n.bind(n,668)),"@site/docs/middleware.md",668],"1da545ff":[()=>n.e(9743).then(n.bind(n,2678)),"@site/docs/releases/9.0.0.md",2678],"1df93b7f":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(4583)]).then(n.bind(n,3516)),"@site/src/pages/index.tsx",3516],"1e0353aa":[()=>n.e(8588).then(n.bind(n,142)),"@site/docs/rx-storage.md",142],"1f391b9e":[()=>Promise.all([n.e(1869),n.e(1968),n.e(6061)]).then(n.bind(n,7973)),"@theme/MDXPage",7973],"21fa2740":[()=>n.e(5694).then(n.bind(n,763)),"@site/docs/releases/15.0.0.md",763],"2456d5e0":[()=>n.e(2966).then(n.bind(n,5654)),"@site/docs/rx-database.md",5654],"25626d15":[()=>n.e(268).then(n.bind(n,7258)),"@site/src/pages/chat.tsx",7258],"2564bf4f":[()=>n.e(6724).then(n.bind(n,5705)),"@site/docs/rxdb-tradeoffs.md",5705],"25a43fd4":[()=>n.e(4812).then(n.bind(n,3917)),"@site/docs/rx-storage-shared-worker.md",3917],"26b8a621":[()=>n.e(2055).then(n.bind(n,3439)),"@site/docs/replication-p2p.md",3439],"280a2389":[()=>n.e(176).then(n.bind(n,8141)),"@site/src/pages/meeting.tsx",8141],"294ac9d5":[()=>n.e(8744).then(n.bind(n,958)),"@site/docs/plugins.md",958],"2efd0200":[()=>n.e(4132).then(n.bind(n,9839)),"@site/docs/tutorials/typescript.md",9839],"2fe9ecb2":[()=>n.e(5101).then(n.bind(n,581)),"@site/docs/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm.md",581],"32667c41":[()=>n.e(8191).then(n.bind(n,6895)),"@site/docs/nosql-performance-tips.md",6895],"326aca46":[()=>n.e(4853).then(n.bind(n,3142)),"@site/docs/offline-first.md",3142],"34f94d1b":[()=>n.e(5832).then(n.bind(n,7746)),"@site/docs/electron-database.md",7746],36715375:[()=>n.e(2076).then(n.bind(n,2323)),"@site/src/pages/code.tsx",2323],"380cc66a":[()=>n.e(2061).then(n.bind(n,5668)),"@site/docs/rx-storage-dexie.md",5668],"38a45a95":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(405)]).then(n.bind(n,4806)),"@site/src/pages/sem/electron-database.tsx",4806],"38bbf12a":[()=>n.e(2078).then(n.bind(n,3762)),"@site/docs/articles/data-base.md",3762],"393be207":[()=>n.e(4134).then(n.bind(n,6602)),"@site/src/pages/markdown-page.md",6602],"39600c95":[()=>n.e(3148).then(n.bind(n,755)),"@site/docs/rx-query.md",755],"401008a8":[()=>n.e(5219).then(n.bind(n,6805)),"@site/docs/nodejs-database.md",6805],"41f941a1":[()=>n.e(5966).then(n.bind(n,3057)),"@site/docs/leader-election.md",3057],"432b83f9":[()=>n.e(4424).then(n.bind(n,9429)),"@site/docs/releases/8.0.0.md",9429],"4616b86a":[()=>n.e(465).then(n.bind(n,81)),"@site/docs/rx-storage-mongodb.md",81],"4777fd9a":[()=>n.e(6386).then(n.bind(n,1600)),"@site/docs/alternatives.md",1600],"4adf80bb":[()=>n.e(9548).then(n.bind(n,4442)),"@site/docs/rx-storage-pouchdb.md",4442],"4af60d2e":[()=>n.e(8545).then(n.bind(n,9249)),"@site/docs/articles/realtime-database.md",9249],"4ba7e5a3":[()=>n.e(9591).then(n.bind(n,8848)),"@site/docs/contribute.md",8848],"4ed9495b":[()=>n.e(1199).then(n.bind(n,1787)),"@site/docs/rx-storage-sqlite.md",1787],"4f17bbdd":[()=>n.e(2373).then(n.bind(n,1206)),"@site/src/pages/meeting-paid.tsx",1206],"502d8946":[()=>n.e(7817).then(n.bind(n,732)),"@site/src/pages/legal-notice.tsx",732],"51014a8a":[()=>n.e(9460).then(n.bind(n,262)),"@site/docs/articles/websockets-sse-polling-webrtc-webtransport.md",262],51038524:[()=>n.e(4889).then(n.bind(n,9262)),"@site/docs/rx-storage-memory-mapped.md",9262],51334108:[()=>n.e(8926).then(n.bind(n,2644)),"@site/docs/articles/mobile-database.md",2644],"55a5b596":[()=>n.e(6717).then(n.bind(n,5536)),"@site/docs/rx-schema.md",5536],"5a273530":[()=>n.e(3881).then(n.bind(n,7589)),"@site/docs/rx-storage-remote.md",7589],"5e95c892":[()=>n.e(9647).then(n.bind(n,7121)),"@theme/DocsRoot",7121],"5e9f5e1a":[()=>Promise.resolve().then(n.bind(n,4784)),"@generated/docusaurus.config",4784],"60c23941":[()=>n.e(2915).then(n.t.bind(n,1966,19)),"/home/runner/work/rxdb/rxdb/docs-src/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json",1966],"6187b59a":[()=>n.e(5866).then(n.bind(n,7409)),"@site/docs/rx-storage-worker.md",7409],"68a466be":[()=>n.e(3997).then(n.bind(n,3923)),"@site/docs/downsides-of-offline-first.md",3923],"6ae3580c":[()=>n.e(5320).then(n.bind(n,5376)),"@site/docs/replication.md",5376],"6bfb0089":[()=>n.e(6422).then(n.bind(n,300)),"@site/docs/adapters.md",300],"6cbff7c2":[()=>n.e(7408).then(n.bind(n,5943)),"@site/docs/rx-storage-opfs.md",5943],"6fa8aa1a":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(1264)]).then(n.bind(n,5379)),"@site/src/pages/sem/pouchdb-alternative.tsx",5379],"6fd28feb":[()=>n.e(4618).then(n.bind(n,9408)),"@site/docs/rx-storage-foundationdb.md",9408],"714575d7":[()=>n.e(3185).then(n.bind(n,4880)),"@site/docs/rx-local-document.md",4880],"77d975e6":[()=>n.e(3949).then(n.bind(n,5707)),"@site/docs/articles/in-memory-nosql-database.md",5707],"7815dd0c":[()=>n.e(5335).then(n.bind(n,5515)),"@site/docs/population.md",5515],"7bbb96fd":[()=>n.e(3495).then(n.bind(n,8435)),"@site/src/pages/service-submitted.tsx",8435],"7f02c700":[()=>n.e(9592).then(n.bind(n,9640)),"@site/docs/replication-firestore.md",9640],"8070e160":[()=>n.e(3822).then(n.bind(n,1685)),"@site/docs/quickstart.md",1685],"8288c265":[()=>n.e(9881).then(n.bind(n,1839)),"@site/docs/releases/11.0.0.md",1839],"84a3af36":[()=>n.e(6861).then(n.bind(n,8160)),"@site/docs/articles/json-database.md",8160],"84ae55a4":[()=>n.e(588).then(n.bind(n,2045)),"@site/docs/replication-nats.md",2045],"86b4e356":[()=>n.e(2786).then(n.bind(n,9278)),"@site/docs/orm.md",9278],"8a22f3a9":[()=>n.e(9257).then(n.bind(n,6224)),"@site/docs/errors.md",6224],"8aa53ed7":[()=>n.e(6723).then(n.bind(n,5870)),"@site/docs/articles/angular-database.md",5870],"8b0a0922":[()=>n.e(4557).then(n.bind(n,767)),"@site/docs/slow-indexeddb.md",767],"8b4bf532":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(4027)]).then(n.bind(n,7507)),"@site/src/pages/sem/nosql-database.tsx",7507],"8bc07e20":[()=>n.e(1850).then(n.bind(n,5054)),"@site/docs/capacitor-database.md",5054],"8bc82b1f":[()=>n.e(9997).then(n.bind(n,8661)),"@site/docs/rx-pipeline.md",8661],"90102fdf":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(2633)]).then(n.bind(n,9935)),"@site/src/pages/sem/nodejs-database.tsx",9935],"91b454ee":[()=>n.e(4202).then(n.bind(n,9107)),"@site/docs/rx-storage-sharding.md",9107],"924d6dd6":[()=>n.e(5122).then(n.bind(n,2414)),"@site/docs/electron.md",2414],"92698a99":[()=>n.e(4166).then(n.bind(n,8568)),"@site/docs/rx-storage-indexeddb.md",8568],"931f4566":[()=>n.e(3595).then(n.bind(n,2439)),"@site/docs/schema-validation.md",2439],"935f2afb":[()=>n.e(8581).then(n.t.bind(n,5610,19)),"~docs/default/version-current-metadata-prop-751.json",5610],98405524:[()=>n.e(5504).then(n.bind(n,1934)),"@site/src/pages/survey.tsx",1934],"9dae6e71":[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(3325)]).then(n.bind(n,2231)),"@site/src/pages/sem/firestore-alternative.tsx",2231],"9dd8ea89":[()=>n.e(1715).then(n.bind(n,7919)),"@site/docs/logger.md",7919],"9e91b6f0":[()=>n.e(3021).then(n.bind(n,1844)),"@site/docs/why-nosql.md",1844],a406dc27:[()=>n.e(1500).then(n.bind(n,8306)),"@site/docs/migration-storage.md",8306],a442adcd:[()=>n.e(8760).then(n.bind(n,188)),"@site/docs/reactivity.md",188],a574e172:[()=>n.e(7149).then(n.bind(n,9329)),"@site/docs/replication-http.md",9329],a69eebfc:[()=>n.e(9408).then(n.bind(n,4120)),"@site/docs/query-optimizer.md",4120],a7bd4aaa:[()=>n.e(7098).then(n.bind(n,4532)),"@theme/DocVersionRoot",4532],a7f10198:[()=>n.e(1098).then(n.bind(n,769)),"@site/docs/data-migration.md",769],a94703ab:[()=>Promise.all([n.e(1869),n.e(9048)]).then(n.bind(n,2559)),"@theme/DocRoot",2559],aa14e6b1:[()=>n.e(9824).then(n.bind(n,3268)),"@site/docs/replication-graphql.md",3268],ab919a1f:[()=>n.e(6491).then(n.bind(n,4760)),"@site/docs/articles/embedded-database.md",4760],ac62b32d:[()=>n.e(9192).then(n.bind(n,9585)),"@site/docs/replication-websocket.md",9585],ad16b3ea:[()=>n.e(8674).then(n.bind(n,2462)),"@site/docs/dev-mode.md",2462],b0889a22:[()=>n.e(1107).then(n.bind(n,1798)),"@site/docs/cleanup.md",1798],b30f4f1f:[()=>n.e(3779).then(n.bind(n,3449)),"@site/docs/rx-attachment.md",3449],b8c49ce4:[()=>n.e(6355).then(n.bind(n,1605)),"@site/docs/releases/13.0.0.md",1605],badcd764:[()=>n.e(8318).then(n.bind(n,6042)),"@site/docs/articles/flutter-database.md",6042],bdd39edd:[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(5852)]).then(n.bind(n,3922)),"@site/src/pages/sem/browser-database.tsx",3922],c3bc9c50:[()=>n.e(9167).then(n.bind(n,4337)),"@site/docs/articles/react-database.md",4337],c44853e1:[()=>n.e(6584).then(n.bind(n,7390)),"@site/docs/rx-state.md",7390],c4de80f8:[()=>n.e(2777).then(n.bind(n,3554)),"@site/docs/install.md",3554],c6349bb6:[()=>n.e(5740).then(n.bind(n,2964)),"@site/docs/releases/14.0.0.md",2964],c6fdd490:[()=>n.e(4141).then(n.bind(n,5008)),"@site/docs/rx-server-scaling.md",5008],c843a053:[()=>n.e(9146).then(n.bind(n,8723)),"@site/docs/third-party-plugins.md",8723],c9c8e0b6:[()=>n.e(7249).then(n.bind(n,7674)),"@site/docs/articles/ionic-database.md",7674],cbbe8f0a:[()=>n.e(3852).then(n.bind(n,8783)),"@site/docs/rx-collection.md",8783],cde77f4f:[()=>Promise.all([n.e(8316),n.e(6744),n.e(6902),n.e(6287)]).then(n.bind(n,6465)),"@site/src/pages/premium-submitted.tsx",6465],d20e74b4:[()=>n.e(5123).then(n.bind(n,2853)),"@site/docs/crdt.md",2853],d2758528:[()=>n.e(2586).then(n.bind(n,7108)),"@site/docs/articles/browser-storage.md",7108],d4da9db3:[()=>n.e(1400).then(n.bind(n,4228)),"@site/docs/rx-storage-memory.md",4228],d622bd51:[()=>n.e(2845).then(n.bind(n,9804)),"@site/docs/migration-schema.md",9804],db34d6b0:[()=>n.e(7320).then(n.bind(n,9891)),"@site/src/pages/license.tsx",9891],dbde2ffe:[()=>n.e(6543).then(n.bind(n,118)),"@site/docs/rx-document.md",118],dc42ba65:[()=>n.e(4962).then(n.bind(n,4494)),"@site/docs/key-compression.md",4494],e24529eb:[()=>n.e(6797).then(n.bind(n,9263)),"@site/docs/rx-storage-localstorage-meta-optimizer.md",9263],e6b4453d:[()=>n.e(2360).then(n.bind(n,9133)),"@site/docs/query-cache.md",9133],e7478ff0:[()=>n.e(5416).then(n.bind(n,1873)),"@site/docs/questions-answers.md",1873],e8a836f3:[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(5265)]).then(n.bind(n,9349)),"@site/src/pages/sem/react-native-database.tsx",9349],eadd9b3c:[()=>n.e(4886).then(n.bind(n,8041)),"@site/docs/rx-storage-filesystem-node.md",8041],ebace26e:[()=>n.e(4028).then(n.bind(n,7016)),"@site/docs/releases/10.0.0.md",7016],ec526260:[()=>n.e(7396).then(n.bind(n,9592)),"@site/docs/articles/browser-database.md",9592],ed2d6610:[()=>n.e(3469).then(n.bind(n,9222)),"@site/docs/releases/12.0.0.md",9222],ee1b9f21:[()=>n.e(6998).then(n.bind(n,3179)),"@site/docs/react-native-database.md",3179],f15938da:[()=>n.e(4630).then(n.bind(n,5674)),"@site/docs/articles/localstorage.md",5674],f43e80a8:[()=>n.e(1558).then(n.bind(n,9544)),"@site/docs/rx-server.md",9544],f44bb875:[()=>n.e(561).then(n.bind(n,46)),"@site/docs/articles/frontend-database.md",46],fe2a63b2:[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(6744),n.e(5351),n.e(1018)]).then(n.bind(n,4324)),"@site/src/pages/consulting.tsx",4324],fe7a07ee:[()=>n.e(2085).then(n.bind(n,9378)),"@site/docs/rx-storage-denokv.md",9378],ff492cda:[()=>Promise.all([n.e(1869),n.e(8316),n.e(4589),n.e(9335),n.e(7722)]).then(n.bind(n,1382)),"@site/src/pages/sem/watermelondb-alternative.tsx",1382]};var s=n(4848);function l(e){let{error:t,retry:n,pastDelay:r}=e;return t?(0,s.jsxs)("div",{style:{textAlign:"center",color:"#fff",backgroundColor:"#fa383e",borderColor:"#fa383e",borderStyle:"solid",borderRadius:"0.25rem",borderWidth:"1px",boxSizing:"border-box",display:"block",padding:"1rem",flex:"0 0 50%",marginLeft:"25%",marginRight:"25%",marginTop:"5rem",maxWidth:"50%",width:"100%"},children:[(0,s.jsx)("p",{children:String(t)}),(0,s.jsx)("div",{children:(0,s.jsx)("button",{type:"button",onClick:n,children:"Retry"})})]}):r?(0,s.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"100vh"},children:(0,s.jsx)("svg",{id:"loader",style:{width:128,height:110,position:"absolute",top:"calc(100vh - 64%)"},viewBox:"0 0 45 45",xmlns:"http://www.w3.org/2000/svg",stroke:"#61dafb",children:(0,s.jsxs)("g",{fill:"none",fillRule:"evenodd",transform:"translate(1 1)",strokeWidth:"2",children:[(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"1.5s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"1.5s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"1.5s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsxs)("circle",{cx:"22",cy:"22",r:"6",strokeOpacity:"0",children:[(0,s.jsx)("animate",{attributeName:"r",begin:"3s",dur:"3s",values:"6;22",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-opacity",begin:"3s",dur:"3s",values:"1;0",calcMode:"linear",repeatCount:"indefinite"}),(0,s.jsx)("animate",{attributeName:"stroke-width",begin:"3s",dur:"3s",values:"2;0",calcMode:"linear",repeatCount:"indefinite"})]}),(0,s.jsx)("circle",{cx:"22",cy:"22",r:"8",children:(0,s.jsx)("animate",{attributeName:"r",begin:"0s",dur:"1.5s",values:"6;1;2;3;4;5;6",calcMode:"linear",repeatCount:"indefinite"})})]})})}):null}var c=n(6921),u=n(3102);function d(e,t){if("*"===e)return a()({loading:l,loader:()=>n.e(9293).then(n.bind(n,9293)),modules:["@theme/NotFound"],webpack:()=>[9293],render(e,t){const n=e.default;return(0,s.jsx)(u.W,{value:{plugin:{name:"native",id:"default"}},children:(0,s.jsx)(n,{...t})})}});const r=o[`${e}-${t}`],d={},f=[],p=[],h=(0,c.A)(r);return Object.entries(h).forEach((e=>{let[t,n]=e;const r=i[n];r&&(d[t]=r[0],f.push(r[1]),p.push(r[2]))})),a().Map({loading:l,loader:d,modules:f,webpack:()=>p,render(t,n){const a=JSON.parse(JSON.stringify(r));Object.entries(t).forEach((t=>{let[n,r]=t;const o=r.default;if(!o)throw new Error(`The page component at ${e} doesn't have a default export. This makes it impossible to render anything. Consider default-exporting a React component.`);"object"!=typeof o&&"function"!=typeof o||Object.keys(r).filter((e=>"default"!==e)).forEach((e=>{o[e]=r[e]}));let i=a;const s=n.split(".");s.slice(0,-1).forEach((e=>{i=i[e]})),i[s[s.length-1]]=o}));const o=a.__comp;delete a.__comp;const i=a.__context;return delete a.__context,(0,s.jsx)(u.W,{value:i,children:(0,s.jsx)(o,{...a,...n})})}})}const f=[{path:"/chat",component:d("/chat","fd7"),exact:!0},{path:"/code",component:d("/code","8ef"),exact:!0},{path:"/consulting",component:d("/consulting","54c"),exact:!0},{path:"/legal-notice",component:d("/legal-notice","cfc"),exact:!0},{path:"/license",component:d("/license","d06"),exact:!0},{path:"/markdown-page",component:d("/markdown-page","784"),exact:!0},{path:"/meeting",component:d("/meeting","6b0"),exact:!0},{path:"/meeting-paid",component:d("/meeting-paid","e3c"),exact:!0},{path:"/newsletter",component:d("/newsletter","d15"),exact:!0},{path:"/premium",component:d("/premium","d94"),exact:!0},{path:"/premium-submitted",component:d("/premium-submitted","714"),exact:!0},{path:"/sem/browser-database",component:d("/sem/browser-database","0a3"),exact:!0},{path:"/sem/electron-database",component:d("/sem/electron-database","71a"),exact:!0},{path:"/sem/firestore-alternative",component:d("/sem/firestore-alternative","a47"),exact:!0},{path:"/sem/indexeddb-database",component:d("/sem/indexeddb-database","c87"),exact:!0},{path:"/sem/localstorage-database",component:d("/sem/localstorage-database","c8d"),exact:!0},{path:"/sem/nedb-alternative",component:d("/sem/nedb-alternative","201"),exact:!0},{path:"/sem/nodejs-database",component:d("/sem/nodejs-database","8f5"),exact:!0},{path:"/sem/nosql-database",component:d("/sem/nosql-database","09d"),exact:!0},{path:"/sem/pouchdb-alternative",component:d("/sem/pouchdb-alternative","6fe"),exact:!0},{path:"/sem/react-native-database",component:d("/sem/react-native-database","440"),exact:!0},{path:"/sem/watermelondb-alternative",component:d("/sem/watermelondb-alternative","06b"),exact:!0},{path:"/service-submitted",component:d("/service-submitted","368"),exact:!0},{path:"/survey",component:d("/survey","9e0"),exact:!0},{path:"/",component:d("/","d82"),exact:!0},{path:"/",component:d("/","d73"),routes:[{path:"/",component:d("/","adb"),routes:[{path:"/",component:d("/","5ab"),routes:[{path:"/adapters.html",component:d("/adapters.html","fb4"),exact:!0},{path:"/alternatives.html",component:d("/alternatives.html","d53"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/angular-database.html",component:d("/articles/angular-database.html","e30"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/browser-database.html",component:d("/articles/browser-database.html","b0a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/browser-storage.html",component:d("/articles/browser-storage.html","286"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/data-base.html",component:d("/articles/data-base.html","797"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/embedded-database.html",component:d("/articles/embedded-database.html","596"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/flutter-database.html",component:d("/articles/flutter-database.html","f8a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/frontend-database.html",component:d("/articles/frontend-database.html","a83"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/in-memory-nosql-database.html",component:d("/articles/in-memory-nosql-database.html","ead"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/ionic-database.html",component:d("/articles/ionic-database.html","df6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/json-database.html",component:d("/articles/json-database.html","bff"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm",component:d("/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm","93d"),exact:!0},{path:"/articles/localstorage.html",component:d("/articles/localstorage.html","b1b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/mobile-database.html",component:d("/articles/mobile-database.html","1d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/progressive-web-app-database.html",component:d("/articles/progressive-web-app-database.html","862"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/react-database.html",component:d("/articles/react-database.html","179"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/realtime-database.html",component:d("/articles/realtime-database.html","bc3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/articles/websockets-sse-polling-webrtc-webtransport.html",component:d("/articles/websockets-sse-polling-webrtc-webtransport.html","864"),exact:!0,sidebar:"tutorialSidebar"},{path:"/backup.html",component:d("/backup.html","123"),exact:!0,sidebar:"tutorialSidebar"},{path:"/capacitor-database.html",component:d("/capacitor-database.html","71f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/cleanup.html",component:d("/cleanup.html","d7f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/contribution.html",component:d("/contribution.html","129"),exact:!0,sidebar:"tutorialSidebar"},{path:"/crdt.html",component:d("/crdt.html","c69"),exact:!0,sidebar:"tutorialSidebar"},{path:"/data-migration",component:d("/data-migration","7c7"),exact:!0},{path:"/dev-mode.html",component:d("/dev-mode.html","11d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/downsides-of-offline-first.html",component:d("/downsides-of-offline-first.html","ba4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/electron-database.html",component:d("/electron-database.html","44e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/electron.html",component:d("/electron.html","693"),exact:!0,sidebar:"tutorialSidebar"},{path:"/encryption.html",component:d("/encryption.html","265"),exact:!0,sidebar:"tutorialSidebar"},{path:"/errors.html",component:d("/errors.html","07a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/install.html",component:d("/install.html","9ec"),exact:!0,sidebar:"tutorialSidebar"},{path:"/key-compression.html",component:d("/key-compression.html","171"),exact:!0,sidebar:"tutorialSidebar"},{path:"/leader-election.html",component:d("/leader-election.html","9aa"),exact:!0,sidebar:"tutorialSidebar"},{path:"/logger.html",component:d("/logger.html","949"),exact:!0,sidebar:"tutorialSidebar"},{path:"/middleware.html",component:d("/middleware.html","34f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/migration-schema.html",component:d("/migration-schema.html","618"),exact:!0,sidebar:"tutorialSidebar"},{path:"/migration-storage.html",component:d("/migration-storage.html","34a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nodejs-database.html",component:d("/nodejs-database.html","6a2"),exact:!0,sidebar:"tutorialSidebar"},{path:"/nosql-performance-tips.html",component:d("/nosql-performance-tips.html","fd8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/offline-first.html",component:d("/offline-first.html","e1b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/orm.html",component:d("/orm.html","798"),exact:!0,sidebar:"tutorialSidebar"},{path:"/plugins.html",component:d("/plugins.html","f25"),exact:!0,sidebar:"tutorialSidebar"},{path:"/population.html",component:d("/population.html","b89"),exact:!0,sidebar:"tutorialSidebar"},{path:"/query-cache.html",component:d("/query-cache.html","45f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/query-optimizer.html",component:d("/query-optimizer.html","bd3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/questions-answers.html",component:d("/questions-answers.html","840"),exact:!0,sidebar:"tutorialSidebar"},{path:"/quickstart.html",component:d("/quickstart.html","417"),exact:!0,sidebar:"tutorialSidebar"},{path:"/react-native-database.html",component:d("/react-native-database.html","7b4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/reactivity.html",component:d("/reactivity.html","4d4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/10.0.0.html",component:d("/releases/10.0.0.html","8ce"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/11.0.0.html",component:d("/releases/11.0.0.html","712"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/12.0.0.html",component:d("/releases/12.0.0.html","a36"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/13.0.0.html",component:d("/releases/13.0.0.html","605"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/14.0.0.html",component:d("/releases/14.0.0.html","14c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/15.0.0.html",component:d("/releases/15.0.0.html","4dd"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/8.0.0.html",component:d("/releases/8.0.0.html","fdc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/releases/9.0.0.html",component:d("/releases/9.0.0.html","f4b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-couchdb.html",component:d("/replication-couchdb.html","6d5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-firestore.html",component:d("/replication-firestore.html","bcb"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-graphql.html",component:d("/replication-graphql.html","a6c"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-http.html",component:d("/replication-http.html","16a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-nats.html",component:d("/replication-nats.html","ac4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-p2p.html",component:d("/replication-p2p.html","ec6"),exact:!0},{path:"/replication-server",component:d("/replication-server","aa6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-webrtc.html",component:d("/replication-webrtc.html","ff6"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication-websocket.html",component:d("/replication-websocket.html","4f9"),exact:!0,sidebar:"tutorialSidebar"},{path:"/replication.html",component:d("/replication.html","62b"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-attachment.html",component:d("/rx-attachment.html","7d7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-collection.html",component:d("/rx-collection.html","7dc"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-database.html",component:d("/rx-database.html","e4e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-document.html",component:d("/rx-document.html","e09"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-local-document.html",component:d("/rx-local-document.html","0db"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-pipeline.html",component:d("/rx-pipeline.html","4b1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-query.html",component:d("/rx-query.html","2cf"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-schema.html",component:d("/rx-schema.html","671"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-server-scaling.html",component:d("/rx-server-scaling.html","da1"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-server.html",component:d("/rx-server.html","ed5"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-state.html",component:d("/rx-state.html","198"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-denokv.html",component:d("/rx-storage-denokv.html","b6e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-dexie.html",component:d("/rx-storage-dexie.html","bb3"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-filesystem-node.html",component:d("/rx-storage-filesystem-node.html","a57"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-foundationdb.html",component:d("/rx-storage-foundationdb.html","3c8"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-indexeddb.html",component:d("/rx-storage-indexeddb.html","631"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-localstorage-meta-optimizer.html",component:d("/rx-storage-localstorage-meta-optimizer.html","064"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-lokijs.html",component:d("/rx-storage-lokijs.html","1be"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-memory-mapped.html",component:d("/rx-storage-memory-mapped.html","16d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-memory-synced.html",component:d("/rx-storage-memory-synced.html","65f"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-memory.html",component:d("/rx-storage-memory.html","c21"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-mongodb.html",component:d("/rx-storage-mongodb.html","5ad"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-opfs.html",component:d("/rx-storage-opfs.html","6f7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-performance.html",component:d("/rx-storage-performance.html","b12"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-pouchdb.html",component:d("/rx-storage-pouchdb.html","d82"),exact:!0},{path:"/rx-storage-remote.html",component:d("/rx-storage-remote.html","5df"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-sharding.html",component:d("/rx-storage-sharding.html","b30"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-shared-worker.html",component:d("/rx-storage-shared-worker.html","0f4"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-sqlite.html",component:d("/rx-storage-sqlite.html","ad7"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage-worker.html",component:d("/rx-storage-worker.html","a4e"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rx-storage.html",component:d("/rx-storage.html","144"),exact:!0,sidebar:"tutorialSidebar"},{path:"/rxdb-tradeoffs.html",component:d("/rxdb-tradeoffs.html","5cb"),exact:!0},{path:"/schema-validation.html",component:d("/schema-validation.html","b8d"),exact:!0,sidebar:"tutorialSidebar"},{path:"/slow-indexeddb.html",component:d("/slow-indexeddb.html","a40"),exact:!0,sidebar:"tutorialSidebar"},{path:"/third-party-plugins.html",component:d("/third-party-plugins.html","549"),exact:!0,sidebar:"tutorialSidebar"},{path:"/transactions-conflicts-revisions.html",component:d("/transactions-conflicts-revisions.html","53a"),exact:!0,sidebar:"tutorialSidebar"},{path:"/tutorials/typescript.html",component:d("/tutorials/typescript.html","a33"),exact:!0,sidebar:"tutorialSidebar"},{path:"/why-nosql.html",component:d("/why-nosql.html","ad0"),exact:!0,sidebar:"tutorialSidebar"}]}]}]},{path:"*",component:d("*")}]},6125:(e,t,n)=>{"use strict";n.d(t,{o:()=>o,x:()=>i});var r=n(6540),a=n(4848);const o=r.createContext(!1);function i(e){let{children:t}=e;const[n,i]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{i(!0)}),[]),(0,a.jsx)(o.Provider,{value:n,children:t})}},8522:(e,t,n)=>{"use strict";var r=n(6540),a=n(5338),o=n(4625),i=n(545),s=n(8193);const l=[n(1911),n(119),n(6134),n(6294),n(1043)];var c=n(8328),u=n(6347),d=n(2831),f=n(2303),p=n(9961),h=n(4848);function m(e){let{children:t}=e;const n=(0,f.A)();return(0,r.useEffect)((()=>{n&&(function(){if(!location.pathname.includes(".html"))return;const e=[{text:"Follow",keyword:"@twitter",url:"https://twitter.com/intent/user?screen_name=rxdbjs",icon:"\ud83d\udc26"},{text:"Follow",keyword:"@LinkedIn",url:"https://www.linkedin.com/company/rxdb",icon:"[in]"},{text:"Chat",keyword:"@discord",url:"https://rxdb.info/chat",icon:"\ud83d\udcac"},{text:"Star",keyword:"@github",url:"https://rxdb.info/code",icon:"\ud83d\udc19\ud83d\udcbb"},{text:"Subscribe",keyword:"@newsletter",url:"https://rxdb.info/newsletter",icon:"\ud83d\udcf0"},{text:"Take Part in the",keyword:"User Survey 2024",url:"https://rxdb.info/survey",icon:"\ud83d\udcdd"}];function t(e,t){e.parentNode.insertBefore(t,e.nextSibling)}const n="rxdb-call-to-action-button";function r(){console.log("set call to action button");const r=6e5,a=Date.now(),o=(a-a%r)/r;console.log("timeslot "+o);const i=o%e.length;console.log("randid: "+i);const s=e[i],l=document.querySelector(".call-to-action");l&&l.parentNode.removeChild(l);const c=document.querySelector(".navbar__items");if(!c)return;const u=document.createElement("div");u.classList.add("call-to-action");const d=document.createElement("a");d.onclick=()=>{window.trigger("call-to-action",.35)},d.classList.add("hover-shadow-top"),d.id=n,d.innerHTML=s.text+' '+s.keyword+''+s.icon+"",d.href=s.url,d.target="_blank",u.append(d),t(c,u)}r()}(),async function(){const e="console-log-click",t=new URLSearchParams(window.location.search);if(!t.has("console"))return;const n=await(0,p.C3)();await n.getLocal(e)?console.log("# already tracked "+e):(window.trigger(e+"_"+t.get("console"),10),await n.upsertLocal(e,{}))}())})),(0,h.jsx)(h.Fragment,{children:t})}var g=n(5260),y=n(4586),b=n(6025),v=n(6342),w=n(1003),x=n(2131),k=n(4090),_=n(2967),S=n(440),E=n(1463);function C(){const{i18n:{currentLocale:e,defaultLocale:t,localeConfigs:n}}=(0,y.A)(),r=(0,x.o)(),a=n[e].htmlLang,o=e=>e.replace("-","_");return(0,h.jsxs)(g.A,{children:[Object.entries(n).map((e=>{let[t,{htmlLang:n}]=e;return(0,h.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:n},t)})),(0,h.jsx)("link",{rel:"alternate",href:r.createUrl({locale:t,fullyQualified:!0}),hrefLang:"x-default"}),(0,h.jsx)("meta",{property:"og:locale",content:o(a)}),Object.values(n).filter((e=>a!==e.htmlLang)).map((e=>(0,h.jsx)("meta",{property:"og:locale:alternate",content:o(e.htmlLang)},`meta-og-${e.htmlLang}`)))]})}function O(e){let{permalink:t}=e;const{siteConfig:{url:n}}=(0,y.A)(),r=function(){const{siteConfig:{url:e,baseUrl:t,trailingSlash:n}}=(0,y.A)(),{pathname:r}=(0,u.zy)();return e+(0,S.applyTrailingSlash)((0,b.A)(r),{trailingSlash:n,baseUrl:t})}(),a=t?`${n}${t}`:r;return(0,h.jsxs)(g.A,{children:[(0,h.jsx)("meta",{property:"og:url",content:a}),(0,h.jsx)("link",{rel:"canonical",href:a})]})}function T(){const{i18n:{currentLocale:e}}=(0,y.A)(),{metadata:t,image:n}=(0,v.p)();return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(g.A,{children:[(0,h.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,h.jsx)("body",{className:k.w})]}),n&&(0,h.jsx)(w.be,{image:n}),(0,h.jsx)(O,{}),(0,h.jsx)(C,{}),(0,h.jsx)(E.A,{tag:_.Cy,locale:e}),(0,h.jsx)(g.A,{children:t.map(((e,t)=>(0,h.jsx)("meta",{...e},t)))})]})}const A=new Map;function j(e){if(A.has(e.pathname))return{...e,pathname:A.get(e.pathname)};if((0,d.u)(c.A,e.pathname).some((e=>{let{route:t}=e;return!0===t.exact})))return A.set(e.pathname,e.pathname),e;const t=e.pathname.trim().replace(/(?:\/index)?\.html$/,"")||"/";return A.set(e.pathname,t),{...e,pathname:t}}var P=n(6125),R=n(6988),D=n(205);function I(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r{const r=t.default?.[e]??t[e];return r?.(...n)}));return()=>a.forEach((e=>e?.()))}const N=function(e){let{children:t,location:n,previousLocation:r}=e;return(0,D.A)((()=>{r!==n&&(!function(e){let{location:t,previousLocation:n}=e;if(!n)return;const r=t.pathname===n.pathname,a=t.hash===n.hash,o=t.search===n.search;if(r&&a&&!o)return;const{hash:i}=t;if(i){const e=decodeURIComponent(i.substring(1)),t=document.getElementById(e);t?.scrollIntoView()}else window.scrollTo(0,0)}({location:n,previousLocation:r}),I("onRouteDidUpdate",{previousLocation:r,location:n}))}),[r,n]),t};function L(e){const t=Array.from(new Set([e,decodeURI(e)])).map((e=>(0,d.u)(c.A,e))).flat();return Promise.all(t.map((e=>e.route.component.preload?.())))}class M extends r.Component{previousLocation;routeUpdateCleanupCb;constructor(e){super(e),this.previousLocation=null,this.routeUpdateCleanupCb=s.A.canUseDOM?I("onRouteUpdate",{previousLocation:null,location:this.props.location}):()=>{},this.state={nextRouteHasLoaded:!0}}shouldComponentUpdate(e,t){if(e.location===this.props.location)return t.nextRouteHasLoaded;const n=e.location;return this.previousLocation=this.props.location,this.setState({nextRouteHasLoaded:!1}),this.routeUpdateCleanupCb=I("onRouteUpdate",{previousLocation:this.previousLocation,location:n}),L(n.pathname).then((()=>{this.routeUpdateCleanupCb(),this.setState({nextRouteHasLoaded:!0})})).catch((e=>{console.warn(e),window.location.reload()})),!1}render(){const{children:e,location:t}=this.props;return(0,h.jsx)(N,{previousLocation:this.previousLocation,location:t,children:(0,h.jsx)(u.qh,{location:t,render:()=>e})})}}const F=M,B="__docusaurus-base-url-issue-banner-container",$="__docusaurus-base-url-issue-banner",q="__docusaurus-base-url-issue-banner-suggestion-container";function z(e){return`\ndocument.addEventListener('DOMContentLoaded', function maybeInsertBanner() {\n var shouldInsert = typeof window['docusaurus'] === 'undefined';\n shouldInsert && insertBanner();\n});\n\nfunction insertBanner() {\n var bannerContainer = document.createElement('div');\n bannerContainer.id = '${B}';\n var bannerHtml = ${JSON.stringify(function(e){return`\n
\n

Your Docusaurus site did not load properly.

\n

A very common reason is a wrong site baseUrl configuration.

\n

Current configured baseUrl = ${e} ${"/"===e?" (default value)":""}

\n

We suggest trying baseUrl =

\n
\n`}(e)).replace(/{if("undefined"==typeof document)return void n();const r=document.createElement("link");r.setAttribute("rel","prefetch"),r.setAttribute("href",e),r.onload=()=>t(),r.onerror=()=>n();const a=document.getElementsByTagName("head")[0]??document.getElementsByName("script")[0]?.parentNode;a?.appendChild(r)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.withCredentials=!0,r.onload=()=>{200===r.status?t():n()},r.send(null)}))};var Z=n(6921);const J=new Set,X=new Set,ee=()=>navigator.connection?.effectiveType.includes("2g")||navigator.connection?.saveData,te={prefetch(e){if(!(e=>!ee()&&!X.has(e)&&!J.has(e))(e))return!1;J.add(e);const t=(0,d.u)(c.A,e).flatMap((e=>{return t=e.route.path,Object.entries(Q).filter((e=>{let[n]=e;return n.replace(/-[^-]+$/,"")===t})).flatMap((e=>{let[,t]=e;return Object.values((0,Z.A)(t))}));var t}));return Promise.all(t.map((e=>{const t=n.gca(e);return t&&!t.includes("undefined")?Y(t).catch((()=>{})):Promise.resolve()})))},preload:e=>!!(e=>!ee()&&!X.has(e))(e)&&(X.add(e),L(e))},ne=Object.freeze(te),re=Boolean(!0);if(s.A.canUseDOM){window.docusaurus=ne;const e=document.getElementById("__docusaurus"),t=(0,h.jsx)(i.vd,{children:(0,h.jsx)(o.Kd,{children:(0,h.jsx)(G,{})})}),n=(e,t)=>{console.error("Docusaurus React Root onRecoverableError:",e,t)},s=()=>{if(re)r.startTransition((()=>{a.hydrateRoot(e,t,{onRecoverableError:n})}));else{const o=a.createRoot(e,{onRecoverableError:n});r.startTransition((()=>{o.render(t)}))}};L(window.location.pathname).then(s)}},6988:(e,t,n)=>{"use strict";n.d(t,{o:()=>d,l:()=>f});var r=n(6540),a=n(4784);const o=JSON.parse('{"docusaurus-plugin-google-gtag":{"default":{"trackingID":["G-62D63SY3S0"],"anonymizeIP":false,"id":"default"}},"docusaurus-plugin-google-tag-manager":{"default":{"containerId":"GTM-PL63TR5","id":"default"}},"docusaurus-lunr-search":{"default":{"fileNames":{"searchDoc":"search-doc-1724246334235.json","lunrIndex":"lunr-index-1724246334235.json"}}},"docusaurus-plugin-content-docs":{"default":{"path":"/","versions":[{"name":"current","label":"Next","isLast":true,"path":"/","mainDocId":"quickstart","docs":[{"id":"adapters","path":"/adapters.html"},{"id":"alternatives","path":"/alternatives.html","sidebar":"tutorialSidebar"},{"id":"articles/angular-database","path":"/articles/angular-database.html","sidebar":"tutorialSidebar"},{"id":"articles/browser-database","path":"/articles/browser-database.html","sidebar":"tutorialSidebar"},{"id":"articles/browser-storage","path":"/articles/browser-storage.html","sidebar":"tutorialSidebar"},{"id":"articles/data-base","path":"/articles/data-base.html","sidebar":"tutorialSidebar"},{"id":"articles/embedded-database","path":"/articles/embedded-database.html","sidebar":"tutorialSidebar"},{"id":"articles/flutter-database","path":"/articles/flutter-database.html","sidebar":"tutorialSidebar"},{"id":"articles/frontend-database","path":"/articles/frontend-database.html","sidebar":"tutorialSidebar"},{"id":"articles/in-memory-nosql-database","path":"/articles/in-memory-nosql-database.html","sidebar":"tutorialSidebar"},{"id":"articles/ionic-database","path":"/articles/ionic-database.html","sidebar":"tutorialSidebar"},{"id":"articles/json-database","path":"/articles/json-database.html","sidebar":"tutorialSidebar"},{"id":"articles/localstorage","path":"/articles/localstorage.html","sidebar":"tutorialSidebar"},{"id":"articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm","path":"/articles/localstorage-indexeddb-cookies-opfs-sqlite-wasm"},{"id":"articles/mobile-database","path":"/articles/mobile-database.html","sidebar":"tutorialSidebar"},{"id":"articles/progressive-web-app-database","path":"/articles/progressive-web-app-database.html","sidebar":"tutorialSidebar"},{"id":"articles/react-database","path":"/articles/react-database.html","sidebar":"tutorialSidebar"},{"id":"articles/realtime-database","path":"/articles/realtime-database.html","sidebar":"tutorialSidebar"},{"id":"articles/websockets-sse-polling-webrtc-webtransport","path":"/articles/websockets-sse-polling-webrtc-webtransport.html","sidebar":"tutorialSidebar"},{"id":"backup","path":"/backup.html","sidebar":"tutorialSidebar"},{"id":"capacitor-database","path":"/capacitor-database.html","sidebar":"tutorialSidebar"},{"id":"cleanup","path":"/cleanup.html","sidebar":"tutorialSidebar"},{"id":"contribute","path":"/contribution.html","sidebar":"tutorialSidebar"},{"id":"crdt","path":"/crdt.html","sidebar":"tutorialSidebar"},{"id":"data-migration","path":"/data-migration"},{"id":"dev-mode","path":"/dev-mode.html","sidebar":"tutorialSidebar"},{"id":"downsides-of-offline-first","path":"/downsides-of-offline-first.html","sidebar":"tutorialSidebar"},{"id":"electron","path":"/electron.html","sidebar":"tutorialSidebar"},{"id":"electron-database","path":"/electron-database.html","sidebar":"tutorialSidebar"},{"id":"encryption","path":"/encryption.html","sidebar":"tutorialSidebar"},{"id":"errors","path":"/errors.html","sidebar":"tutorialSidebar"},{"id":"install","path":"/install.html","sidebar":"tutorialSidebar"},{"id":"key-compression","path":"/key-compression.html","sidebar":"tutorialSidebar"},{"id":"leader-election","path":"/leader-election.html","sidebar":"tutorialSidebar"},{"id":"logger","path":"/logger.html","sidebar":"tutorialSidebar"},{"id":"middleware","path":"/middleware.html","sidebar":"tutorialSidebar"},{"id":"migration-schema","path":"/migration-schema.html","sidebar":"tutorialSidebar"},{"id":"migration-storage","path":"/migration-storage.html","sidebar":"tutorialSidebar"},{"id":"nodejs-database","path":"/nodejs-database.html","sidebar":"tutorialSidebar"},{"id":"nosql-performance-tips","path":"/nosql-performance-tips.html","sidebar":"tutorialSidebar"},{"id":"offline-first","path":"/offline-first.html","sidebar":"tutorialSidebar"},{"id":"orm","path":"/orm.html","sidebar":"tutorialSidebar"},{"id":"plugins","path":"/plugins.html","sidebar":"tutorialSidebar"},{"id":"population","path":"/population.html","sidebar":"tutorialSidebar"},{"id":"query-cache","path":"/query-cache.html","sidebar":"tutorialSidebar"},{"id":"query-optimizer","path":"/query-optimizer.html","sidebar":"tutorialSidebar"},{"id":"questions-answers","path":"/questions-answers.html","sidebar":"tutorialSidebar"},{"id":"quickstart","path":"/quickstart.html","sidebar":"tutorialSidebar"},{"id":"react-native-database","path":"/react-native-database.html","sidebar":"tutorialSidebar"},{"id":"reactivity","path":"/reactivity.html","sidebar":"tutorialSidebar"},{"id":"releases/10.0.0","path":"/releases/10.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/11.0.0","path":"/releases/11.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/12.0.0","path":"/releases/12.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/13.0.0","path":"/releases/13.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/14.0.0","path":"/releases/14.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/15.0.0","path":"/releases/15.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/8.0.0","path":"/releases/8.0.0.html","sidebar":"tutorialSidebar"},{"id":"releases/9.0.0","path":"/releases/9.0.0.html","sidebar":"tutorialSidebar"},{"id":"replication","path":"/replication.html","sidebar":"tutorialSidebar"},{"id":"replication-couchdb","path":"/replication-couchdb.html","sidebar":"tutorialSidebar"},{"id":"replication-firestore","path":"/replication-firestore.html","sidebar":"tutorialSidebar"},{"id":"replication-graphql","path":"/replication-graphql.html","sidebar":"tutorialSidebar"},{"id":"replication-http","path":"/replication-http.html","sidebar":"tutorialSidebar"},{"id":"replication-nats","path":"/replication-nats.html","sidebar":"tutorialSidebar"},{"id":"replication-p2p","path":"/replication-p2p.html"},{"id":"replication-server","path":"/replication-server","sidebar":"tutorialSidebar"},{"id":"replication-webrtc","path":"/replication-webrtc.html","sidebar":"tutorialSidebar"},{"id":"replication-websocket","path":"/replication-websocket.html","sidebar":"tutorialSidebar"},{"id":"rx-attachment","path":"/rx-attachment.html","sidebar":"tutorialSidebar"},{"id":"rx-collection","path":"/rx-collection.html","sidebar":"tutorialSidebar"},{"id":"rx-database","path":"/rx-database.html","sidebar":"tutorialSidebar"},{"id":"rx-document","path":"/rx-document.html","sidebar":"tutorialSidebar"},{"id":"rx-local-document","path":"/rx-local-document.html","sidebar":"tutorialSidebar"},{"id":"rx-pipeline","path":"/rx-pipeline.html","sidebar":"tutorialSidebar"},{"id":"rx-query","path":"/rx-query.html","sidebar":"tutorialSidebar"},{"id":"rx-schema","path":"/rx-schema.html","sidebar":"tutorialSidebar"},{"id":"rx-server","path":"/rx-server.html","sidebar":"tutorialSidebar"},{"id":"rx-server-scaling","path":"/rx-server-scaling.html","sidebar":"tutorialSidebar"},{"id":"rx-state","path":"/rx-state.html","sidebar":"tutorialSidebar"},{"id":"rx-storage","path":"/rx-storage.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-denokv","path":"/rx-storage-denokv.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-dexie","path":"/rx-storage-dexie.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-filesystem-node","path":"/rx-storage-filesystem-node.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-foundationdb","path":"/rx-storage-foundationdb.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-indexeddb","path":"/rx-storage-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-localstorage-meta-optimizer","path":"/rx-storage-localstorage-meta-optimizer.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-lokijs","path":"/rx-storage-lokijs.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-memory","path":"/rx-storage-memory.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-memory-mapped","path":"/rx-storage-memory-mapped.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-memory-synced","path":"/rx-storage-memory-synced.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-mongodb","path":"/rx-storage-mongodb.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-opfs","path":"/rx-storage-opfs.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-performance","path":"/rx-storage-performance.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-pouchdb","path":"/rx-storage-pouchdb.html"},{"id":"rx-storage-remote","path":"/rx-storage-remote.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-sharding","path":"/rx-storage-sharding.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-shared-worker","path":"/rx-storage-shared-worker.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-sqlite","path":"/rx-storage-sqlite.html","sidebar":"tutorialSidebar"},{"id":"rx-storage-worker","path":"/rx-storage-worker.html","sidebar":"tutorialSidebar"},{"id":"rxdb-tradeoffs","path":"/rxdb-tradeoffs.html"},{"id":"schema-validation","path":"/schema-validation.html","sidebar":"tutorialSidebar"},{"id":"slow-indexeddb","path":"/slow-indexeddb.html","sidebar":"tutorialSidebar"},{"id":"third-party-plugins","path":"/third-party-plugins.html","sidebar":"tutorialSidebar"},{"id":"transactions-conflicts-revisions","path":"/transactions-conflicts-revisions.html","sidebar":"tutorialSidebar"},{"id":"tutorials/typescript","path":"/tutorials/typescript.html","sidebar":"tutorialSidebar"},{"id":"why-nosql","path":"/why-nosql.html","sidebar":"tutorialSidebar"}],"draftIds":[],"sidebars":{"tutorialSidebar":{"link":{"path":"/quickstart.html","label":"quickstart"}}}}],"breadcrumbs":true}}}'),i=JSON.parse('{"defaultLocale":"en","locales":["en"],"path":"i18n","currentLocale":"en","localeConfigs":{"en":{"label":"English","direction":"ltr","htmlLang":"en","calendar":"gregory","path":"en"}}}');var s=n(2654);const l=JSON.parse('{"docusaurusVersion":"3.0.1","siteVersion":"0.0.0","pluginVersions":{"docusaurus-plugin-content-docs":{"type":"package","name":"@docusaurus/plugin-content-docs","version":"3.0.1"},"docusaurus-plugin-content-blog":{"type":"package","name":"@docusaurus/plugin-content-blog","version":"3.0.1"},"docusaurus-plugin-content-pages":{"type":"package","name":"@docusaurus/plugin-content-pages","version":"3.0.1"},"docusaurus-plugin-google-gtag":{"type":"package","name":"@docusaurus/plugin-google-gtag","version":"3.0.1"},"docusaurus-plugin-google-tag-manager":{"type":"package","name":"@docusaurus/plugin-google-tag-manager","version":"3.0.1"},"docusaurus-plugin-sitemap":{"type":"package","name":"@docusaurus/plugin-sitemap","version":"3.0.1"},"docusaurus-theme-classic":{"type":"package","name":"@docusaurus/theme-classic","version":"3.0.1"},"docusaurus-lunr-search":{"type":"package","name":"docusaurus-lunr-search","version":"3.3.1"}}}');var c=n(4848);const u={siteConfig:a.default,siteMetadata:l,globalData:o,i18n:i,codeTranslations:s},d=r.createContext(u);function f(e){let{children:t}=e;return(0,c.jsx)(d.Provider,{value:u,children:t})}},7489:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(6540),a=n(8193),o=n(5260),i=n(440),s=n(8465),l=n(4848);function c(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"flex-start",minHeight:"100vh",width:"100%",maxWidth:"80ch",fontSize:"20px",margin:"0 auto",padding:"1rem"},children:[(0,l.jsx)("h1",{style:{fontSize:"3rem"},children:"This page crashed"}),(0,l.jsx)("button",{type:"button",onClick:n,style:{margin:"1rem 0",fontSize:"2rem",cursor:"pointer",borderRadius:20,padding:"1rem"},children:"Try again"}),(0,l.jsx)(u,{error:t})]})}function u(e){let{error:t}=e;const n=(0,i.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,l.jsx)("p",{style:{whiteSpace:"pre-wrap"},children:n})}function d(e){let{error:t,tryAgain:n}=e;return(0,l.jsxs)(p,{fallback:()=>(0,l.jsx)(c,{error:t,tryAgain:n}),children:[(0,l.jsx)(o.A,{children:(0,l.jsx)("title",{children:"Page Error"})}),(0,l.jsx)(s.A,{children:(0,l.jsx)(c,{error:t,tryAgain:n})})]})}const f=e=>(0,l.jsx)(d,{...e});class p extends r.Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){a.A.canUseDOM&&this.setState({error:e})}render(){const{children:e}=this.props,{error:t}=this.state;if(t){const e={error:t,tryAgain:()=>this.setState({error:null})};return(this.props.fallback??f)(e)}return e??null}}},8193:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r="undefined"!=typeof window&&"document"in window&&"createElement"in window.document,a={canUseDOM:r,canUseEventListeners:r&&("addEventListener"in window||"attachEvent"in window),canUseIntersectionObserver:r&&"IntersectionObserver"in window,canUseViewport:r&&"screen"in window}},5260:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(545),a=n(4848);function o(e){return(0,a.jsx)(r.mg,{...e})}},5489:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(6540),a=n(4625),o=n(440),i=n(4586),s=n(6654),l=n(8193),c=n(4848);const u=r.createContext({collectLink:()=>{}});var d=n(6025);function f(e,t){let{isNavLink:n,to:f,href:p,activeClassName:h,isActive:m,"data-noBrokenLinkCheck":g,autoAddBaseUrl:y=!0,...b}=e;const{siteConfig:{trailingSlash:v,baseUrl:w}}=(0,i.A)(),{withBaseUrl:x}=(0,d.h)(),k=(0,r.useContext)(u),_=(0,r.useRef)(null);(0,r.useImperativeHandle)(t,(()=>_.current));const S=f||p;const E=(0,s.A)(S),C=S?.replace("pathname://","");let O=void 0!==C?(T=C,y&&(e=>e.startsWith("/"))(T)?x(T):T):void 0;var T;O&&E&&(O=(0,o.applyTrailingSlash)(O,{trailingSlash:v,baseUrl:w}));const A=(0,r.useRef)(!1),j=n?a.k2:a.N_,P=l.A.canUseIntersectionObserver,R=(0,r.useRef)(),D=()=>{A.current||null==O||(window.docusaurus.preload(O),A.current=!0)};(0,r.useEffect)((()=>(!P&&E&&null!=O&&window.docusaurus.prefetch(O),()=>{P&&R.current&&R.current.disconnect()})),[R,O,P,E]);const I=O?.startsWith("#")??!1,N=!O||!E||I;return N||g||k.collectLink(O),N?(0,c.jsx)("a",{ref:_,href:O,...S&&!E&&{target:"_blank",rel:"noopener noreferrer"},...b}):(0,c.jsx)(j,{...b,onMouseEnter:D,onTouchStart:D,innerRef:e=>{_.current=e,P&&e&&E&&(R.current=new window.IntersectionObserver((t=>{t.forEach((t=>{e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(R.current.unobserve(e),R.current.disconnect(),null!=O&&window.docusaurus.prefetch(O))}))})),R.current.observe(e))},to:O,...n&&{isActive:m,activeClassName:h}})}const p=r.forwardRef(f)},1312:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,T:()=>l});var r=n(6540),a=n(4848);function o(e,t){const n=e.split(/(\{\w+\})/).map(((e,n)=>{if(n%2==1){const n=t?.[e.slice(1,-1)];if(void 0!==n)return n}return e}));return n.some((e=>(0,r.isValidElement)(e)))?n.map(((e,t)=>(0,r.isValidElement)(e)?r.cloneElement(e,{key:t}):e)).filter((e=>""!==e)):n.join("")}var i=n(2654);function s(e){let{id:t,message:n}=e;if(void 0===t&&void 0===n)throw new Error("Docusaurus translation declarations must have at least a translation id or a default translation message");return i[t??n]??n??t}function l(e,t){let{message:n,id:r}=e;return o(s({message:n,id:r}),t)}function c(e){let{children:t,id:n,values:r}=e;if(t&&"string"!=typeof t)throw console.warn("Illegal children",t),new Error("The Docusaurus component only accept simple string values");const i=s({message:t,id:n});return(0,a.jsx)(a.Fragment,{children:o(i,r)})}},7065:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});const r="default"},6654:(e,t,n)=>{"use strict";function r(e){return/^(?:\w*:|\/\/)/.test(e)}function a(e){return void 0!==e&&!r(e)}n.d(t,{A:()=>a,z:()=>r})},6025:(e,t,n)=>{"use strict";n.d(t,{A:()=>s,h:()=>i});var r=n(6540),a=n(4586),o=n(6654);function i(){const{siteConfig:{baseUrl:e,url:t}}=(0,a.A)(),n=(0,r.useCallback)(((n,r)=>function(e,t,n,r){let{forcePrependBaseUrl:a=!1,absolute:i=!1}=void 0===r?{}:r;if(!n||n.startsWith("#")||(0,o.z)(n))return n;if(a)return t+n.replace(/^\//,"");if(n===t.replace(/\/$/,""))return t;const s=n.startsWith(t)?n:t+n.replace(/^\//,"");return i?e+s:s}(t,e,n,r)),[t,e]);return{withBaseUrl:n}}function s(e,t){void 0===t&&(t={});const{withBaseUrl:n}=i();return n(e,t)}},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6988);function o(){return(0,r.useContext)(a.o)}},6588:(e,t,n)=>{"use strict";n.d(t,{P_:()=>i,kh:()=>o});var r=n(4586),a=n(7065);function o(e,t){void 0===t&&(t={});const n=function(){const{globalData:e}=(0,r.A)();return e}()[e];if(!n&&t.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin.`);return n}function i(e,t,n){void 0===t&&(t=a.W),void 0===n&&(n={});const r=o(e),i=r?.[t];if(!i&&n.failfast)throw new Error(`Docusaurus plugin global data not found for "${e}" plugin with id "${t}".`);return i}},2303:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6540),a=n(6125);function o(){return(0,r.useContext)(a.o)}},205:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6540);const a=n(8193).A.canUseDOM?r.useLayoutEffect:r.useEffect},6921:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});const r=e=>"object"==typeof e&&!!e&&Object.keys(e).length>0;function a(e){const t={};return function e(n,a){Object.entries(n).forEach((n=>{let[o,i]=n;const s=a?`${a}.${o}`:o;r(i)?e(i,s):t[s]=i}))}(e),t}},3102:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,o:()=>o});var r=n(6540),a=n(4848);const o=r.createContext(null);function i(e){let{children:t,value:n}=e;const i=r.useContext(o),s=(0,r.useMemo)((()=>function(e){let{parent:t,value:n}=e;if(!t){if(!n)throw new Error("Unexpected: no Docusaurus route context found");if(!("plugin"in n))throw new Error("Unexpected: Docusaurus topmost route context has no `plugin` attribute");return n}const r={...t.data,...n?.data};return{plugin:t.plugin,data:r}}({parent:i,value:n})),[i,n]);return(0,a.jsx)(o.Provider,{value:s,children:t})}},8295:(e,t,n)=>{"use strict";n.d(t,{zK:()=>p,vT:()=>u,Gy:()=>l,HW:()=>h,ht:()=>c,r7:()=>f,jh:()=>d});var r=n(6347),a=n(6588);const o=e=>e.versions.find((e=>e.isLast));function i(e,t){const n=function(e,t){const n=o(e);return[...e.versions.filter((e=>e!==n)),n].find((e=>!!(0,r.B6)(t,{path:e.path,exact:!1,strict:!1})))}(e,t),a=n?.docs.find((e=>!!(0,r.B6)(t,{path:e.path,exact:!0,strict:!1})));return{activeVersion:n,activeDoc:a,alternateDocVersions:a?function(t){const n={};return e.versions.forEach((e=>{e.docs.forEach((r=>{r.id===t&&(n[e.name]=r)}))})),n}(a.id):{}}}const s={},l=()=>(0,a.kh)("docusaurus-plugin-content-docs")??s,c=e=>(0,a.P_)("docusaurus-plugin-content-docs",e,{failfast:!0});function u(e){void 0===e&&(e={});const t=l(),{pathname:n}=(0,r.zy)();return function(e,t,n){void 0===n&&(n={});const a=Object.entries(e).sort(((e,t)=>t[1].path.localeCompare(e[1].path))).find((e=>{let[,n]=e;return!!(0,r.B6)(t,{path:n.path,exact:!1,strict:!1})})),o=a?{pluginId:a[0],pluginData:a[1]}:void 0;if(!o&&n.failfast)throw new Error(`Can't find active docs plugin for "${t}" pathname, while it was expected to be found. Maybe you tried to use a docs feature that can only be used on a docs-related page? Existing docs plugin paths are: ${Object.values(e).map((e=>e.path)).join(", ")}`);return o}(t,n,e)}function d(e){return c(e).versions}function f(e){const t=c(e);return o(t)}function p(e){const t=c(e),{pathname:n}=(0,r.zy)();return i(t,n)}function h(e){const t=c(e),{pathname:n}=(0,r.zy)();return function(e,t){const n=o(e);return{latestDocSuggestion:i(e,t).alternateDocVersions[n.name],latestVersionSuggestion:n}}(t,n)}},1911:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>r});const r={onRouteDidUpdate(e){let{location:t,previousLocation:n}=e;!n||t.pathname===n.pathname&&t.search===n.search&&t.hash===n.hash||setTimeout((()=>{window.gtag("set","page_path",t.pathname+t.search+t.hash),window.gtag("event","page_view")}))}}},6294:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var r=n(5947),a=n.n(r);a().configure({showSpinner:!1});const o={onRouteUpdate(e){let{location:t,previousLocation:n}=e;if(n&&t.pathname!==n.pathname){const e=window.setTimeout((()=>{a().start()}),200);return()=>window.clearTimeout(e)}},onRouteDidUpdate(){a().done()}}},6134:(e,t,n)=>{"use strict";var r=n(1765),a=n(4784);!function(e){const{themeConfig:{prism:t}}=a.default,{additionalLanguages:r}=t;globalThis.Prism=e,r.forEach((e=>{"php"===e&&n(9700),n(8692)(`./prism-${e}`)})),delete globalThis.Prism}(r.My)},1107:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});n(6540);var r=n(4164),a=n(1312),o=n(6342),i=n(5489);const s={anchorWithStickyNavbar:"anchorWithStickyNavbar_LWe7",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_WYt5"};var l=n(4848);function c(e){let{as:t,id:n,...c}=e;const{navbar:{hideOnScroll:u}}=(0,o.p)();if("h1"===t||!n)return(0,l.jsx)(t,{...c,id:void 0});const d=(0,a.T)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof c.children?c.children:n});return(0,l.jsxs)(t,{...c,className:(0,r.A)("anchor",u?s.anchorWithHideOnScrollNavbar:s.anchorWithStickyNavbar,c.className),id:n,children:[c.children,(0,l.jsx)(i.A,{className:"hash-link",to:`#${n}`,"aria-label":d,title:d,children:"\u200b"})]})}},3186:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);const r={iconExternalLink:"iconExternalLink_nPIU"};var a=n(4848);function o(e){let{width:t=13.5,height:n=13.5}=e;return(0,a.jsx)("svg",{width:t,height:n,"aria-hidden":"true",viewBox:"0 0 24 24",className:r.iconExternalLink,children:(0,a.jsx)("path",{fill:"currentColor",d:"M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"})})}},8465:(e,t,n)=>{"use strict";n.d(t,{A:()=>rt});var r=n(6540),a=n(4164),o=n(7489),i=n(1003),s=n(6347),l=n(1312),c=n(5062),u=n(4848);const d="__docusaurus_skipToContent_fallback";function f(e){e.setAttribute("tabindex","-1"),e.focus(),e.removeAttribute("tabindex")}function p(){const e=(0,r.useRef)(null),{action:t}=(0,s.W6)(),n=(0,r.useCallback)((e=>{e.preventDefault();const t=document.querySelector("main:first-of-type")??document.getElementById(d);t&&f(t)}),[]);return(0,c.$)((n=>{let{location:r}=n;e.current&&!r.hash&&"PUSH"===t&&f(e.current)})),{containerRef:e,onClick:n}}const h=(0,l.T)({id:"theme.common.skipToMainContent",description:"The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation",message:"Skip to main content"});function m(e){const t=e.children??h,{containerRef:n,onClick:r}=p();return(0,u.jsx)("div",{ref:n,role:"region","aria-label":h,children:(0,u.jsx)("a",{...e,href:`#${d}`,onClick:r,children:t})})}var g=n(7559),y=n(4090);const b={skipToContent:"skipToContent_fXgn"};function v(){return(0,u.jsx)(m,{className:b.skipToContent})}var w=n(6342),x=n(5041);function k(e){let{width:t=21,height:n=21,color:r="currentColor",strokeWidth:a=1.2,className:o,...i}=e;return(0,u.jsx)("svg",{viewBox:"0 0 15 15",width:t,height:n,...i,children:(0,u.jsx)("g",{stroke:r,strokeWidth:a,children:(0,u.jsx)("path",{d:"M.75.75l13.5 13.5M14.25.75L.75 14.25"})})})}const _={closeButton:"closeButton_CVFx"};function S(e){return(0,u.jsx)("button",{type:"button","aria-label":(0,l.T)({id:"theme.AnnouncementBar.closeButtonAriaLabel",message:"Close",description:"The ARIA label for close button of announcement bar"}),...e,className:(0,a.A)("clean-btn close",_.closeButton,e.className),children:(0,u.jsx)(k,{width:14,height:14,strokeWidth:3.1})})}const E={content:"content_knG7"};function C(e){const{announcementBar:t}=(0,w.p)(),{content:n}=t;return(0,u.jsx)("div",{...e,className:(0,a.A)(E.content,e.className),dangerouslySetInnerHTML:{__html:n}})}const O={announcementBar:"announcementBar_mb4j",announcementBarPlaceholder:"announcementBarPlaceholder_vyr4",announcementBarClose:"announcementBarClose_gvF7",announcementBarContent:"announcementBarContent_xLdY"};function T(){const{announcementBar:e}=(0,w.p)(),{isActive:t,close:n}=(0,x.Mj)();if(!t)return null;const{backgroundColor:r,textColor:a,isCloseable:o}=e;return(0,u.jsxs)("div",{className:O.announcementBar,style:{backgroundColor:r,color:a},role:"banner",children:[o&&(0,u.jsx)("div",{className:O.announcementBarPlaceholder}),(0,u.jsx)(C,{className:O.announcementBarContent}),o&&(0,u.jsx)(S,{onClick:n,className:O.announcementBarClose})]})}var A=n(9876),j=n(3104);var P=n(9532),R=n(5600);const D=r.createContext(null);function I(e){let{children:t}=e;const n=function(){const e=(0,A.M)(),t=(0,R.YL)(),[n,a]=(0,r.useState)(!1),o=null!==t.component,i=(0,P.ZC)(o);return(0,r.useEffect)((()=>{o&&!i&&a(!0)}),[o,i]),(0,r.useEffect)((()=>{o?e.shown||a(!0):a(!1)}),[e.shown,o]),(0,r.useMemo)((()=>[n,a]),[n])}();return(0,u.jsx)(D.Provider,{value:n,children:t})}function N(e){if(e.component){const t=e.component;return(0,u.jsx)(t,{...e.props})}}function L(){const e=(0,r.useContext)(D);if(!e)throw new P.dV("NavbarSecondaryMenuDisplayProvider");const[t,n]=e,a=(0,r.useCallback)((()=>n(!1)),[n]),o=(0,R.YL)();return(0,r.useMemo)((()=>({shown:t,hide:a,content:N(o)})),[a,o,t])}function M(e){let{header:t,primaryMenu:n,secondaryMenu:r}=e;const{shown:o}=L();return(0,u.jsxs)("div",{className:"navbar-sidebar",children:[t,(0,u.jsxs)("div",{className:(0,a.A)("navbar-sidebar__items",{"navbar-sidebar__items--show-secondary":o}),children:[(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:n}),(0,u.jsx)("div",{className:"navbar-sidebar__item menu",children:r})]})]})}var F=n(5293),B=n(2303);function $(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"})})}function q(e){return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:(0,u.jsx)("path",{fill:"currentColor",d:"M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"})})}const z={toggle:"toggle_vylO",toggleButton:"toggleButton_gllP",darkToggleIcon:"darkToggleIcon_wfgR",lightToggleIcon:"lightToggleIcon_pyhR",toggleButtonDisabled:"toggleButtonDisabled_aARS"};function U(e){let{className:t,buttonClassName:n,value:r,onChange:o}=e;const i=(0,B.A)(),s=(0,l.T)({message:"Switch between dark and light mode (currently {mode})",id:"theme.colorToggle.ariaLabel",description:"The ARIA label for the navbar color mode toggle"},{mode:"dark"===r?(0,l.T)({message:"dark mode",id:"theme.colorToggle.ariaLabel.mode.dark",description:"The name for the dark color mode"}):(0,l.T)({message:"light mode",id:"theme.colorToggle.ariaLabel.mode.light",description:"The name for the light color mode"})});return(0,u.jsx)("div",{className:(0,a.A)(z.toggle,t),children:(0,u.jsxs)("button",{className:(0,a.A)("clean-btn",z.toggleButton,!i&&z.toggleButtonDisabled,n),type:"button",onClick:()=>o("dark"===r?"light":"dark"),disabled:!i,title:s,"aria-label":s,"aria-live":"polite",children:[(0,u.jsx)($,{className:(0,a.A)(z.toggleIcon,z.lightToggleIcon)}),(0,u.jsx)(q,{className:(0,a.A)(z.toggleIcon,z.darkToggleIcon)})]})})}const K=r.memo(U),H={darkNavbarColorModeToggle:"darkNavbarColorModeToggle_X3D1"};function W(e){let{className:t}=e;const n=(0,w.p)().navbar.style,r=(0,w.p)().colorMode.disableSwitch,{colorMode:a,setColorMode:o}=(0,F.G)();return r?null:(0,u.jsx)(K,{className:t,buttonClassName:"dark"===n?H.darkNavbarColorModeToggle:void 0,value:a,onChange:o})}var V=n(9529);function G(){return(0,u.jsx)(V.A,{className:"navbar__brand",imageClassName:"navbar__logo",titleClassName:"navbar__title text--truncate"})}function Q(){const e=(0,A.M)();return(0,u.jsx)("button",{type:"button","aria-label":(0,l.T)({id:"theme.docs.sidebar.closeSidebarButtonAriaLabel",message:"Close navigation bar",description:"The ARIA label for close button of mobile sidebar"}),className:"clean-btn navbar-sidebar__close",onClick:()=>e.toggle(),children:(0,u.jsx)(k,{color:"var(--ifm-color-emphasis-600)"})})}function Y(){return(0,u.jsxs)("div",{className:"navbar-sidebar__brand",children:[(0,u.jsx)(G,{}),(0,u.jsx)(W,{className:"margin-right--md"}),(0,u.jsx)(Q,{})]})}var Z=n(5489),J=n(6025),X=n(6654);function ee(e,t){return void 0!==e&&void 0!==t&&new RegExp(e,"gi").test(t)}var te=n(3186);function ne(e){let{activeBasePath:t,activeBaseRegex:n,to:r,href:a,label:o,html:i,isDropdownLink:s,prependBaseUrlToHref:l,...c}=e;const d=(0,J.A)(r),f=(0,J.A)(t),p=(0,J.A)(a,{forcePrependBaseUrl:!0}),h=o&&a&&!(0,X.A)(a),m=i?{dangerouslySetInnerHTML:{__html:i}}:{children:(0,u.jsxs)(u.Fragment,{children:[o,h&&(0,u.jsx)(te.A,{...s&&{width:12,height:12}})]})};return a?(0,u.jsx)(Z.A,{href:l?p:a,...c,...m}):(0,u.jsx)(Z.A,{to:d,isNavLink:!0,...(t||n)&&{isActive:(e,t)=>n?ee(n,t.pathname):t.pathname.startsWith(f)},...c,...m})}function re(e){let{className:t,isDropdownItem:n=!1,...r}=e;const o=(0,u.jsx)(ne,{className:(0,a.A)(n?"dropdown__link":"navbar__item navbar__link",t),isDropdownLink:n,...r});return n?(0,u.jsx)("li",{children:o}):o}function ae(e){let{className:t,isDropdownItem:n,...r}=e;return(0,u.jsx)("li",{className:"menu__list-item",children:(0,u.jsx)(ne,{className:(0,a.A)("menu__link",t),...r})})}function oe(e){let{mobile:t=!1,position:n,...r}=e;const a=t?ae:re;return(0,u.jsx)(a,{...r,activeClassName:r.activeClassName??(t?"menu__link--active":"navbar__link--active")})}var ie=n(1422),se=n(9169),le=n(4586);const ce={dropdownNavbarItemMobile:"dropdownNavbarItemMobile_S0Fm"};function ue(e,t){return e.some((e=>function(e,t){return!!(0,se.ys)(e.to,t)||!!ee(e.activeBaseRegex,t)||!(!e.activeBasePath||!t.startsWith(e.activeBasePath))}(e,t)))}function de(e){let{items:t,position:n,className:o,onClick:i,...s}=e;const l=(0,r.useRef)(null),[c,d]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{const e=e=>{l.current&&!l.current.contains(e.target)&&d(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),document.addEventListener("focusin",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e),document.removeEventListener("focusin",e)}}),[l]),(0,u.jsxs)("div",{ref:l,className:(0,a.A)("navbar__item","dropdown","dropdown--hoverable",{"dropdown--right":"right"===n,"dropdown--show":c}),children:[(0,u.jsx)(ne,{"aria-haspopup":"true","aria-expanded":c,role:"button",href:s.to?void 0:"#",className:(0,a.A)("navbar__link",o),...s,onClick:s.to?void 0:e=>e.preventDefault(),onKeyDown:e=>{"Enter"===e.key&&(e.preventDefault(),d(!c))},children:s.children??s.label}),(0,u.jsx)("ul",{className:"dropdown__menu",children:t.map(((e,t)=>(0,r.createElement)(Ae,{isDropdownItem:!0,activeClassName:"dropdown__link--active",...e,key:t})))})]})}function fe(e){let{items:t,className:n,position:o,onClick:i,...l}=e;const c=function(){const{siteConfig:{baseUrl:e}}=(0,le.A)(),{pathname:t}=(0,s.zy)();return t.replace(e,"/")}(),d=ue(t,c),{collapsed:f,toggleCollapsed:p,setCollapsed:h}=(0,ie.u)({initialState:()=>!d});return(0,r.useEffect)((()=>{d&&h(!d)}),[c,d,h]),(0,u.jsxs)("li",{className:(0,a.A)("menu__list-item",{"menu__list-item--collapsed":f}),children:[(0,u.jsx)(ne,{role:"button",className:(0,a.A)(ce.dropdownNavbarItemMobile,"menu__link menu__link--sublist menu__link--sublist-caret",n),...l,onClick:e=>{e.preventDefault(),p()},children:l.children??l.label}),(0,u.jsx)(ie.N,{lazy:!0,as:"ul",className:"menu__list",collapsed:f,children:t.map(((e,t)=>(0,r.createElement)(Ae,{mobile:!0,isDropdownItem:!0,onClick:i,activeClassName:"menu__link--active",...e,key:t})))})]})}function pe(e){let{mobile:t=!1,...n}=e;const r=t?fe:de;return(0,u.jsx)(r,{...n})}var he=n(2131);function me(e){let{width:t=20,height:n=20,...r}=e;return(0,u.jsx)("svg",{viewBox:"0 0 24 24",width:t,height:n,"aria-hidden":!0,...r,children:(0,u.jsx)("path",{fill:"currentColor",d:"M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z"})})}const ge="iconLanguage_nlXk";var ye=n(6588),be=n(689),ve=n.n(be);function we(){const e=(0,s.zy)(),t=(0,s.W6)(),{siteConfig:{baseUrl:n}}=(0,le.A)(),[a,o]=(0,r.useState)({wordToHighlight:"",isTitleSuggestion:!1,titleText:""});return(0,r.useEffect)((()=>{if(!e.state?.highlightState||0===e.state.highlightState.wordToHighlight.length)return;o(e.state.highlightState);const{highlightState:n,...r}=e.state;t.replace({...e,state:r})}),[e.state?.highlightState,t,e]),(0,r.useEffect)((()=>{if(0===a.wordToHighlight.length)return;const e=document.getElementsByTagName("article")[0]??document.getElementsByTagName("main")[0];if(!e)return;const t=new(ve())(e),n={ignoreJoiners:!0};return t.mark(a.wordToHighlight,n),()=>t.unmark(n)}),[a,n]),null}const xe=e=>{const t=(0,r.useRef)(!1),o=(0,r.useRef)(null),[i,l]=(0,r.useState)(!1),c=(0,s.W6)(),{siteConfig:d={}}=(0,le.A)(),f=(d.plugins||[]).find((e=>Array.isArray(e)&&"string"==typeof e[0]&&e[0].includes("docusaurus-lunr-search"))),p=(0,B.A)(),{baseUrl:h}=d,m=f&&f[1]?.assetUrl||h,g=(0,ye.P_)("docusaurus-lunr-search"),y=()=>{t.current||(Promise.all([fetch(`${m}${g.fileNames.searchDoc}`).then((e=>e.json())),fetch(`${m}${g.fileNames.lunrIndex}`).then((e=>e.json())),Promise.all([n.e(4250),n.e(7443)]).then(n.bind(n,4004)),Promise.all([n.e(1869),n.e(9187)]).then(n.bind(n,9187))]).then((e=>{let[t,n,{default:r}]=e;const{searchDocs:a,options:o}=t;a&&0!==a.length&&(((e,t,n,r)=>{new n({searchDocs:e,searchIndex:t,baseUrl:h,inputSelector:"#search_input_react",handleSelected:(e,t,n)=>{const a=n.url||"/";document.createElement("a").href=a,e.setVal(""),t.target.blur();let o="";if(r.highlightResult)try{const e=(n.text||n.subcategory||n.title).match(new RegExp("\\w*","g"));if(e&&e.length>0){const t=document.createElement("div");t.innerHTML=e[0],o=t.textContent}}catch(i){console.log(i)}c.push(a,{highlightState:{wordToHighlight:o}})},maxHits:r.maxHits})})(a,n,r,o),l(!0))})),t.current=!0)},b=(0,r.useCallback)((t=>{o.current.contains(t.target)||o.current.focus(),e.handleSearchBarToggle&&e.handleSearchBarToggle(!e.isSearchBarExpanded)}),[e.isSearchBarExpanded]);let v;return p&&(y(),v=window.navigator.platform.startsWith("Mac")?"Search \u2318+K":"Search Ctrl+K"),(0,u.jsxs)("div",{className:"navbar__search",children:[(0,u.jsx)("span",{"aria-label":"expand searchbar",role:"button",className:(0,a.A)("search-icon",{"search-icon-hidden":e.isSearchBarExpanded}),onClick:b,onKeyDown:b,tabIndex:0}),(0,u.jsx)("input",{id:"search_input_react",type:"search",placeholder:i?v:"Loading...","aria-label":"Search",className:(0,a.A)("navbar__search-input",{"search-bar-expanded":e.isSearchBarExpanded},{"search-bar":!e.isSearchBarExpanded}),onClick:y,onMouseOver:y,onFocus:b,onBlur:b,ref:o,disabled:!i}),(0,u.jsx)(we,{})]},"search-box")},ke={navbarSearchContainer:"navbarSearchContainer_Bca1"};function _e(e){let{children:t,className:n}=e;return(0,u.jsx)("div",{className:(0,a.A)(n,ke.navbarSearchContainer),children:t})}var Se=n(8295),Ee=n(1754);var Ce=n(5597);const Oe=e=>e.docs.find((t=>t.id===e.mainDocId));const Te={default:oe,localeDropdown:function(e){let{mobile:t,dropdownItemsBefore:n,dropdownItemsAfter:r,queryString:a="",...o}=e;const{i18n:{currentLocale:i,locales:c,localeConfigs:d}}=(0,le.A)(),f=(0,he.o)(),{search:p,hash:h}=(0,s.zy)(),m=[...n,...c.map((e=>{const n=`${`pathname://${f.createUrl({locale:e,fullyQualified:!1})}`}${p}${h}${a}`;return{label:d[e].label,lang:d[e].htmlLang,to:n,target:"_self",autoAddBaseUrl:!1,className:e===i?t?"menu__link--active":"dropdown__link--active":""}})),...r],g=t?(0,l.T)({message:"Languages",id:"theme.navbar.mobileLanguageDropdown.label",description:"The label for the mobile language switcher dropdown"}):d[i].label;return(0,u.jsx)(pe,{...o,mobile:t,label:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(me,{className:ge}),g]}),items:m})},search:function(e){let{mobile:t,className:n}=e;return t?null:(0,u.jsx)(_e,{className:n,children:(0,u.jsx)(xe,{})})},dropdown:pe,html:function(e){let{value:t,className:n,mobile:r=!1,isDropdownItem:o=!1}=e;const i=o?"li":"div";return(0,u.jsx)(i,{className:(0,a.A)({navbar__item:!r&&!o,"menu__list-item":r},n),dangerouslySetInnerHTML:{__html:t}})},doc:function(e){let{docId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Se.zK)(r),i=(0,Ee.QB)(t,r),s=o?.path===i?.path;return null===i||i.unlisted&&!s?null:(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>s||!!o?.sidebar&&o.sidebar===i.sidebar,label:n??i.id,to:i.path})},docSidebar:function(e){let{sidebarId:t,label:n,docsPluginId:r,...a}=e;const{activeDoc:o}=(0,Se.zK)(r),i=(0,Ee.fW)(t,r).link;if(!i)throw new Error(`DocSidebarNavbarItem: Sidebar with ID "${t}" doesn't have anything to be linked to.`);return(0,u.jsx)(oe,{exact:!0,...a,isActive:()=>o?.sidebar===t,label:n??i.label,to:i.path})},docsVersion:function(e){let{label:t,to:n,docsPluginId:r,...a}=e;const o=(0,Ee.Vd)(r)[0],i=t??o.label,s=n??(e=>e.docs.find((t=>t.id===e.mainDocId)))(o).path;return(0,u.jsx)(oe,{...a,label:i,to:s})},docsVersionDropdown:function(e){let{mobile:t,docsPluginId:n,dropdownActiveClassDisabled:r,dropdownItemsBefore:a,dropdownItemsAfter:o,...i}=e;const{search:c,hash:d}=(0,s.zy)(),f=(0,Se.zK)(n),p=(0,Se.jh)(n),{savePreferredVersionName:h}=(0,Ce.g1)(n),m=[...a,...p.map((e=>{const t=f.alternateDocVersions[e.name]??Oe(e);return{label:e.label,to:`${t.path}${c}${d}`,isActive:()=>e===f.activeVersion,onClick:()=>h(e.name)}})),...o],g=(0,Ee.Vd)(n)[0],y=t&&m.length>1?(0,l.T)({id:"theme.navbar.mobileVersionsDropdown.label",message:"Versions",description:"The label for the navbar versions dropdown on mobile view"}):g.label,b=t&&m.length>1?void 0:Oe(g).path;return m.length<=1?(0,u.jsx)(oe,{...i,mobile:t,label:y,to:b,isActive:r?()=>!1:void 0}):(0,u.jsx)(pe,{...i,mobile:t,label:y,to:b,items:m,isActive:r?()=>!1:void 0})}};function Ae(e){let{type:t,...n}=e;const r=function(e,t){return e&&"default"!==e?e:"items"in t?"dropdown":"default"}(t,n),a=Te[r];if(!a)throw new Error(`No NavbarItem component found for type "${t}".`);return(0,u.jsx)(a,{...n})}function je(){const e=(0,A.M)(),t=(0,w.p)().navbar.items;return(0,u.jsx)("ul",{className:"menu__list",children:t.map(((t,n)=>(0,r.createElement)(Ae,{mobile:!0,...t,onClick:()=>e.toggle(),key:n})))})}function Pe(e){return(0,u.jsx)("button",{...e,type:"button",className:"clean-btn navbar-sidebar__back",children:(0,u.jsx)(l.A,{id:"theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel",description:"The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)",children:"\u2190 Back to main menu"})})}function Re(){const e=0===(0,w.p)().navbar.items.length,t=L();return(0,u.jsxs)(u.Fragment,{children:[!e&&(0,u.jsx)(Pe,{onClick:()=>t.hide()}),t.content]})}function De(){const e=(0,A.M)();var t;return void 0===(t=e.shown)&&(t=!0),(0,r.useEffect)((()=>(document.body.style.overflow=t?"hidden":"visible",()=>{document.body.style.overflow="visible"})),[t]),e.shouldRender?(0,u.jsx)(M,{header:(0,u.jsx)(Y,{}),primaryMenu:(0,u.jsx)(je,{}),secondaryMenu:(0,u.jsx)(Re,{})}):null}const Ie={navbarHideable:"navbarHideable_m1mJ",navbarHidden:"navbarHidden_jGov"};function Ne(e){return(0,u.jsx)("div",{role:"presentation",...e,className:(0,a.A)("navbar-sidebar__backdrop",e.className)})}function Le(e){let{children:t}=e;const{navbar:{hideOnScroll:n,style:o}}=(0,w.p)(),i=(0,A.M)(),{navbarRef:s,isNavbarVisible:d}=function(e){const[t,n]=(0,r.useState)(e),a=(0,r.useRef)(!1),o=(0,r.useRef)(0),i=(0,r.useCallback)((e=>{null!==e&&(o.current=e.getBoundingClientRect().height)}),[]);return(0,j.Mq)(((t,r)=>{let{scrollY:i}=t;if(!e)return;if(i=s?n(!1):i+c{if(!e)return;const r=t.location.hash;if(r?document.getElementById(r.substring(1)):void 0)return a.current=!0,void n(!1);n(!0)})),{navbarRef:i,isNavbarVisible:t}}(n);return(0,u.jsxs)("nav",{ref:s,"aria-label":(0,l.T)({id:"theme.NavBar.navAriaLabel",message:"Main",description:"The ARIA label for the main navigation"}),className:(0,a.A)("navbar","navbar--fixed-top",n&&[Ie.navbarHideable,!d&&Ie.navbarHidden],{"navbar--dark":"dark"===o,"navbar--primary":"primary"===o,"navbar-sidebar--show":i.shown}),children:[t,(0,u.jsx)(Ne,{onClick:i.toggle}),(0,u.jsx)(De,{})]})}var Me=n(440);const Fe={errorBoundaryError:"errorBoundaryError_a6uf",errorBoundaryFallback:"errorBoundaryFallback_VBag"};function Be(e){return(0,u.jsx)("button",{type:"button",...e,children:(0,u.jsx)(l.A,{id:"theme.ErrorPageContent.tryAgain",description:"The label of the button to try again rendering when the React error boundary captures an error",children:"Try again"})})}function $e(e){let{error:t}=e;const n=(0,Me.getErrorCausalChain)(t).map((e=>e.message)).join("\n\nCause:\n");return(0,u.jsx)("p",{className:Fe.errorBoundaryError,children:n})}class qe extends r.Component{componentDidCatch(e,t){throw this.props.onError(e,t)}render(){return this.props.children}}const ze="right";function Ue(e){let{width:t=30,height:n=30,className:r,...a}=e;return(0,u.jsx)("svg",{className:r,width:t,height:n,viewBox:"0 0 30 30","aria-hidden":"true",...a,children:(0,u.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"2",d:"M4 7h22M4 15h22M4 23h22"})})}function Ke(){const{toggle:e,shown:t}=(0,A.M)();return(0,u.jsx)("button",{onClick:e,"aria-label":(0,l.T)({id:"theme.docs.sidebar.toggleSidebarButtonAriaLabel",message:"Toggle navigation bar",description:"The ARIA label for hamburger menu button of mobile navigation"}),"aria-expanded":t,className:"navbar__toggle clean-btn",type:"button",children:(0,u.jsx)(Ue,{})})}const He={colorModeToggle:"colorModeToggle_DEke"};function We(e){let{items:t}=e;return(0,u.jsx)(u.Fragment,{children:t.map(((e,t)=>(0,u.jsx)(qe,{onError:t=>new Error(`A theme navbar item failed to render.\nPlease double-check the following navbar item (themeConfig.navbar.items) of your Docusaurus config:\n${JSON.stringify(e,null,2)}`,{cause:t}),children:(0,u.jsx)(Ae,{...e})},t)))})}function Ve(e){let{left:t,right:n}=e;return(0,u.jsxs)("div",{className:"navbar__inner",children:[(0,u.jsx)("div",{className:"navbar__items",children:t}),(0,u.jsx)("div",{className:"navbar__items navbar__items--right",children:n})]})}function Ge(){const e=(0,A.M)(),t=(0,w.p)().navbar.items,[n,r]=function(e){function t(e){return"left"===(e.position??ze)}return[e.filter(t),e.filter((e=>!t(e)))]}(t),a=t.find((e=>"search"===e.type));return(0,u.jsx)(Ve,{left:(0,u.jsxs)(u.Fragment,{children:[!e.disabled&&(0,u.jsx)(Ke,{}),(0,u.jsx)(G,{}),(0,u.jsx)(We,{items:n})]}),right:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(We,{items:r}),(0,u.jsx)(W,{className:He.colorModeToggle}),!a&&(0,u.jsx)(_e,{children:(0,u.jsx)(xe,{})})]})})}function Qe(){return(0,u.jsx)(Le,{children:(0,u.jsx)(Ge,{})})}function Ye(e){const[t,n]=(0,r.useState)(0),a=()=>{const e=((document.documentElement.scrollTop+document.body.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight)*100).toFixed(2);n(e)};return(0,r.useEffect)((()=>(window.addEventListener("scroll",a,{passive:!0}),()=>{window.removeEventListener("scroll",a)})),[]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(Qe,{...e}),(0,u.jsx)("div",{style:{position:"fixed",display:"block",zIndex:10,height:3,backgroundColor:"var(--color-top)",top:60,borderTopRightRadius:2,borderBottomRightRadius:2,width:t+"%"}})]})}function Ze(){const e={navLinks:[{label:"Pricing",href:"/premium"},{href:"/consulting",label:"Consulting"},{label:"Documentation",href:"/quickstart.html"},{label:"Discord",target:"_blank",href:"/chat"},{label:"Github",target:"_blank",href:"/code"},{label:"Twitter",href:"https://twitter.com/intent/user?screen_name=rxdbjs",target:"_blank"},{label:"LinkedIn",href:"https://www.linkedin.com/company/rxdb",target:"_blank"}],communityLinks:[{label:"Discord",target:"_blank",href:"/chat",logo:"/img/community-links/discord-logo.svg"},{label:"Github",target:"_blank",href:"/code",logo:"/img/community-links/github-logo.svg"},{label:"Twitter",href:"https://twitter.com/intent/user?screen_name=rxdbjs",target:"_blank",logo:"/img/community-links/x-logo.svg"},{label:"LinkedIn",href:"https://www.linkedin.com/company/rxdb",target:"_blank",logo:"/img/community-links/linkedin-logo.svg"},{label:"Stack Overflow",href:"https://stackoverflow.com/questions/tagged/rxdb",target:"_blank",logo:"/img/community-links/stack-overflow-logo.svg"}],policyLinks:[{label:"Legal Notice",target:"_blank",href:"/legal-notice"}]},t=`\xa9 ${(new Date).getFullYear()} RxDB. All rights reserved.`;return(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(u.Fragment,{children:(0,u.jsx)("div",{className:"block footer",children:(0,u.jsxs)("div",{className:"footer-block",children:[(0,u.jsxs)("div",{className:"footer-links",children:[(0,u.jsxs)("span",{children:[(0,u.jsxs)("a",{variant:"text",href:"/",className:"footer-logo-button",children:[(0,u.jsx)("img",{src:"/files/logo/logo.svg",alt:"RxDB"}),(0,u.jsx)("div",{children:"RxDB"})]}),(0,u.jsx)("div",{className:"footer-community-links",children:e.communityLinks.map(((e,t)=>(0,u.jsx)("a",{variant:"text",href:e.href,target:e.target?"_blank":"",children:(0,u.jsx)("img",{src:e.logo,alt:"logo"})},e.href+t)))})]}),(0,u.jsx)("div",{className:"footer-nav-links",children:e.navLinks.map(((e,t)=>(0,u.jsx)("a",{variant:"text",href:e.href,target:e.target?"_blank":"",children:e.label},e.href+t)))})]}),(0,u.jsxs)("div",{className:"footer-policy",children:[(0,u.jsx)("div",{children:e.policyLinks.map(((e,t)=>(0,u.jsx)("a",{variant:"text",href:e.href,target:e.target?"_blank":"",children:e.label},e.href+t)))}),(0,u.jsx)("span",{className:"footer-rights",children:t})]}),(0,u.jsx)("img",{className:"footer-img desktop-img",src:"/img/footer-column.svg",alt:"columns"})]})})})})}const Je=(0,P.fM)([F.a,x.oq,j.Tv,Ce.VQ,i.Jx,function(e){let{children:t}=e;return(0,u.jsx)(R.y_,{children:(0,u.jsx)(A.e,{children:(0,u.jsx)(I,{children:t})})})}]);function Xe(e){let{children:t}=e;return(0,u.jsx)(Je,{children:t})}var et=n(1107);function tt(e){let{error:t,tryAgain:n}=e;return(0,u.jsx)("main",{className:"container margin-vert--xl",children:(0,u.jsx)("div",{className:"row",children:(0,u.jsxs)("div",{className:"col col--6 col--offset-3",children:[(0,u.jsx)(et.A,{as:"h1",className:"hero__title",children:(0,u.jsx)(l.A,{id:"theme.ErrorPageContent.title",description:"The title of the fallback page when the page crashed",children:"This page crashed."})}),(0,u.jsx)("div",{className:"margin-vert--lg",children:(0,u.jsx)(Be,{onClick:n,className:"button button--primary shadow--lw"})}),(0,u.jsx)("hr",{}),(0,u.jsx)("div",{className:"margin-vert--md",children:(0,u.jsx)($e,{error:t})})]})})})}const nt={mainWrapper:"mainWrapper_z2l0"};function rt(e){const{children:t,noFooter:n,wrapperClassName:r,title:s,description:l}=e;return(0,y.J)(),(0,u.jsxs)(Xe,{children:[(0,u.jsx)(i.be,{title:s,description:l}),(0,u.jsx)(v,{}),(0,u.jsx)(T,{}),(0,u.jsx)(Ye,{}),(0,u.jsx)("div",{id:d,className:(0,a.A)(g.G.wrapper.main,nt.mainWrapper,r),children:(0,u.jsx)(o.A,{fallback:e=>(0,u.jsx)(tt,{...e}),children:t})}),!n&&(0,u.jsx)(Ze,{})]})}},9529:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(6540),a=n(5489),o=n(6025),i=n(4586),s=n(6342),l=n(4164),c=n(2303),u=n(5293);const d={themedComponent:"themedComponent_mlkZ","themedComponent--light":"themedComponent--light_NVdE","themedComponent--dark":"themedComponent--dark_xIcU"};var f=n(4848);function p(e){let{className:t,children:n}=e;const a=(0,c.A)(),{colorMode:o}=(0,u.G)();return(0,f.jsx)(f.Fragment,{children:(a?"dark"===o?["dark"]:["light"]:["light","dark"]).map((e=>{const a=n({theme:e,className:(0,l.A)(t,d.themedComponent,d[`themedComponent--${e}`])});return(0,f.jsx)(r.Fragment,{children:a},e)}))})}function h(e){const{sources:t,className:n,alt:r,...a}=e;return(0,f.jsx)(p,{className:n,children:e=>{let{theme:n,className:o}=e;return(0,f.jsx)("img",{src:t[n],alt:r,className:o,...a})}})}function m(e){let{logo:t,alt:n,imageClassName:r}=e;const a={light:(0,o.A)(t.src),dark:(0,o.A)(t.srcDark||t.src)},i=(0,f.jsx)(h,{className:t.className,sources:a,height:t.height,width:t.width,alt:n,style:t.style});return r?(0,f.jsx)("div",{className:r,children:i}):i}function g(e){const{siteConfig:{title:t}}=(0,i.A)(),{navbar:{title:n,logo:r}}=(0,s.p)(),{imageClassName:l,titleClassName:c,...u}=e,d=(0,o.A)(r?.href||"/"),p=n?"":t,h=r?.alt??p;return(0,f.jsxs)(a.A,{to:d,...u,...r?.target&&{target:r.target},children:[r&&(0,f.jsx)(m,{logo:r,alt:h,imageClassName:l}),null!=n&&(0,f.jsx)("b",{className:c,children:n})]})}},1463:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(6540);var r=n(5260),a=n(4848);function o(e){let{locale:t,version:n,tag:o}=e;const i=t;return(0,a.jsxs)(r.A,{children:[t&&(0,a.jsx)("meta",{name:"docusaurus_locale",content:t}),n&&(0,a.jsx)("meta",{name:"docusaurus_version",content:n}),o&&(0,a.jsx)("meta",{name:"docusaurus_tag",content:o}),i&&(0,a.jsx)("meta",{name:"docsearch:language",content:i}),n&&(0,a.jsx)("meta",{name:"docsearch:version",content:n}),o&&(0,a.jsx)("meta",{name:"docsearch:docusaurus_tag",content:o})]})}},1422:(e,t,n)=>{"use strict";n.d(t,{N:()=>y,u:()=>c});var r=n(6540),a=n(8193),o=n(205),i=n(3109),s=n(4848);const l="ease-in-out";function c(e){let{initialState:t}=e;const[n,a]=(0,r.useState)(t??!1),o=(0,r.useCallback)((()=>{a((e=>!e))}),[]);return{collapsed:n,setCollapsed:a,toggleCollapsed:o}}const u={display:"none",overflow:"hidden",height:"0px"},d={display:"block",overflow:"visible",height:"auto"};function f(e,t){const n=t?u:d;e.style.display=n.display,e.style.overflow=n.overflow,e.style.height=n.height}function p(e){let{collapsibleRef:t,collapsed:n,animation:a}=e;const o=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const e=t.current;function r(){const t=e.scrollHeight,n=a?.duration??function(e){if((0,i.O)())return 1;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}(t);return{transition:`height ${n}ms ${a?.easing??l}`,height:`${t}px`}}function s(){const t=r();e.style.transition=t.transition,e.style.height=t.height}if(!o.current)return f(e,n),void(o.current=!0);return e.style.willChange="height",function(){const t=requestAnimationFrame((()=>{n?(s(),requestAnimationFrame((()=>{e.style.height=u.height,e.style.overflow=u.overflow}))):(e.style.display="block",requestAnimationFrame((()=>{s()})))}));return()=>cancelAnimationFrame(t)}()}),[t,n,a])}function h(e){if(!a.A.canUseDOM)return e?u:d}function m(e){let{as:t="div",collapsed:n,children:a,animation:o,onCollapseTransitionEnd:i,className:l,disableSSRStyle:c}=e;const u=(0,r.useRef)(null);return p({collapsibleRef:u,collapsed:n,animation:o}),(0,s.jsx)(t,{ref:u,style:c?void 0:h(n),onTransitionEnd:e=>{"height"===e.propertyName&&(f(u.current,n),i?.(n))},className:l,children:a})}function g(e){let{collapsed:t,...n}=e;const[a,i]=(0,r.useState)(!t),[l,c]=(0,r.useState)(t);return(0,o.A)((()=>{t||i(!0)}),[t]),(0,o.A)((()=>{a&&c(t)}),[a,t]),a?(0,s.jsx)(m,{...n,collapsed:l}):null}function y(e){let{lazy:t,...n}=e;const r=t?g:m;return(0,s.jsx)(r,{...n})}},5041:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>m,oq:()=>h});var r=n(6540),a=n(2303),o=n(9466),i=n(9532),s=n(6342),l=n(4848);const c=(0,o.Wf)("docusaurus.announcement.dismiss"),u=(0,o.Wf)("docusaurus.announcement.id"),d=()=>"true"===c.get(),f=e=>c.set(String(e)),p=r.createContext(null);function h(e){let{children:t}=e;const n=function(){const{announcementBar:e}=(0,s.p)(),t=(0,a.A)(),[n,o]=(0,r.useState)((()=>!!t&&d()));(0,r.useEffect)((()=>{o(d())}),[]);const i=(0,r.useCallback)((()=>{f(!0),o(!0)}),[]);return(0,r.useEffect)((()=>{if(!e)return;const{id:t}=e;let n=u.get();"annoucement-bar"===n&&(n="announcement-bar");const r=t!==n;u.set(t),r&&f(!1),!r&&d()||o(!1)}),[e]),(0,r.useMemo)((()=>({isActive:!!e&&!n,close:i})),[e,n,i])}();return(0,l.jsx)(p.Provider,{value:n,children:t})}function m(){const e=(0,r.useContext)(p);if(!e)throw new i.dV("AnnouncementBarProvider");return e}},5293:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,a:()=>g});var r=n(6540),a=n(8193),o=n(9532),i=n(9466),s=n(6342),l=n(4848);const c=r.createContext(void 0),u="theme",d=(0,i.Wf)(u),f={light:"light",dark:"dark"},p=e=>e===f.dark?f.dark:f.light,h=e=>a.A.canUseDOM?p(document.documentElement.getAttribute("data-theme")):p(e),m=e=>{d.set(p(e))};function g(e){let{children:t}=e;const n=function(){const{colorMode:{defaultMode:e,disableSwitch:t,respectPrefersColorScheme:n}}=(0,s.p)(),[a,o]=(0,r.useState)(h(e));(0,r.useEffect)((()=>{t&&d.del()}),[t]);const i=(0,r.useCallback)((function(t,r){void 0===r&&(r={});const{persist:a=!0}=r;t?(o(t),a&&m(t)):(o(n?window.matchMedia("(prefers-color-scheme: dark)").matches?f.dark:f.light:e),d.del())}),[n,e]);(0,r.useEffect)((()=>{document.documentElement.setAttribute("data-theme",p(a))}),[a]),(0,r.useEffect)((()=>{if(t)return;const e=e=>{if(e.key!==u)return;const t=d.get();null!==t&&i(p(t))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)}),[t,i]);const l=(0,r.useRef)(!1);return(0,r.useEffect)((()=>{if(t&&!n)return;const e=window.matchMedia("(prefers-color-scheme: dark)"),r=()=>{window.matchMedia("print").matches||l.current?l.current=window.matchMedia("print").matches:i(null)};return e.addListener(r),()=>e.removeListener(r)}),[i,t,n]),(0,r.useMemo)((()=>({colorMode:a,setColorMode:i,get isDarkTheme(){return a===f.dark},setLightTheme(){i(f.light)},setDarkTheme(){i(f.dark)}})),[a,i])}();return(0,l.jsx)(c.Provider,{value:n,children:t})}function y(){const e=(0,r.useContext)(c);if(null==e)throw new o.dV("ColorModeProvider","Please see https://docusaurus.io/docs/api/themes/configuration#use-color-mode.");return e}},5597:(e,t,n)=>{"use strict";n.d(t,{VQ:()=>y,g1:()=>v});var r=n(6540),a=n(8295),o=n(7065),i=n(6342),s=n(1754),l=n(9532),c=n(9466),u=n(4848);const d=e=>`docs-preferred-version-${e}`,f={save:(e,t,n)=>{(0,c.Wf)(d(e),{persistence:t}).set(n)},read:(e,t)=>(0,c.Wf)(d(e),{persistence:t}).get(),clear:(e,t)=>{(0,c.Wf)(d(e),{persistence:t}).del()}},p=e=>Object.fromEntries(e.map((e=>[e,{preferredVersionName:null}])));const h=r.createContext(null);function m(){const e=(0,a.Gy)(),t=(0,i.p)().docs.versionPersistence,n=(0,r.useMemo)((()=>Object.keys(e)),[e]),[o,s]=(0,r.useState)((()=>p(n)));(0,r.useEffect)((()=>{s(function(e){let{pluginIds:t,versionPersistence:n,allDocsData:r}=e;function a(e){const t=f.read(e,n);return r[e].versions.some((e=>e.name===t))?{preferredVersionName:t}:(f.clear(e,n),{preferredVersionName:null})}return Object.fromEntries(t.map((e=>[e,a(e)])))}({allDocsData:e,versionPersistence:t,pluginIds:n}))}),[e,t,n]);return[o,(0,r.useMemo)((()=>({savePreferredVersion:function(e,n){f.save(e,t,n),s((t=>({...t,[e]:{preferredVersionName:n}})))}})),[t])]}function g(e){let{children:t}=e;const n=m();return(0,u.jsx)(h.Provider,{value:n,children:t})}function y(e){let{children:t}=e;return s.C5?(0,u.jsx)(g,{children:t}):(0,u.jsx)(u.Fragment,{children:t})}function b(){const e=(0,r.useContext)(h);if(!e)throw new l.dV("DocsPreferredVersionContextProvider");return e}function v(e){void 0===e&&(e=o.W);const t=(0,a.ht)(e),[n,i]=b(),{preferredVersionName:s}=n[e];return{preferredVersion:t.versions.find((e=>e.name===s))??null,savePreferredVersionName:(0,r.useCallback)((t=>{i.savePreferredVersion(e,t)}),[i,e])}}},1826:(e,t,n)=>{"use strict";n.d(t,{V:()=>l,t:()=>c});var r=n(6540),a=n(9532),o=n(4848);const i=Symbol("EmptyContext"),s=r.createContext(i);function l(e){let{children:t,name:n,items:a}=e;const i=(0,r.useMemo)((()=>n&&a?{name:n,items:a}:null),[n,a]);return(0,o.jsx)(s.Provider,{value:i,children:t})}function c(){const e=(0,r.useContext)(s);if(e===i)throw new a.dV("DocsSidebarProvider");return e}},2252:(e,t,n)=>{"use strict";n.d(t,{n:()=>s,r:()=>l});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s(e){let{children:t,version:n}=e;return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(null===e)throw new a.dV("DocsVersionProvider");return e}},9876:(e,t,n)=>{"use strict";n.d(t,{e:()=>p,M:()=>h});var r=n(6540),a=n(5600),o=n(4581),i=n(6347),s=n(9532);function l(e){!function(e){const t=(0,i.W6)(),n=(0,s._q)(e);(0,r.useEffect)((()=>t.block(((e,t)=>n(e,t)))),[t,n])}(((t,n)=>{if("POP"===n)return e(t,n)}))}var c=n(6342),u=n(4848);const d=r.createContext(void 0);function f(){const e=function(){const e=(0,a.YL)(),{items:t}=(0,c.p)().navbar;return 0===t.length&&!e.component}(),t=(0,o.l)(),n=!e&&"mobile"===t,[i,s]=(0,r.useState)(!1);l((()=>{if(i)return s(!1),!1}));const u=(0,r.useCallback)((()=>{s((e=>!e))}),[]);return(0,r.useEffect)((()=>{"desktop"===t&&s(!1)}),[t]),(0,r.useMemo)((()=>({disabled:e,shouldRender:n,toggle:u,shown:i})),[e,n,u,i])}function p(e){let{children:t}=e;const n=f();return(0,u.jsx)(d.Provider,{value:n,children:t})}function h(){const e=r.useContext(d);if(void 0===e)throw new s.dV("NavbarMobileSidebarProvider");return e}},5600:(e,t,n)=>{"use strict";n.d(t,{GX:()=>c,YL:()=>l,y_:()=>s});var r=n(6540),a=n(9532),o=n(4848);const i=r.createContext(null);function s(e){let{children:t}=e;const n=(0,r.useState)({component:null,props:null});return(0,o.jsx)(i.Provider,{value:n,children:t})}function l(){const e=(0,r.useContext)(i);if(!e)throw new a.dV("NavbarSecondaryMenuContentProvider");return e[0]}function c(e){let{component:t,props:n}=e;const o=(0,r.useContext)(i);if(!o)throw new a.dV("NavbarSecondaryMenuContentProvider");const[,s]=o,l=(0,a.Be)(n);return(0,r.useEffect)((()=>{s({component:t,props:l})}),[s,t,l]),(0,r.useEffect)((()=>()=>s({component:null,props:null})),[s]),null}},4090:(e,t,n)=>{"use strict";n.d(t,{w:()=>a,J:()=>o});var r=n(6540);const a="navigation-with-keyboard";function o(){(0,r.useEffect)((()=>{function e(e){"keydown"===e.type&&"Tab"===e.key&&document.body.classList.add(a),"mousedown"===e.type&&document.body.classList.remove(a)}return document.addEventListener("keydown",e),document.addEventListener("mousedown",e),()=>{document.body.classList.remove(a),document.removeEventListener("keydown",e),document.removeEventListener("mousedown",e)}}),[])}},4581:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var r=n(6540),a=n(8193);const o={desktop:"desktop",mobile:"mobile",ssr:"ssr"},i=996;function s(){const[e,t]=(0,r.useState)((()=>"ssr"));return(0,r.useEffect)((()=>{function e(){t(function(){if(!a.A.canUseDOM)throw new Error("getWindowSize() should only be called after React hydration");return window.innerWidth>i?o.desktop:o.mobile}())}return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]),e}},7559:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});const r={page:{blogListPage:"blog-list-page",blogPostPage:"blog-post-page",blogTagsListPage:"blog-tags-list-page",blogTagPostListPage:"blog-tags-post-list-page",docsDocPage:"docs-doc-page",docsTagsListPage:"docs-tags-list-page",docsTagDocListPage:"docs-tags-doc-list-page",mdxPage:"mdx-page"},wrapper:{main:"main-wrapper",blogPages:"blog-wrapper",docsPages:"docs-wrapper",mdxPages:"mdx-wrapper"},common:{editThisPage:"theme-edit-this-page",lastUpdated:"theme-last-updated",backToTopButton:"theme-back-to-top-button",codeBlock:"theme-code-block",admonition:"theme-admonition",unlistedBanner:"theme-unlisted-banner",admonitionType:e=>`theme-admonition-${e}`},layout:{},docs:{docVersionBanner:"theme-doc-version-banner",docVersionBadge:"theme-doc-version-badge",docBreadcrumbs:"theme-doc-breadcrumbs",docMarkdown:"theme-doc-markdown",docTocMobile:"theme-doc-toc-mobile",docTocDesktop:"theme-doc-toc-desktop",docFooter:"theme-doc-footer",docFooterTagsRow:"theme-doc-footer-tags-row",docFooterEditMetaRow:"theme-doc-footer-edit-meta-row",docSidebarContainer:"theme-doc-sidebar-container",docSidebarMenu:"theme-doc-sidebar-menu",docSidebarItemCategory:"theme-doc-sidebar-item-category",docSidebarItemLink:"theme-doc-sidebar-item-link",docSidebarItemCategoryLevel:e=>`theme-doc-sidebar-item-category-level-${e}`,docSidebarItemLinkLevel:e=>`theme-doc-sidebar-item-link-level-${e}`},blog:{}}},3109:(e,t,n)=>{"use strict";function r(){return window.matchMedia("(prefers-reduced-motion: reduce)").matches}n.d(t,{O:()=>r})},1754:(e,t,n)=>{"use strict";n.d(t,{Nr:()=>p,w8:()=>g,C5:()=>f,B5:()=>S,Vd:()=>x,QB:()=>_,fW:()=>k,OF:()=>w,Y:()=>b});var r=n(6540),a=n(6347),o=n(2831),i=n(8295),s=n(5597),l=n(2252),c=n(1826);function u(e){return Array.from(new Set(e))}var d=n(9169);const f=!!i.Gy;function p(e){return"link"!==e.type||e.unlisted?"category"===e.type?function(e){if(e.href&&!e.linkUnlisted)return e.href;for(const t of e.items){const e=p(t);if(e)return e}}(e):void 0:e.href}const h=(e,t)=>void 0!==e&&(0,d.ys)(e,t),m=(e,t)=>e.some((e=>g(e,t)));function g(e,t){return"link"===e.type?h(e.href,t):"category"===e.type&&(h(e.href,t)||m(e.items,t))}function y(e,t){switch(e.type){case"category":return g(e,t)||e.items.some((e=>y(e,t)));case"link":return!e.unlisted||g(e,t);default:return!0}}function b(e,t){return(0,r.useMemo)((()=>e.filter((e=>y(e,t)))),[e,t])}function v(e){let{sidebarItems:t,pathname:n,onlyCategories:r=!1}=e;const a=[];return function e(t){for(const o of t)if("category"===o.type&&((0,d.ys)(o.href,n)||e(o.items))||"link"===o.type&&(0,d.ys)(o.href,n)){return r&&"category"!==o.type||a.unshift(o),!0}return!1}(t),a}function w(){const e=(0,c.t)(),{pathname:t}=(0,a.zy)(),n=(0,i.vT)()?.pluginData.breadcrumbs;return!1!==n&&e?v({sidebarItems:e.items,pathname:t}):null}function x(e){const{activeVersion:t}=(0,i.zK)(e),{preferredVersion:n}=(0,s.g1)(e),a=(0,i.r7)(e);return(0,r.useMemo)((()=>u([t,n,a].filter(Boolean))),[t,n,a])}function k(e,t){const n=x(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.sidebars?Object.entries(e.sidebars):[])),r=t.find((t=>t[0]===e));if(!r)throw new Error(`Can't find any sidebar with id "${e}" in version${n.length>1?"s":""} ${n.map((e=>e.name)).join(", ")}".\nAvailable sidebar ids are:\n- ${t.map((e=>e[0])).join("\n- ")}`);return r[1]}),[e,n])}function _(e,t){const n=x(t);return(0,r.useMemo)((()=>{const t=n.flatMap((e=>e.docs)),r=t.find((t=>t.id===e));if(!r){if(n.flatMap((e=>e.draftIds)).includes(e))return null;throw new Error(`Couldn't find any doc with id "${e}" in version${n.length>1?"s":""} "${n.map((e=>e.name)).join(", ")}".\nAvailable doc ids are:\n- ${u(t.map((e=>e.id))).join("\n- ")}`)}return r}),[e,n])}function S(e){let{route:t}=e;const n=(0,a.zy)(),r=(0,l.r)(),i=t.routes,s=i.find((e=>(0,a.B6)(n.pathname,e)));if(!s)return null;const c=s.sidebar,u=c?r.docsSidebars[c]:void 0;return{docElement:(0,o.v)(i),sidebarName:c,sidebarItems:u}}},1003:(e,t,n)=>{"use strict";n.d(t,{e3:()=>p,be:()=>d,Jx:()=>h});var r=n(6540),a=n(4164),o=n(5260),i=n(3102);function s(){const e=r.useContext(i.o);if(!e)throw new Error("Unexpected: no Docusaurus route context found");return e}var l=n(6025),c=n(4586);var u=n(4848);function d(e){let{title:t,description:n,keywords:r,image:a,children:i}=e;const s=function(e){const{siteConfig:t}=(0,c.A)(),{title:n,titleDelimiter:r}=t;return e?.trim().length?`${e.trim()} ${r} ${n}`:n}(t),{withBaseUrl:d}=(0,l.h)(),f=a?d(a,{absolute:!0}):void 0;return(0,u.jsxs)(o.A,{children:[t&&(0,u.jsx)("title",{children:s}),t&&(0,u.jsx)("meta",{property:"og:title",content:s}),n&&(0,u.jsx)("meta",{name:"description",content:n}),n&&(0,u.jsx)("meta",{property:"og:description",content:n}),r&&(0,u.jsx)("meta",{name:"keywords",content:Array.isArray(r)?r.join(","):r}),f&&(0,u.jsx)("meta",{property:"og:image",content:f}),f&&(0,u.jsx)("meta",{name:"twitter:image",content:f}),i]})}const f=r.createContext(void 0);function p(e){let{className:t,children:n}=e;const i=r.useContext(f),s=(0,a.A)(i,t);return(0,u.jsxs)(f.Provider,{value:s,children:[(0,u.jsx)(o.A,{children:(0,u.jsx)("html",{className:s})}),n]})}function h(e){let{children:t}=e;const n=s(),r=`plugin-${n.plugin.name.replace(/docusaurus-(?:plugin|theme)-(?:content-)?/gi,"")}`;const o=`plugin-id-${n.plugin.id}`;return(0,u.jsx)(p,{className:(0,a.A)(r,o),children:t})}},9532:(e,t,n)=>{"use strict";n.d(t,{Be:()=>c,ZC:()=>s,_q:()=>i,dV:()=>l,fM:()=>u});var r=n(6540),a=n(205),o=n(4848);function i(e){const t=(0,r.useRef)(e);return(0,a.A)((()=>{t.current=e}),[e]),(0,r.useCallback)((function(){return t.current(...arguments)}),[])}function s(e){const t=(0,r.useRef)();return(0,a.A)((()=>{t.current=e})),t.current}class l extends Error{constructor(e,t){super(),this.name="ReactContextError",this.message=`Hook ${this.stack?.split("\n")[1]?.match(/at (?:\w+\.)?(?\w+)/)?.groups.name??""} is called outside the <${e}>. ${t??""}`}}function c(e){const t=Object.entries(e);return t.sort(((e,t)=>e[0].localeCompare(t[0]))),(0,r.useMemo)((()=>e),t.flat())}function u(e){return t=>{let{children:n}=t;return(0,o.jsx)(o.Fragment,{children:e.reduceRight(((e,t)=>(0,o.jsx)(t,{children:e})),n)})}}},9169:(e,t,n)=>{"use strict";n.d(t,{Dt:()=>s,ys:()=>i});var r=n(6540),a=n(8328),o=n(4586);function i(e,t){const n=e=>(!e||e.endsWith("/")?e:`${e}/`)?.toLowerCase();return n(e)===n(t)}function s(){const{baseUrl:e}=(0,o.A)().siteConfig;return(0,r.useMemo)((()=>function(e){let{baseUrl:t,routes:n}=e;function r(e){return e.path===t&&!0===e.exact}function a(e){return e.path===t&&!e.exact}return function e(t){if(0===t.length)return;return t.find(r)||e(t.filter(a).flatMap((e=>e.routes??[])))}(n)}({routes:a.A,baseUrl:e})),[e])}},3104:(e,t,n)=>{"use strict";n.d(t,{Mq:()=>f,Tv:()=>c,gk:()=>p});var r=n(6540),a=n(8193),o=n(2303),i=(n(205),n(9532)),s=n(4848);const l=r.createContext(void 0);function c(e){let{children:t}=e;const n=function(){const e=(0,r.useRef)(!0);return(0,r.useMemo)((()=>({scrollEventsEnabledRef:e,enableScrollEvents:()=>{e.current=!0},disableScrollEvents:()=>{e.current=!1}})),[])}();return(0,s.jsx)(l.Provider,{value:n,children:t})}function u(){const e=(0,r.useContext)(l);if(null==e)throw new i.dV("ScrollControllerProvider");return e}const d=()=>a.A.canUseDOM?{scrollX:window.pageXOffset,scrollY:window.pageYOffset}:null;function f(e,t){void 0===t&&(t=[]);const{scrollEventsEnabledRef:n}=u(),a=(0,r.useRef)(d()),o=(0,i._q)(e);(0,r.useEffect)((()=>{const e=()=>{if(!n.current)return;const e=d();o(e,a.current),a.current=e},t={passive:!0};return e(),window.addEventListener("scroll",e,t),()=>window.removeEventListener("scroll",e,t)}),[o,n,...t])}function p(){const e=(0,r.useRef)(null),t=(0,o.A)()&&"smooth"===getComputedStyle(document.documentElement).scrollBehavior;return{startScroll:n=>{e.current=t?function(e){return window.scrollTo({top:e,behavior:"smooth"}),()=>{}}(n):function(e){let t=null;const n=document.documentElement.scrollTop>e;return function r(){const a=document.documentElement.scrollTop;(n&&a>e||!n&&at&&cancelAnimationFrame(t)}(n)},cancelScroll:()=>e.current?.()}}},2967:(e,t,n)=>{"use strict";n.d(t,{Cy:()=>r,tU:()=>a});n(4586);const r="default";function a(e,t){return`docs-${e}-${t}`}},9466:(e,t,n)=>{"use strict";n.d(t,{Wf:()=>l});n(6540);const r="localStorage";function a(e){let{key:t,oldValue:n,newValue:r,storage:a}=e;if(n===r)return;const o=document.createEvent("StorageEvent");o.initStorageEvent("storage",!1,!1,t,n,r,window.location.href,a),window.dispatchEvent(o)}function o(e){if(void 0===e&&(e=r),"undefined"==typeof window)throw new Error("Browser storage is not available on Node.js/Docusaurus SSR process.");if("none"===e)return null;try{return window[e]}catch(n){return t=n,i||(console.warn("Docusaurus browser storage is not available.\nPossible reasons: running Docusaurus in an iframe, in an incognito browser session, or using too strict browser privacy settings.",t),i=!0),null}var t}let i=!1;const s={get:()=>null,set:()=>{},del:()=>{},listen:()=>()=>{}};function l(e,t){if("undefined"==typeof window)return function(e){function t(){throw new Error(`Illegal storage API usage for storage key "${e}".\nDocusaurus storage APIs are not supposed to be called on the server-rendering process.\nPlease only call storage APIs in effects and event handlers.`)}return{get:t,set:t,del:t,listen:t}}(e);const n=o(t?.persistence);return null===n?s:{get:()=>{try{return n.getItem(e)}catch(t){return console.error(`Docusaurus storage error, can't get key=${e}`,t),null}},set:t=>{try{const r=n.getItem(e);n.setItem(e,t),a({key:e,oldValue:r,newValue:t,storage:n})}catch(r){console.error(`Docusaurus storage error, can't set ${e}=${t}`,r)}},del:()=>{try{const t=n.getItem(e);n.removeItem(e),a({key:e,oldValue:t,newValue:null,storage:n})}catch(t){console.error(`Docusaurus storage error, can't delete key=${e}`,t)}},listen:t=>{try{const r=r=>{r.storageArea===n&&r.key===e&&t(r)};return window.addEventListener("storage",r),()=>window.removeEventListener("storage",r)}catch(r){return console.error(`Docusaurus storage error, can't listen for changes of key=${e}`,r),()=>{}}}}}},2131:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(4586),a=n(6347),o=n(440);function i(){const{siteConfig:{baseUrl:e,url:t,trailingSlash:n},i18n:{defaultLocale:i,currentLocale:s}}=(0,r.A)(),{pathname:l}=(0,a.zy)(),c=(0,o.applyTrailingSlash)(l,{trailingSlash:n,baseUrl:e}),u=s===i?e:e.replace(`/${s}/`,"/"),d=c.replace(e,"");return{createUrl:function(e){let{locale:n,fullyQualified:r}=e;return`${r?t:""}${function(e){return e===i?`${u}`:`${u}${e}/`}(n)}${d}`}}}},5062:(e,t,n)=>{"use strict";n.d(t,{$:()=>i});var r=n(6540),a=n(6347),o=n(9532);function i(e){const t=(0,a.zy)(),n=(0,o.ZC)(t),i=(0,o._q)(e);(0,r.useEffect)((()=>{n&&t!==n&&i({location:t,previousLocation:n})}),[i,t,n])}},6342:(e,t,n)=>{"use strict";n.d(t,{p:()=>a});var r=n(4586);function a(){return(0,r.A)().siteConfig.themeConfig}},2983:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{trailingSlash:n,baseUrl:r}=t;if(e.startsWith("#"))return e;if(void 0===n)return e;const[a]=e.split(/[#?]/),o="/"===a||a===r?a:(i=a,n?function(e){return e.endsWith("/")?e:`${e}/`}(i):function(e){return e.endsWith("/")?e.slice(0,-1):e}(i));var i;return e.replace(a,o)}},253:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=void 0,t.getErrorCausalChain=function e(t){return t.cause?[t,...e(t.cause)]:[t]}},440:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.getErrorCausalChain=t.applyTrailingSlash=t.blogPostContainerID=void 0,t.blogPostContainerID="__blog-post-container";var a=n(2983);Object.defineProperty(t,"applyTrailingSlash",{enumerable:!0,get:function(){return r(a).default}});var o=n(253);Object.defineProperty(t,"getErrorCausalChain",{enumerable:!0,get:function(){return o.getErrorCausalChain}})},9961:(e,t,n)=>{"use strict";n.d(t,{Tj:()=>es,C3:()=>Xi,IA:()=>Ji});var r=n(8900);const a=Symbol.for("Dexie"),o=globalThis[a]||(globalThis[a]=r);if(r.semVer!==o.semVer)throw new Error(`Two different versions of Dexie loaded in the same app: ${r.semVer} and ${o.semVer}`);const{liveQuery:i,mergeRanges:s,rangesOverlap:l,RangeSet:c,cmp:u,Entity:d,PropModSymbol:f,PropModification:p,replacePrefix:h,add:m,remove:g}=o;function y(e,t){var n=e.get(t);if(void 0===n)throw new Error("missing value from map "+t);return n}function b(e,t,n,r){var a=e.get(t);return void 0===a?(a=n(),e.set(t,a)):r&&r(a),a}function v(e){return Object.assign({},e)}function w(e,t){if(void 0===t&&(t=!1),!e)return e;if(!t&&Array.isArray(e))return e.sort(((e,t)=>"string"==typeof e&&"string"==typeof t?e.localeCompare(t):"object"==typeof e?1:-1)).map((e=>w(e,t)));if("object"==typeof e&&!Array.isArray(e)){var n={};return Object.keys(e).sort(((e,t)=>e.localeCompare(t))).forEach((r=>{n[r]=w(e[r],t)})),n}return e}var x=function e(t){if(!t)return t;if(null===t||"object"!=typeof t)return t;if(Array.isArray(t)){for(var n=new Array(t.length),r=n.length;r--;)n[r]=e(t[r]);return n}var a={};for(var o in t)a[o]=e(t[o]);return a};function k(e,t,n){return Object.defineProperty(e,t,{get:function(){return n}}),n}var _=e=>{var t=typeof e;return null!==e&&("object"===t||"function"===t)},S=new Set(["__proto__","prototype","constructor"]),E=new Set("0123456789");function C(e){var t=[],n="",r="start",a=!1;for(var o of e)switch(o){case"\\":if("index"===r)throw new Error("Invalid character in an index");if("indexEnd"===r)throw new Error("Invalid character after an index");a&&(n+=o),r="property",a=!a;break;case".":if("index"===r)throw new Error("Invalid character in an index");if("indexEnd"===r){r="property";break}if(a){a=!1,n+=o;break}if(S.has(n))return[];t.push(n),n="",r="property";break;case"[":if("index"===r)throw new Error("Invalid character in an index");if("indexEnd"===r){r="index";break}if(a){a=!1,n+=o;break}if("property"===r){if(S.has(n))return[];t.push(n),n=""}r="index";break;case"]":if("index"===r){t.push(Number.parseInt(n,10)),n="",r="indexEnd";break}if("indexEnd"===r)throw new Error("Invalid character after an index");default:if("index"===r&&!E.has(o))throw new Error("Invalid character in an index");if("indexEnd"===r)throw new Error("Invalid character after an index");"start"===r&&(r="property"),a&&(a=!1,n+="\\"),n+=o}switch(a&&(n+="\\"),r){case"property":if(S.has(n))return[];t.push(n);break;case"index":throw new Error("Index was not closed");case"start":t.push("")}return t}function O(e,t){if("number"!=typeof t&&Array.isArray(e)){var n=Number.parseInt(t,10);return Number.isInteger(n)&&e[n]===e[t]}return!1}function T(e,t){if(O(e,t))throw new Error("Cannot use string index")}function A(e,t,n){if(Array.isArray(t)&&(t=t.join(".")),!t.includes(".")&&!t.includes("["))return e[t];if(!_(e)||"string"!=typeof t)return void 0===n?e:n;var r=C(t);if(0===r.length)return n;for(var a=0;a!1,deepFreezeWhenDevMode:e=>e,tunnelErrorMessage:e=>"RxDB Error-Code "+e+".\n Error messages are not included in RxDB core to reduce build size.\n "};function z(e,t,n){return"RxError ("+t+"):\n"+e+"\n"+function(e){var t="";return 0===Object.keys(e).length?t:(t+="Given parameters: {\n",t+=Object.keys(e).map((t=>{var n="[object Object]";try{n="errors"===t?e[t].map((e=>JSON.stringify(e,Object.getOwnPropertyNames(e)))):JSON.stringify(e[t],(function(e,t){return void 0===t?null:t}),2)}catch(r){}return t+":"+n})).join("\n"),t+="}")}(n)}var U=function(e){function t(t,n,r){var a;void 0===r&&(r={});var o=z(n,t,r);return(a=e.call(this,o)||this).code=t,a.message=o,a.url=H(t),a.parameters=r,a.rxdb=!0,a}return M(t,e),t.prototype.toString=function(){return this.message},N(t,[{key:"name",get:function(){return"RxError ("+this.code+")"}},{key:"typeError",get:function(){return!1}}])}($(Error)),K=function(e){function t(t,n,r){var a;void 0===r&&(r={});var o=z(n,t,r);return(a=e.call(this,o)||this).code=t,a.message=o,a.url=H(t),a.parameters=r,a.rxdb=!0,a}return M(t,e),t.prototype.toString=function(){return this.message},N(t,[{key:"name",get:function(){return"RxTypeError ("+this.code+")"}},{key:"typeError",get:function(){return!0}}])}($(TypeError));function H(e){return"https://rxdb.info/errors.html?console=errors#"+e}function W(e){return"\n You can find out more about this error here: "+H(e)+" "}function V(e,t){return new U(e,q.tunnelErrorMessage(e)+W(e),t)}function G(e,t){return new K(e,q.tunnelErrorMessage(e)+W(e),t)}function Q(e){return!(!e||409!==e.status)&&e}var Y={409:"document write conflict",422:"schema validation error",510:"attachment data missing"};var Z=/\./g,J=n(8342),X=1;function ee(){return{lwt:X}}function te(e,t){var n=t;return n="properties."+(n=n.replace(Z,".properties.")),A(e,n=(0,J.L$)(n))}function ne(e){return"string"==typeof e?e:e.key}function re(e,t){if("string"==typeof e.primaryKey)return t[e.primaryKey];var n=e.primaryKey;return n.fields.map((e=>{var n=A(t,e);if(void 0===n)throw V("DOC18",{args:{field:e,documentData:t}});return n})).join(n.separator)}function ae(e){var t=ne((e=v(e)).primaryKey);e.properties=v(e.properties),e.additionalProperties=!1,Object.prototype.hasOwnProperty.call(e,"keyCompression")||(e.keyCompression=!1),e.indexes=e.indexes?e.indexes.slice(0):[],e.required=e.required?e.required.slice(0):[],e.encrypted=e.encrypted?e.encrypted.slice(0):[],e.properties._rev={type:"string",minLength:1},e.properties._attachments={type:"object"},e.properties._deleted={type:"boolean"},e.properties._meta=oe,e.required=e.required?e.required.slice(0):[],e.required.push("_deleted"),e.required.push("_rev"),e.required.push("_meta"),e.required.push("_attachments");var n=ie(e);(0,P.Hb)(e.required,n),e.required=e.required.filter((e=>!e.includes("."))).filter(((e,t,n)=>n.indexOf(e)===t)),e.version=e.version||0;var r=e.indexes.map((e=>{var n=(0,P.k_)(e)?e.slice(0):[e];return n.includes(t)||n.push(t),"_deleted"!==n[0]&&n.unshift("_deleted"),n}));0===r.length&&r.push(function(e){return["_deleted",e]}(t)),r.push(["_meta.lwt",t]),e.internalIndexes&&e.internalIndexes.map((e=>{r.push(e)}));var a=new Set;return r.filter((e=>{var t=e.join(",");return!a.has(t)&&(a.add(t),!0)})),e.indexes=r,e}var oe={type:"object",properties:{lwt:{type:"number",minimum:X,maximum:1e15,multipleOf:.01}},additionalProperties:!0,required:["lwt"]};function ie(e){var t=Object.keys(e.properties).filter((t=>e.properties[t].final)),n=ne(e.primaryKey);return t.push(n),"string"!=typeof e.primaryKey&&e.primaryKey.fields.forEach((e=>t.push(e))),t}var se="docs",le="changes",ce="attachments",ue="dexie",de=new Map,fe=new Map;var pe="__";function he(e){var t=e.split(".");if(t.length>1)return t.map((e=>he(e))).join(".");if(e.startsWith("|")){var n=e.substring(1);return pe+n}return e}function me(e){var t=e.split(".");return t.length>1?t.map((e=>me(e))).join("."):e.startsWith(pe)?"|"+e.substring(pe.length):e}function ge(e,t){if(!t)return t;var n=v(t);return n=be(n),e.forEach((e=>{var r=A(t,e)?"1":"0",a=he(e);j(n,a,r)})),n}function ye(e,t){return t?(t=ve(t=v(t)),e.forEach((e=>{var n=A(t,e);j(t,e,"1"===n)})),t):t}function be(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return e;if(Array.isArray(e))return e.map((e=>be(e)));if("object"==typeof e){var t={};return Object.entries(e).forEach((e=>{let[n,r]=e;"object"==typeof r&&(r=be(r)),t[he(n)]=r})),t}}function ve(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return e;if(Array.isArray(e))return e.map((e=>ve(e)));if("object"==typeof e){var t={};return Object.entries(e).forEach((n=>{let[r,a]=n;("object"==typeof a||Array.isArray(e))&&(a=ve(a)),t[me(r)]=a})),t}}function we(e){var t=[],n=ne(e.primaryKey);t.push([n]),t.push(["_deleted",n]),e.indexes&&e.indexes.forEach((e=>{var n=(0,P.$r)(e);t.push(n)})),t.push(["_meta.lwt",n]),t.push(["_meta.lwt"]);var r=(t=t.map((e=>e.map((e=>he(e)))))).map((e=>1===e.length?e[0]:"["+e.join("+")+"]"));return(r=r.filter(((e,t,n)=>n.indexOf(e)===t))).join(", ")}async function xe(e,t){var n=await e;return(await n.dexieTable.bulkGet(t)).map((e=>ye(n.booleanIndexes,e)))}function ke(e,t){return e+"||"+t}function _e(e){var t=new Set,n=[];return e.indexes?(e.indexes.forEach((r=>{(0,P.$r)(r).forEach((r=>{t.has(r)||(t.add(r),"boolean"===te(e,r).type&&n.push(r))}))})),n.push("_deleted"),(0,P.jw)(n)):n}var Se=n(4629),Ee=n(4134),Ce=n(2258),Oe=(0,n(5383).L)((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Te=n(34),Ae=n(3004),je=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,Se.C6)(t,e),t.prototype.lift=function(e){var t=new Pe(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Oe},t.prototype.next=function(e){var t=this;(0,Ae.Y)((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=(0,Se.Ju)(t.currentObservers),o=a.next();!o.done;o=a.next()){o.value.next(e)}}catch(i){n={error:i}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;(0,Ae.Y)((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;(0,Ae.Y)((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,a=n.isStopped,o=n.observers;return r||a?Ce.Kn:(this.currentObservers=null,o.push(e),new Ce.yU((function(){t.currentObservers=null,(0,Te.o)(o,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,a=t.isStopped;n?e.error(r):a&&e.complete()},t.prototype.asObservable=function(){var e=new Ee.c;return e.source=this,e},t.create=function(e,t){return new Pe(e,t)},t}(Ee.c),Pe=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return(0,Se.C6)(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Ce.Kn},t}(je),Re=n(5734),De={},Ie=n(1507),Ne=n(3337),Le=String.fromCharCode(65535),Me=Number.MIN_SAFE_INTEGER;function Fe(e,t){var n=t.selector,r=e.indexes?e.indexes.slice(0):[];t.index&&(r=[t.index]);var a=!!t.sort.find((e=>"desc"===Object.values(e)[0])),o=new Set;Object.keys(n).forEach((t=>{var r=te(e,t);r&&"boolean"===r.type&&Object.prototype.hasOwnProperty.call(n[t],"$eq")&&o.add(t)}));var i,s=t.sort.map((e=>Object.keys(e)[0])).filter((e=>!o.has(e))).join(","),l=-1;if(r.forEach((e=>{var r=!0,c=!0,u=e.map((e=>{var t=n[e],a=t?Object.keys(t):[],o={};t&&a.length?a.forEach((e=>{if(Be.has(e)){var n=function(e,t){switch(e){case"$eq":return{startKey:t,endKey:t,inclusiveEnd:!0,inclusiveStart:!0};case"$lte":return{endKey:t,inclusiveEnd:!0};case"$gte":return{startKey:t,inclusiveStart:!0};case"$lt":return{endKey:t,inclusiveEnd:!1};case"$gt":return{startKey:t,inclusiveStart:!1};default:throw new Error("SNH")}}(e,t[e]);o=Object.assign(o,n)}})):o={startKey:c?Me:Le,endKey:r?Le:Me,inclusiveStart:!0,inclusiveEnd:!0};return void 0===o.startKey&&(o.startKey=Me),void 0===o.endKey&&(o.endKey=Le),void 0===o.inclusiveStart&&(o.inclusiveStart=!0),void 0===o.inclusiveEnd&&(o.inclusiveEnd=!0),c&&!o.inclusiveStart&&(c=!1),r&&!o.inclusiveEnd&&(r=!1),o})),d=u.map((e=>e.startKey)),f=u.map((e=>e.endKey)),p={index:e,startKeys:d,endKeys:f,inclusiveEnd:r,inclusiveStart:c,sortSatisfiedByIndex:!a&&s===e.filter((e=>!o.has(e))).join(","),selectorSatisfiedByIndex:ze(e,t.selector,d,f)},h=function(e,t,n){var r=0,a=e=>{e>0&&(r+=e)},o=10,i=(0,P.Sd)(n.startKeys,(e=>e!==Me&&e!==Le));a(i*o);var s=(0,P.Sd)(n.startKeys,(e=>e!==Le&&e!==Me));a(s*o);var l=(0,P.Sd)(n.startKeys,((e,t)=>e===n.endKeys[t]));a(l*o*1.5);var c=n.sortSatisfiedByIndex?5:0;return a(c),r}(0,0,p);(h>=l||t.index)&&(l=h,i=p)})),!i)throw V("SNH",{query:t});return i}var Be=new Set(["$eq","$gt","$gte","$lt","$lte"]),$e=new Set(["$eq","$gt","$gte"]),qe=new Set(["$eq","$lt","$lte"]);function ze(e,t,n,r){var a=Object.entries(t).find((t=>{let[n,r]=t;return!e.includes(n)||Object.entries(r).find((e=>{let[t,n]=e;return!Be.has(t)}))}));if(a)return!1;if(t.$and||t.$or)return!1;var o=[],i=new Set;for(var[s,l]of Object.entries(t)){if(!e.includes(s))return!1;var c=Object.keys(l).filter((e=>$e.has(e)));if(c.length>1)return!1;var u=c[0];if(u&&i.add(s),"$eq"!==u){if(o.length>0)return!1;o.push(u)}}var d=[],f=new Set;for(var[p,h]of Object.entries(t)){if(!e.includes(p))return!1;var m=Object.keys(h).filter((e=>qe.has(e)));if(m.length>1)return!1;var g=m[0];if(g&&f.add(p),"$eq"!==g){if(d.length>0)return!1;d.push(g)}}var y=0;for(var b of e){for(var v of[i,f]){if(!v.has(b)&&v.size>0)return!1;v.delete(b)}if(n[y]!==r[y]&&i.size>0&&f.size>0)return!1;y++}return!0}class Ue extends Error{}const Ke=Number.MAX_SAFE_INTEGER,He=Number.MIN_SAFE_INTEGER,We=Symbol("missing"),Ve=Object.freeze(new Error("mingo: cycle detected while processing object/array")),Ge=/^\[object ([a-zA-Z0-9]+)\]$/,Qe=e=>{const t=Tt(e);let n=0,r=t.length;for(;r;)n=(n<<5)-n^t.charCodeAt(--r);return n>>>0},Ye=new Set(["null","undefined","boolean","number","string","date","regexp"]),Ze={null:0,undefined:0,number:1,string:2,object:3,array:4,boolean:5,date:6,regexp:7,function:8},Je=(e,t)=>{e===We&&(e=void 0),t===We&&(t=void 0);const[n,r]=[e,t].map((e=>Ze[et(e).toLowerCase()]));return n!==r?n-r:1===n||2===n||6===n?et?1:0:Ct(e,t)?0:et?1:0};function Xe(e,t){if(!e)throw new Ue(t)}const et=e=>Ge.exec(Object.prototype.toString.call(e))[1],tt=e=>"boolean"==typeof e,nt=e=>"string"==typeof e,rt=e=>!isNaN(e)&&"number"==typeof e,at=Array.isArray,ot=e=>{if(!e)return!1;const t=Object.getPrototypeOf(e);return(t===Object.prototype||null===t)&&"[object Object]"===Object.prototype.toString.call(e)},it=e=>e===Object(e),st=e=>e instanceof Date,lt=e=>e instanceof RegExp,ct=e=>"function"==typeof e,ut=e=>null==e,dt=(e,t)=>e.includes(t),ft=(e,t)=>!dt(e,t),pt=e=>ut(e)||nt(e)&&!e||e instanceof Array&&0===e.length||ot(e)&&0===Object.keys(e).length,ht=e=>e===We,mt=e=>e instanceof Array?e:[e],gt=(e,t)=>!!e&&Object.prototype.hasOwnProperty.call(e,t),yt=e=>"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView(e),bt=[st,lt,yt],vt=(e,t)=>{if(ut(e))return e;if(t.has(e))throw Ve;const n=e.constructor;if(bt.some((t=>t(e))))return new n(e);try{if(t.add(e),at(e))return e.map((e=>vt(e,t)));if(ot(e)){const n={};for(const r in e)n[r]=vt(e[r],t);return n}}finally{t.delete(e)}return e},wt=e=>vt(e,new Set),xt=(e,t)=>ot(e)&&ot(t)||at(e)&&at(t);function kt(e,t,n){if(n=n||{flatten:!1},ht(e)||ut(e))return t;if(ht(t)||ut(t))return e;if(!xt(e,t)){if(n.skipValidation)return t||e;throw Error("mismatched types. must both be array or object")}if(n.skipValidation=!0,at(e)){const r=e,a=t;if(n.flatten){let e=0,o=0;for(;e{const o=At(r,t);n.has(o)?n.get(o).some((t=>Ct(e[t],r)))||n.get(o).push(a):n.set(o,[a])})),n}function St(e,t=Qe){if(e.some((e=>0==e.length)))return[];if(1===e.length)return Array.from(e);const n=function(e,t,n=Je){if(pt(e))return e;const r=new Array,a=new Array;for(let o=0;on(e[0],t[0]))),Rt(a,r.map((e=>e[1])))}(e.map(((e,t)=>[t,e.length])),(e=>e[1])),r=e[n[0][0]],a=_t(r,t),o=new Map,i=new Array;return a.forEach(((t,a)=>{const s=t.map((e=>r[e])),l=s.map((e=>0)),c=s.map((e=>[n[0][0],0]));let u=!1;for(let r=1;rd[e]));u=s.map(((n,i)=>e.some(((e,s)=>{const u=l[i];return Ct(n,e)&&(l[i]++,tt===e.length-1?[s[n],c[n]]:We)).filter((e=>e!==We)))})),i.sort(((e,t)=>{const[n,[r,a]]=e,[o,[i,s]]=t,l=Je(r,i);return 0!==l?l:Je(a,s)})).map((e=>e[0]))}function Et(e,t=0){const n=new Array;return function e(t,r){for(let a=0,o=t.length;a0||r<0)?e(t[a],Math.max(-1,r-1)):n.push(t[a])}(e,t),n}function Ct(e,t){if(e===t||Object.is(e,t))return!0;const n=!!e&&e.constructor||e;if(null===e||null===t||void 0===e||void 0===t||n!==t.constructor||n===Function)return!1;if(n===Array||n===Object){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;if(new Set([...n,...r]).size!=n.length)return!1;for(const a of n)if(!Ct(e[a],t[a]))return!1;return!0}const r=Object.getPrototypeOf(e);return(yt(e)||r!==Object.prototype&&r!==Array.prototype&&Object.prototype.hasOwnProperty.call(r,"toString"))&&e.toString()===t.toString()}const Ot=(e,t)=>{if(null===e)return"null";if(void 0===e)return"undefined";const n=e.constructor;switch(n){case RegExp:case Number:case Boolean:case Function:case Symbol:return e.toString();case String:return JSON.stringify(e);case Date:return e.toISOString()}if(yt(e))return n.name+"["+e.toString()+"]";if(t.has(e))throw Ve;try{if(t.add(e),at(e))return"["+e.map((e=>Ot(e,t))).join(",")+"]";if(n===Object)return"{"+Object.keys(e).sort().map((n=>n+":"+Ot(e[n],t))).join(",")+"}";const r=Object.getPrototypeOf(e);if(r!==Object.prototype&&r!==Array.prototype&&Object.prototype.hasOwnProperty.call(r,"toString"))return n.name+"("+JSON.stringify(e.toString())+")";const[a,o]=(e=>{let[t,n]=[Object.getPrototypeOf(e),Object.getOwnPropertyNames(e)],r=t;for(;!n.length&&t!==Object.prototype&&t!==Array.prototype;)r=t,n=Object.getOwnPropertyNames(t),t=Object.getPrototypeOf(t);const a={};return n.forEach((t=>a[t]=e[t])),[a,r]})(e);return n.name+Ot(a,t)}finally{t.delete(e)}},Tt=e=>Ot(e,new Set);function At(e,t){return t=t||Qe,ut(e)?null:t(e).toString()}function jt(e,t,n=Qe){if(e.length<1)return new Map;const r=new Map,a=new Map;for(let o=0;oCt(e,s))):null;ut(e)?(a.set(s,[i]),r.has(l)?r.get(l).push(s):r.set(l,[s])):a.get(e).push(i)}}return a}const Pt=5e4;function Rt(e,...t){return e instanceof Array?t.reduce(((e,t)=>{let n=Math.ceil(t.length/Pt),r=0;for(;n-- >0;)Array.prototype.push.apply(e,t.slice(r,r+Pt)),r+=Pt;return e}),e):t.filter(it).reduce(((e,t)=>(Object.assign(e,t),e)),e)}function Dt(e,t){return it(e)?e[t]:void 0}function It(e,t,n){let r=0;const a=Ye.has(et(e).toLowerCase())?e:function e(t,n){let a=t;for(let o=0;o0)break;r+=1;const t=n.slice(o);a=a.reduce(((n,r)=>{const a=e(r,t);return void 0!==a&&n.push(a),n}),[]);break}if(a=Dt(a,t),void 0===a)break}return a}(e,t.split("."));return a instanceof Array&&n?.unwrapArray?function(e,t){if(t<1)return e;for(;t--&&1===e.length;)e=e[0];return e}(a,r):a}function Nt(e,t,n){const r=t.split("."),a=r[0],o=r.slice(1).join("."),i=null!==/^\d+$/.exec(a),s=r.length>1;let l,c;if(e instanceof Array)if(i)l=Dt(e,Number(a)),s&&(l=Nt(l,o,n)),l=[l];else{l=[];for(const r of e)c=Nt(r,t,n),n?.preserveMissing?(void 0===c&&(c=We),l.push(c)):void 0!==c&&l.push(c)}else{if(c=Dt(e,a),s&&(c=Nt(c,o,n)),void 0===c)return;l=n?.preserveKeys?{...e}:{},l[a]=c}return l}function Lt(e){if(e instanceof Array)for(let t=e.length-1;t>=0;t--)e[t]===We?e.splice(t,1):Lt(e[t]);else if(ot(e))for(const t in e)gt(e,t)&&Lt(e[t])}const Mt=/^\d+$/;function Ft(e,t,n,r){const a=t.split("."),o=a[0],i=a.slice(1).join(".");if(1===a.length)(ot(e)||at(e)&&Mt.test(o))&&n(e,o);else{r?.buildGraph&&ut(e[o])&&(e[o]={});const t=e[o];if(!t)return;const s=!!(a.length>1&&Mt.test(a[1]));t instanceof Array&&r?.descendArray&&!s?t.forEach((e=>Ft(e,i,n,r))):Ft(t,i,n,r)}}function Bt(e,t,n){Ft(e,t,((e,t)=>{e[t]=ct(n)?n(e[t]):n}),{buildGraph:!0})}function $t(e,t,n){Ft(e,t,((e,t)=>{if(e instanceof Array){if(/^\d+$/.test(t))e.splice(parseInt(t),1);else if(n&&n.descendArray)for(const n of e)ot(n)&&delete n[t]}else ot(e)&&delete e[t]}),n)}const qt=/^\$[a-zA-Z0-9_]+$/;function zt(e){return qt.test(e)}function Ut(e){if(Ye.has(et(e).toLowerCase()))return lt(e)?{$regex:e}:{$eq:e};if(it(e)){const t=e;if(!Object.keys(t).some(zt))return{$eq:e};if(gt(e,"$regex")){const t={...e};return t.$regex=new RegExp(e.$regex,e.$options),delete t.$options,t}}return e}var Kt=(e=>(e.CLONE_ALL="CLONE_ALL",e.CLONE_INPUT="CLONE_INPUT",e.CLONE_OUTPUT="CLONE_OUTPUT",e.CLONE_OFF="CLONE_OFF",e))(Kt||{});class Ht{constructor(e,t,n,r=Date.now()){this._opts=e,this._root=t,this._local=n,this.timestamp=r,this.update(t,n)}static init(e,t,n){return e instanceof Ht?new Ht(e._opts,ut(e.root)?t:e.root,Object.assign({},e.local,n)):new Ht(e,t,n)}update(e,t){return this._root=e,this._local=t?Object.assign({},t,{variables:Object.assign({},this._local?.variables,t?.variables)}):t,this}getOptions(){return Object.freeze({...this._opts,context:Gt.from(this._opts.context)})}get root(){return this._root}get local(){return this._local}get idKey(){return this._opts.idKey}get collation(){return this._opts?.collation}get processingMode(){return this._opts?.processingMode||"CLONE_OFF"}get useStrictMode(){return this._opts?.useStrictMode}get scriptEnabled(){return this._opts?.scriptEnabled}get useGlobalContext(){return this._opts?.useGlobalContext}get hashFunction(){return this._opts?.hashFunction}get collectionResolver(){return this._opts?.collectionResolver}get jsonSchemaValidator(){return this._opts?.jsonSchemaValidator}get variables(){return this._opts?.variables}get context(){return this._opts?.context}}function Wt(e){return e instanceof Ht?e.getOptions():Object.freeze({idKey:"_id",scriptEnabled:!0,useStrictMode:!0,useGlobalContext:!0,processingMode:"CLONE_OFF",...e,context:e?.context?Gt.from(e?.context):Gt.init({})})}var Vt=(e=>(e.ACCUMULATOR="accumulator",e.EXPRESSION="expression",e.PIPELINE="pipeline",e.PROJECTION="projection",e.QUERY="query",e.WINDOW="window",e))(Vt||{});class Gt{constructor(e){this.operators={accumulator:{},expression:{},pipeline:{},projection:{},query:{},window:{}};for(const[t,n]of Object.entries(e))this.addOperators(t,n)}static init(e={}){return new Gt(e)}static from(e){return new Gt(e.operators)}addOperators(e,t){for(const[n,r]of Object.entries(t))this.getOperator(e,n)||(this.operators[e][n]=r);return this}addAccumulatorOps(e){return this.addOperators("accumulator",e)}addExpressionOps(e){return this.addOperators("expression",e)}addQueryOps(e){return this.addOperators("query",e)}addPipelineOps(e){return this.addOperators("pipeline",e)}addProjectionOps(e){return this.addOperators("projection",e)}addWindowOps(e){return this.addOperators("window",e)}getOperator(e,t){return e in this.operators&&this.operators[e][t]||null}}const Qt=Gt.init();function Yt(e,t){for(const[n,r]of Object.entries(t)){Xe(ct(r)&&zt(n),`'${n}' is not a valid operator`);const t=Zt(e,n,null);Xe(!t||r===t,`${n} already exists for '${e}' operators. Cannot change operator function once registered.`)}switch(e){case"accumulator":Qt.addAccumulatorOps(t);break;case"expression":Qt.addExpressionOps(t);break;case"pipeline":Qt.addPipelineOps(t);break;case"projection":Qt.addProjectionOps(t);break;case"query":Qt.addQueryOps(t);break;case"window":Qt.addWindowOps(t)}}function Zt(e,t,n){const{context:r,useGlobalContext:a}=n||{},o=r?r.getOperator(e,t):null;return!o&&a?Qt.getOperator(e,t):o}const Jt={$$ROOT:(e,t,n)=>n.root,$$CURRENT:(e,t,n)=>e,$$REMOVE(e,t,n){},$$NOW:(e,t,n)=>new Date(n.timestamp)},Xt={$$KEEP:(e,t,n)=>e,$$PRUNE(e,t,n){},$$DESCEND(e,t,n){if(!gt(t,"$cond"))return e;let r;for(const[a,o]of Object.entries(e))if(it(o)){if(o instanceof Array){const e=[];for(let r of o)ot(r)&&(r=tn(r,t,n.update(r))),ut(r)||e.push(r);r=e}else r=tn(o,t,n.update(o));ut(r)?delete e[a]:e[a]=r}return e}};function en(e,t,n,r){const a=Ht.init(r,e);if(zt(n=n||"")){const o=Zt("expression",n,r);if(o)return o(e,t,a);const i=Zt("accumulator",n,r);if(i)return e instanceof Array||(e=en(e,t,null,a),t=null),Xe(e instanceof Array,`'${n}' target must be an array.`),i(e,t,a.update(null,a.local));throw new Ue(`operator '${n}' is not registered`)}if(nt(t)&&t.length>0&&"$"===t[0]){if(gt(Xt,t))return t;let n=a.root;const r=t.split(".");if(gt(Jt,r[0]))n=Jt[r[0]](e,null,a),t=t.slice(r[0].length+1);else if("$$"===r[0].slice(0,2)){n=Object.assign({},a.variables,{this:e},a.local?.variables);const o=r[0].slice(2);Xe(gt(n,o),`Use of undefined variable: ${o}`),t=t.slice(2)}else t=t.slice(1);return""===t?n:It(n,t)}if(at(t))return t.map((t=>en(e,t,null,a)));if(ot(t)){const n={};for(const[o,i]of Object.entries(t))if(n[o]=en(e,i,o,a),["expression","accumulator"].some((e=>!!Zt(e,o,r))))return Xe(1===Object.keys(t).length,"Invalid aggregation expression '"+JSON.stringify(t)+"'"),n[o];return n}return t}function tn(e,t,n){const r=en(e,t,null,n);return gt(Xt,r)?Xt[r](e,t,n):r}function nn(e){return e instanceof on?e:new on(e)}function rn(e,t){const n=e.slice(t+1);e.splice(t),Array.prototype.push.apply(e,n)}const an=new Error;class on{constructor(e){let t;if(this.iteratees=[],this.yieldedValues=[],this.isDone=!1,e instanceof Function&&(e={next:e}),(n=e)&&"object"==typeof n&&n?.next instanceof Function){const n=e;t=()=>{const e=n.next();if(e.done)throw an;return e.value}}else if(e instanceof Array){const n=e,r=n.length;let a=0;t=()=>{if(a0?this.push(2,e):this}drop(e){return e>0?this.push(3,e):this}transform(e){const t=this;let n;return nn((()=>(n||(n=nn(e(t.value()))),n.next())))}value(){return this.isDone||(this.isDone=this.getNext(!0).done),this.yieldedValues}each(e){for(;;){const t=this.next();if(t.done)break;if(!1===e(t.value))return!1}return!0}reduce(e,t){let n=this.next();for(void 0!==t||n.done||(t=n.value,n=this.next());!n.done;)t=e(t,n.value),n=this.next();return t}size(){return this.reduce(((e,t)=>++e),0)}[Symbol.iterator](){return this}}class sn{constructor(e,t){this.pipeline=e,this.options=Wt(t)}stream(e){let t=nn(e);const n=this.options.processingMode;n!=Kt.CLONE_ALL&&n!=Kt.CLONE_INPUT||t.map(wt);const r=new Array;if(!pt(this.pipeline))for(const a of this.pipeline){const e=Object.keys(a),n=e[0],o=Zt(Vt.PIPELINE,n,this.options);Xe(1===e.length&&!!o,`invalid pipeline operator ${n}`),r.push(n),t=o(t,a[n],this.options)}return(n==Kt.CLONE_OUTPUT||n==Kt.CLONE_ALL&&St([["$group","$unwind"],r]).length)&&t.map(wt),t}run(e){return this.stream(e).value()}}class ln{constructor(e,t,n,r){this.source=e,this.predicate=t,this.projection=n,this.options=r,this.operators=[],this.result=null,this.buffer=[]}fetch(){return this.result||(ot(this.projection)&&this.operators.push({$project:this.projection}),this.result=nn(this.source).filter(this.predicate),this.operators.length>0&&(this.result=new sn(this.operators,this.options).stream(this.result))),this.result}fetchAll(){const e=nn([...this.buffer]);return this.buffer=[],function(...e){let t=0;return nn((()=>{for(;t0)return this.buffer.pop();const e=this.fetch().next();return e.done?void 0:e.value}hasNext(){if(this.buffer.length>0)return!0;const e=this.fetch().next();return!e.done&&(this.buffer.push(e.value),!0)}map(e){return this.all().map(e)}forEach(e){this.all().forEach(e)}[Symbol.iterator](){return this.fetchAll()}}class cn{constructor(e,t){this.condition=e,this.options=Wt(t),this.compiled=[],this.compile()}compile(){Xe(ot(this.condition),`query criteria must be an object: ${JSON.stringify(this.condition)}`);const e={};for(const[t,n]of Object.entries(this.condition)){if("$where"===t)Object.assign(e,{field:t,expr:n});else if(dt(["$and","$or","$nor","$expr","$jsonSchema"],t))this.processOperator(t,t,n);else{Xe(!zt(t),`unknown top level operator: ${t}`);for(const[e,r]of Object.entries(Ut(n)))this.processOperator(t,e,r)}e.field&&this.processOperator(e.field,e.field,e.expr)}}processOperator(e,t,n){const r=Zt(Vt.QUERY,t,this.options);if(!r)throw new Ue(`unknown query operator ${t}`);const a=r(e,n,this.options);this.compiled.push(a)}test(e){for(let t=0,n=this.compiled.length;tthis.test(e)),t||{},this.options)}remove(e){return e.reduce(((e,t)=>(this.test(t)||e.push(t),e)),[])}}const un=(e,t,n)=>{if(pt(t)||!ot(t))return e;let r=Je;const a=n.collation;return ot(a)&&nt(a.locale)&&(r=function(e){const t={sensitivity:dn[e.strength||3],caseFirst:"off"===e.caseFirst?"false":e.caseFirst||"false",numeric:e.numericOrdering||!1,ignorePunctuation:"shifted"===e.alternate};!0===(e.caseLevel||!1)&&("base"===t.sensitivity&&(t.sensitivity="case"),"accent"===t.sensitivity&&(t.sensitivity="variant"));const n=new Intl.Collator(e.locale,t);return(e,t)=>{if(!nt(e)||!nt(t))return Je(e,t);const r=n.compare(e,t);return r<0?-1:r>0?1:0}}(a)),e.transform((e=>{const a=Object.keys(t);for(const o of a.reverse()){const a=jt(e,(e=>It(e,o)),n.hashFunction),i=Array.from(a.keys()).sort(r);-1===t[o]&&i.reverse(),e=[],i.reduce(((e,t)=>Rt(e,a.get(t))),e)}return e}))},dn={1:"base",2:"accent",3:"variant"};function fn(e){const t=(t,n,r)=>{const a={unwrapArray:!0},o=Math.max(1,t.split(".").length-1);return i=>{const s=It(i,t,a);return e(s,n,{...r,depth:o})}};return t.op="query",t}function pn(e){return(t,n,r)=>{const a=en(t,n,null,r);return e(...a)}}function hn(e,t,n){if(Ct(e,t))return!0;if(ut(e)&&ut(t))return!0;if(e instanceof Array){const r=Ct.bind(null,t);return e.some(r)||Et(e,n?.depth).some(r)}return!1}function mn(e,t,n){return!hn(e,t,n)}function gn(e,t,n){return ut(e)?t.some((e=>null===e)):St([mt(e),t],n?.hashFunction).length>0}function yn(e,t,n){return!gn(e,t,n)}function bn(e,t,n){return An(e,t,((e,t)=>Je(e,t)<0))}function vn(e,t,n){return An(e,t,((e,t)=>Je(e,t)<=0))}function wn(e,t,n){return An(e,t,((e,t)=>Je(e,t)>0))}function xn(e,t,n){return An(e,t,((e,t)=>Je(e,t)>=0))}function kn(e){return zt(e)&&-1===["$and","$or","$nor"].indexOf(e)}function _n(e,t,n){if(at(e)&&!pt(e)){let r=e=>e,a=t;Object.keys(t).every(kn)&&(a={temp:t},r=e=>({temp:e}));const o=new cn(a,n);for(let t=0,n=e.length;tnull===e,En=e=>rt(e)&&e>=-2147483648&&e<=2147483647&&-1===e.toString().indexOf("."),Cn=e=>rt(e)&&e>=He&&e<=Ke&&-1===e.toString().indexOf("."),On={array:at,bool:tt,boolean:tt,date:st,decimal:rt,double:rt,int:En,long:Cn,number:rt,null:Sn,object:ot,regex:lt,regexp:lt,string:nt,undefined:ut,function:e=>{throw new Ue("unsupported type key `function`.")},1:rt,2:nt,3:ot,4:at,6:ut,8:tt,9:st,10:Sn,11:lt,16:En,18:Cn,19:rt};function Tn(e,t,n){const r=On[t];return!!r&&r(e)}function An(e,t,n){return mt(e).some((e=>et(e)===et(t)&&n(e,t)))}pn(yn);const jn=(e,t)=>(n,r,a)=>{Xe(at(r),`${e}: expression must be an array.`);const o=en(n,r,null,a);return o.some(ut)?null:(Xe(o.every(rt),`${e}: expression must evalue to array of numbers.`),t(o))};jn("$bitAnd",(e=>e.reduce(((e,t)=>e&t),-1))),jn("$bitOr",(e=>e.reduce(((e,t)=>e|t),0))),jn("$bitXor",(e=>e.reduce(((e,t)=>e^t),0))),pn(hn),pn(wn),pn(xn),pn(bn),pn(vn),pn(mn);const Pn=(e,t)=>{const n={};return e.split("").forEach(((e,r)=>n[e]=t*(r+1))),n};Pn("ABCDEFGHIKLM",1),Pn("NOPQRSTUVWXY",-1);const Rn={undefined:null,null:null,NaN:NaN,Infinity:new Error,"-Infinity":new Error};function Dn(e,t=Rn){const n=Object.assign({},Rn,t),r=new Set(Object.keys(n));return(t,a,o)=>{const i=en(t,a,null,o);if(r.has(`${i}`)){const t=n[`${i}`];if(t instanceof Error)throw new Ue(`cannot apply $${e.name} to -inf, value must in (-inf,inf)`);return t}return e(i)}}Dn(Math.acos,{Infinity:1/0,0:new Error}),Dn(Math.acosh,{Infinity:1/0,0:new Error}),Dn(Math.asin),Dn(Math.asinh,{Infinity:1/0,"-Infinity":-1/0}),Dn(Math.atan),Dn(Math.atanh,{1:1/0,"-1":-1/0}),Dn(Math.cos),Dn(Math.cosh,{"-Infinity":1/0,Infinity:1/0});const In=Math.PI/180,Nn=(Dn((e=>e*In),{Infinity:1/0,"-Infinity":1/0}),180/Math.PI);Dn((e=>e*Nn),{Infinity:1/0,"-Infinity":-1/0}),Dn(Math.sin),Dn(Math.sinh,{"-Infinity":-1/0,Infinity:1/0}),Dn(Math.tan);Error;const Ln=(e,t,n)=>{if(pt(t))return e;let r=Object.keys(t),a=!1;Fn(t,n);const o=n.idKey;if(dt(r,o)){const e=t[o];0!==e&&!1!==e||(r=r.filter(ft.bind(null,[o])),a=0==r.length)}else r.push(o);const i=Ht.init(n);return e.map((e=>Mn(e,t,i.update(e),r,a)))};function Mn(e,t,n,r,a){let o={},i=!1,s=!1;const l=[];a&&l.push(n.idKey);for(const c of r){let r;const a=t[c];if(c!==n.idKey&&dt([0,!1],a)&&(s=!0),c===n.idKey&&pt(a))r=e[c];else if(nt(a))r=en(e,a,c,n);else if(dt([1,!0],a));else if(a instanceof Array)r=a.map((t=>{const r=en(e,t,null,n);return ut(r)?null:r}));else{if(!ot(a)){l.push(c);continue}{const t=a,o=Object.keys(a),s=1==o.length?o[0]:"",l=Zt(Vt.PROJECTION,s,n);if(l)"$slice"===s?mt(t[s]).every(rt)?(r=l(e,t[s],c,n),i=!0):r=en(e,t,c,n):r=l(e,t[s],c,n);else if(zt(s))r=en(e,t[s],s,n);else if(gt(e,c)){Fn(t,n);let a=e[c];a instanceof Array?r=a.map((e=>Mn(e,t,n,o,!1))):(a=ot(a)?a:e,r=Mn(a,t,n,o,!1))}else r=en(e,a,null,n)}}const u=Nt(e,c,{preserveMissing:!0});void 0!==u&&kt(o,u,{flatten:!0}),ft([0,1,!1,!0],a)&&(void 0===r?$t(o,c,{descendArray:!0}):Bt(o,c,r))}if(Lt(o),(i||s||a)&&(o=Rt({},e,o),l.length>0))for(const c of l)$t(o,c,{descendArray:!0});return o}function Fn(e,t){const n=[!1,!1];for(const[r,a]of Object.entries(e)){if(r===t?.idKey)return;0===a||!1===a?n[0]=!0:1!==a&&!0!==a||(n[1]=!0),Xe(!(n[0]&&n[1]),"Projection cannot have a mix of inclusion and exclusion.")}}const Bn=(e,t,n)=>{Xe(at(t),"Invalid expression: $and expects value to be an Array.");const r=t.map((e=>new cn(e,n)));return e=>r.every((t=>t.test(e)))},$n=(e,t,n)=>{Xe(at(t),"Invalid expression. $or expects value to be an Array");const r=t.map((e=>new cn(e,n)));return e=>r.some((t=>t.test(e)))},qn=(e,t,n)=>{Xe(at(t),"Invalid expression. $nor expects value to be an array.");const r=$n("$or",t,n);return e=>!r(e)},zn=(e,t,n)=>{const r={};r[e]=Ut(t);const a=new cn(r,n);return e=>!a.test(e)},Un=fn(hn),Kn=fn(wn),Hn=fn(xn),Wn=fn(gn),Vn=fn(bn),Gn=fn(vn),Qn=fn(mn),Yn=fn(yn);const Zn=fn((function(e,t,n){return mt(e).some((e=>2===t.length&&e%t[0]===t[1]))})),Jn=fn((function(e,t,n){const r=mt(e),a=e=>nt(e)&&((e,t=!0)=>!!e||t&&""===e)(t.exec(e),n?.useStrictMode);return r.some(a)||Et(r,1).some(a)}));fn((function(e,t,n){if(!(at(e)&&at(t)&&e.length&&t.length))return!1;let r=!0;for(const a of t){if(!r)break;r=ot(a)&&dt(Object.keys(a),"$elemMatch")?_n(e,a.$elemMatch,n):a instanceof RegExp?e.some((e=>"string"==typeof e&&a.test(e))):e.some((e=>Ct(a,e)))}return r}));const Xn=fn(_n),er=fn((function(e,t,n){return Array.isArray(e)&&e.length===t})),tr=fn((function(e,t,n){return(!1===t||0===t)&&void 0===e||(!0===t||1===t)&&void 0!==e})),nr=fn((function(e,t,n){return Array.isArray(t)?t.findIndex((t=>Tn(e,t)))>=0:Tn(e,t)}));var rr=!1;function ar(e,t){var n=ne(e.primaryKey);t=v(t);var r=x(t);if("number"!=typeof r.skip&&(r.skip=0),r.selector?(r.selector=r.selector,Object.entries(r.selector).forEach((e=>{let[t,n]=e;"object"==typeof n&&null!==n||(r.selector[t]={$eq:n})}))):r.selector={},r.index){var a=(0,P.$r)(r.index);a.includes(n)||a.push(n),r.index=a}if(r.sort){var o=r.sort.find((e=>{return t=e,Object.keys(t)[0]===n;var t}));o||(r.sort=r.sort.slice(0),r.sort.push({[n]:"asc"}))}else if(r.index)r.sort=r.index.map((e=>({[e]:"asc"})));else{if(e.indexes){var i=new Set;Object.entries(r.selector).forEach((e=>{let[t,n]=e;("object"!=typeof n||null===n||!!Object.keys(n).find((e=>Be.has(e))))&&i.add(t)}));var s,l=-1;e.indexes.forEach((e=>{var t=(0,P.k_)(e)?e:[e],n=t.findIndex((e=>!i.has(e)));n>0&&n>l&&(l=n,s=t)})),s&&(r.sort=s.map((e=>({[e]:"asc"}))))}r.sort||(r.sort=[{[n]:"asc"}])}return r}function or(e,t){if(!t.sort)throw V("SNH",{query:t});var n=[];t.sort.forEach((e=>{var t,r,a,o=Object.keys(e)[0],i=Object.values(e)[0];n.push({key:o,direction:i,getValueFn:(t=o,r=t.split("."),a=r.length,1===a?e=>e[t]:e=>{for(var t=e,n=0;n{for(var r=0;rr.test(e)}async function sr(e,t){var n=await e.exec();return n?Array.isArray(n)?Promise.all(n.map((e=>t(e)))):await t(n):null}function lr(e){return e===Me?-1/0:e}function cr(e,t,n){return e.includes(t)?n===Le||!0===n?"1":"0":n}function ur(e,t,n){if(!n){if("undefined"==typeof window)throw new Error("IDBKeyRange missing");n=window.IDBKeyRange}var r=t.startKeys.map(((n,r)=>{var a=t.index[r];return cr(e,a,n)})).map(lr),a=t.endKeys.map(((n,r)=>{var a=t.index[r];return cr(e,a,n)})).map(lr);return n.bound(r,a,!t.inclusiveStart,!t.inclusiveEnd)}async function dr(e,t){var n=await e.internals,r=t.query,a=r.skip?r.skip:0,o=a+(r.limit?r.limit:1/0),i=t.queryPlan,s=!1;i.selectorSatisfiedByIndex||(s=ir(e.schema,t.query));var l=ur(n.booleanIndexes,i,n.dexieDb._options.IDBKeyRange),c=i.index,u=[];if(await n.dexieDb.transaction("r",n.dexieTable,(async e=>{var t,r=e.idbtrans.objectStore(se);t="["+c.map((e=>he(e))).join("+")+"]";var a=r.index(t).openCursor(l);await new Promise((e=>{a.onsuccess=function(t){var r=t.target.result;if(r){var a=ye(n.booleanIndexes,r.value);s&&!s(a)||u.push(a),i.sortSatisfiedByIndex&&u.length===o?e():r.continue()}else e()}}))})),!i.sortSatisfiedByIndex){var d=or(e.schema,t.query);u=u.sort(d)}return{documents:u=u.slice(a,o)}}function fr(e){for(var t="",n=0;n0&&hr[e].forEach((e=>e(t)))}function gr(e,t){return Promise.all(hr[e].map((e=>e(t))))}var yr="_rxdb_internal";async function br(e,t){var n=(await e.findDocumentsById([t],!1))[0];return n||void 0}async function vr(e,t,n){var r=await e.bulkWrite([t],n);if(r.error.length>0)throw r.error[0];return Cr(ne(e.schema.primaryKey),[t],r)[0]}function wr(e,t,n,r){if(r)throw 409===r.status?V("CONFLICT",{collection:e.name,id:t,writeError:r,data:n}):422===r.status?V("VD2",{collection:e.name,id:t,writeError:r,data:n}):r}function xr(e){return{previous:e.previous,document:kr(e.document)}}function kr(e){if(!e._attachments||0===Object.keys(e._attachments).length)return e;var t=v(e);return t._attachments={},Object.entries(e._attachments).forEach((e=>{let[n,r]=e;var a,o,i;t._attachments[n]=(i=(a=r).data)?{length:(o=i,atob(o).length),digest:a.digest,type:a.type}:a})),t}function _r(e){return Object.assign({},e,{_meta:v(e._meta)})}var Sr=new WeakMap;function Er(e,t,n){q.deepFreezeWhenDevMode(n);var r=ne(t.schema.primaryKey),a={originalStorageInstance:t,schema:t.schema,internals:t.internals,collectionName:t.collectionName,databaseName:t.databaseName,options:t.options,bulkWrite(n,a){for(var o=e.token,i=new Array(n.length),s=(0,Re.t)(),l=0;lt.bulkWrite(i,a))).then((n=>{var o={error:[]},s=Cr(r,i,n);Sr.set(o,s);var l=0===n.error.length?[]:n.error.filter((e=>!(409!==e.status||e.writeRow.previous||e.writeRow.document._deleted||!(0,Ne.ZN)(e.documentInDb)._deleted)||(o.error.push(e),!1)));if(l.length>0){var c=l.map((t=>({previous:t.documentInDb,document:Object.assign({},t.writeRow.document,{_rev:pr(e.token,t.documentInDb)})})));return e.lockedRun((()=>t.bulkWrite(c,a))).then((e=>{(0,P.Hb)(o.error,e.error);var t=Cr(r,c,e);return(0,P.Hb)(s,t),o}))}return o}))},query:n=>e.lockedRun((()=>t.query(n))),count:n=>e.lockedRun((()=>t.count(n))),findDocumentsById:(n,r)=>e.lockedRun((()=>t.findDocumentsById(n,r))),getAttachmentData:(n,r,a)=>e.lockedRun((()=>t.getAttachmentData(n,r,a))),getChangedDocumentsSince:t.getChangedDocumentsSince?(n,r)=>e.lockedRun((()=>t.getChangedDocumentsSince((0,Ne.ZN)(n),r))):void 0,cleanup:n=>e.lockedRun((()=>t.cleanup(n))),remove:()=>(e.storageInstances.delete(a),e.lockedRun((()=>t.remove()))),close:()=>(e.storageInstances.delete(a),e.lockedRun((()=>t.close()))),changeStream:()=>t.changeStream(),conflictResultionTasks:()=>t.conflictResultionTasks(),resolveConflictResultionTask(e){if(e.output.isEqual)return t.resolveConflictResultionTask(e);var n=v(Object.assign({},e.output.documentData,{_meta:ee(),_rev:"",_attachments:{}}));return delete n._meta,delete n._rev,delete n._attachments,t.resolveConflictResultionTask({id:e.id,output:{isEqual:!1,documentData:n}})}};return e.storageInstances.add(a),a}function Cr(e,t,n){var r=Sr.get(n);if(r)return r;var a=[];if(n.error.length>0){for(var o=new Set,i=0;i{this._to=!1,function(e){const t=$r()-e.ttl,n=e.map[Symbol.iterator]();for(;;){const r=n.next().value;if(!r)return;const a=r[0];if(!(r[1]0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var zr="pubkey.broadcast-channel-0-",Ur="messages",Kr={durability:"relaxed"};function Hr(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function Wr(e){e.commit&&e.commit()}function Vr(e,t){var n=e.transaction(Ur,"readonly",Kr),r=n.objectStore(Ur),a=[],o=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var i=r.getAll(o);return new Promise((function(e,t){i.onerror=function(e){return t(e)},i.onsuccess=function(t){e(t.target.result)}}))}return new Promise((function(e,i){var s=function(){try{return o=IDBKeyRange.bound(t+1,1/0),r.openCursor(o)}catch(e){return r.openCursor()}}();s.onerror=function(e){return i(e)},s.onsuccess=function(r){var o=r.target.result;o?o.value.ide.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time0||e._addEL.internal.length>0}function pa(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&fa(e)){var t=function(t){e._addEL[t.type].forEach((function(e){t.time>=e.time&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function ha(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!fa(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}ua._pubkey=!0,ua.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return da(this,"message",e)},postInternal:function(e){return da(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};ha(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,pa(this,"message",t)):this._onML=null},addEventListener:function(e,t){pa(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){ha(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){la.delete(this),this.closed=!0;var t=this._prepP?this._prepP:Dr;return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};var ma=new Map;function ga(e,t){var n=ma.get(e);if(n)return n.refs.delete(t),0===n.refs.size?(ma.delete(e),n.bc.close()):void 0}function ya(e,t,n,r){if(t.multiInstance){var a=r||function(e,t,n,r){var a=ma.get(t);return a||(a={bc:new ua(["RxDB:",e,n].join("|")),refs:new Set},ma.set(t,a)),a.refs.add(r),a.bc}(e,t.databaseInstanceToken,n.databaseName,n),o=new je,i=n=>{n.storageName===e&&n.databaseName===t.databaseName&&n.collectionName===t.collectionName&&n.version===t.schema.version&&o.next(n.eventBulk)};a.addEventListener("message",i);var s=n.changeStream(),l=!1,c=s.subscribe((n=>{l||a.postMessage({storageName:e,databaseName:t.databaseName,collectionName:t.collectionName,version:t.schema.version,eventBulk:n})}));n.changeStream=function(){return o.asObservable().pipe(function(){for(var e=[],t=0;t{if(!e.document._rev||e.previous&&!e.previous._rev)throw V("SNH",{args:{row:e}})}));var n=await this.internals,r={error:[]};this.devMode&&(e=e.map((e=>{var t=_r(e.document);return{previous:e.previous,document:t}})));var a,o=e.map((e=>e.document[this.primaryPath]));if(await n.dexieDb.transaction("rw",n.dexieTable,n.dexieAttachmentsTable,(async()=>{var i=new Map;(await xe(this.internals,o)).forEach((e=>{var t=e;return t&&i.set(t[this.primaryPath],t),t})),a=function(e,t,n,r,a,o,i){for(var s,l=!!e.schema.attachments,c=[],u=[],d=[],f={id:(0,J.z3)(10),events:[],checkpoint:null,context:a,startTime:(0,Re.t)(),endTime:0},p=f.events,h=[],m=[],g=[],y=n.size>0,b=r.length,v=function(){var e,a=r[w],f=a.document,b=a.previous,v=f[t],x=f._deleted,k=b&&b._deleted,_=void 0;if(y&&(_=n.get(v)),_){var S=_._rev;if(!b||b&&S!==b._rev){var E={isError:!0,status:409,documentId:v,writeRow:a,documentInDb:_};return d.push(E),1}var C=l?xr(a):a;l&&(x?b&&Object.keys(b._attachments).forEach((e=>{m.push({documentId:v,attachmentId:e,digest:(0,Ne.ZN)(b)._attachments[e].digest})})):(Object.entries(f._attachments).find((t=>{let[n,r]=t;return(b?b._attachments[n]:void 0)||r.data||(e={documentId:v,documentInDb:_,isError:!0,status:510,writeRow:a,attachmentId:n}),!0})),e||Object.entries(f._attachments).forEach((e=>{let[t,n]=e;var r=b?b._attachments[t]:void 0;if(r){var a=C.document._attachments[t].digest;n.data&&r.digest!==a&&g.push({documentId:v,attachmentId:t,attachmentData:n,digest:n.digest})}else h.push({documentId:v,attachmentId:t,attachmentData:n,digest:n.digest})})))),e?d.push(e):(l?(u.push(xr(C)),i&&i(f)):(u.push(C),i&&i(f)),s=C);var O=null,T=null,A=null;if(k&&!x)A="INSERT",O=l?kr(f):f;else if(!b||k||x){if(!x)throw V("SNH",{args:{writeRow:a}});A="DELETE",O=(0,Ne.ZN)(f),T=b}else A="UPDATE",O=l?kr(f):f,T=b;var j={documentId:v,documentData:O,previousDocumentData:T,operation:A};p.push(j)}else{var P=!!x;if(l&&Object.entries(f._attachments).forEach((t=>{let[n,r]=t;r.data?h.push({documentId:v,attachmentId:n,attachmentData:r,digest:r.digest}):(e={documentId:v,isError:!0,status:510,writeRow:a,attachmentId:n},d.push(e))})),e||(l?(c.push(xr(a)),o&&o(f)):(c.push(a),o&&o(f)),s=a),!P){var R={documentId:v,operation:"INSERT",documentData:l?kr(f):f,previousDocumentData:l&&b?kr(b):b};p.push(R)}}},w=0;w{s.push(e.document)})),a.bulkUpdateDocs.forEach((e=>{s.push(e.document)})),(s=s.map((e=>ge(n.booleanIndexes,e)))).length>0&&await n.dexieTable.bulkPut(s);var l=[];a.attachmentsAdd.forEach((e=>{l.push({id:ke(e.documentId,e.attachmentId),data:e.attachmentData.data})})),a.attachmentsUpdate.forEach((e=>{l.push({id:ke(e.documentId,e.attachmentId),data:e.attachmentData.data})})),await n.dexieAttachmentsTable.bulkPut(l),await n.dexieAttachmentsTable.bulkDelete(a.attachmentsRemove.map((e=>ke(e.documentId,e.attachmentId))))})),(a=(0,Ne.ZN)(a)).eventBulk.events.length>0){var i=(0,Ne.ZN)(a.newestRow).document;a.eventBulk.checkpoint={id:i[this.primaryPath],lwt:i._meta.lwt},a.eventBulk.endTime=(0,Re.t)(),this.changes$.next(a.eventBulk)}return r},t.findDocumentsById=async function(e,t){ka(this);var n=await this.internals,r=[];return await n.dexieDb.transaction("r",n.dexieTable,(async()=>{(await xe(this.internals,e)).forEach((e=>{!e||e._deleted&&!t||r.push(e)}))})),r},t.query=function(e){return ka(this),dr(this,e)},t.count=async function(e){if(e.queryPlan.selectorSatisfiedByIndex){var t=await async function(e,t){var n=await e.internals,r=t.queryPlan,a=r.index,o=ur(n.booleanIndexes,r,n.dexieDb._options.IDBKeyRange),i=-1;return await n.dexieDb.transaction("r",n.dexieTable,(async e=>{var t,n=e.idbtrans.objectStore(se);t="["+a.map((e=>he(e))).join("+")+"]";var r=n.index(t).count(o);i=await new Promise(((e,t)=>{r.onsuccess=function(){e(r.result)},r.onerror=e=>t(e)}))})),i}(this,e);return{count:t,mode:"fast"}}return{count:(await dr(this,e)).documents.length,mode:"slow"}},t.changeStream=function(){return ka(this),this.changes$.asObservable()},t.cleanup=async function(e){ka(this);var t=await this.internals;return await t.dexieDb.transaction("rw",t.dexieTable,(async()=>{var n=(0,Re.t)()-e,r=await t.dexieTable.where("_meta.lwt").below(n).toArray(),a=[];r.forEach((e=>{"1"===e._deleted&&a.push(e[this.primaryPath])})),await t.dexieTable.bulkDelete(a)})),!0},t.getAttachmentData=async function(e,t,n){ka(this);var r=await this.internals,a=ke(e,t);return await r.dexieDb.transaction("r",r.dexieAttachmentsTable,(async()=>{var n=await r.dexieAttachmentsTable.get(a);if(n)return n.data;throw new Error("attachment missing documentId: "+e+" attachmentId: "+t)}))},t.remove=async function(){ka(this);var e=await this.internals;return await e.dexieTable.clear(),this.close()},t.close=function(){return this.closed||(this.closed=(async()=>{this.changes$.complete(),await async function(e){var t=await e,n=fe.get(e)-1;0===n?(t.dexieDb.close(),fe.delete(e)):fe.set(e,n)}(this.internals)})()),this.closed},t.conflictResultionTasks=function(){return new je},t.resolveConflictResultionTask=async function(e){},e}();async function xa(e,t,n){var r=function(e,t,n,r){var a="rxdb-dexie-"+e+"--"+r.version+"--"+t,i=b(de,a,(()=>{var e=(async()=>{var e=v(n);e.autoOpen=!1;var t=new o(a,e),i={[se]:we(r),[le]:"++sequence, id",[ce]:"id"};return t.version(1).stores(i),await t.open(),{dexieDb:t,dexieTable:t[se],dexieAttachmentsTable:t[ce],booleanIndexes:_e(r)}})();return de.set(a,i),fe.set(i,0),e}));return i}(t.databaseName,t.collectionName,n,t.schema),a=new wa(e,t.databaseName,t.collectionName,t.schema,r,t.options,n,t.devMode);return await ya(ue,t,a),Promise.resolve(a)}function ka(e){if(e.closed)throw new Error("RxStorageInstanceDexie is closed "+e.databaseName+"-"+e.collectionName)}var _a="15.31.2",Sa=function(){function e(e){this.name=ue,this.rxdbVersion=_a,this.settings=e}return e.prototype.createStorageInstance=function(e){return function(e){if(e.schema.keyCompression)throw V("UT5",{args:{params:e}});if((t=e.schema).encrypted&&t.encrypted.length>0||t.attachments&&t.attachments.encrypted)throw V("UT6",{args:{params:e}});var t;if(e.schema.attachments&&e.schema.attachments.compression)throw V("UT7",{args:{params:e}})}(e),xa(this,e,this.settings)},e}();function Ea(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r;if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!Ea(e[r],t[r]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var a=Object.keys(e);if((n=a.length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,a[r]))return!1;for(r=n;0!=r--;){var o=a[r];if(!Ea(e[o],t[o]))return!1}return!0}return e!=e&&t!=t}var Ca=function(){function e(e,t){this.jsonSchema=e,this.hashFunction=t,this.indexes=function(e){return(e.indexes||[]).map((e=>(0,P.k_)(e)?e:[e]))}(this.jsonSchema),this.primaryPath=ne(this.jsonSchema.primaryKey),this.finalFields=ie(this.jsonSchema)}var t=e.prototype;return t.validateChange=function(e,t){this.finalFields.forEach((n=>{if(!Ea(e[n],t[n]))throw V("DOC9",{dataBefore:e,dataAfter:t,fieldName:n,schema:this.jsonSchema})}))},t.getDocumentPrototype=function(){var e={},t=te(this.jsonSchema,"");return Object.keys(t).forEach((t=>{var n=t;e.__defineGetter__(t,(function(){if(this.get&&"function"==typeof this.get)return this.get(n)})),Object.defineProperty(e,t+"$",{get:function(){return this.get$(n)},enumerable:!1,configurable:!1}),Object.defineProperty(e,t+"$$",{get:function(){return this.get$$(n)},enumerable:!1,configurable:!1}),Object.defineProperty(e,t+"_",{get:function(){return this.populate(n)},enumerable:!1,configurable:!1})})),k(this,"getDocumentPrototype",(()=>e)),e},t.getPrimaryOfDocumentData=function(e){return re(this.jsonSchema,e)},N(e,[{key:"version",get:function(){return this.jsonSchema.version}},{key:"defaultValues",get:function(){var e={};return Object.entries(this.jsonSchema.properties).filter((e=>{let[,t]=e;return Object.prototype.hasOwnProperty.call(t,"default")})).forEach((t=>{let[n,r]=t;return e[n]=r.default})),k(this,"defaultValues",e)}},{key:"hash",get:function(){return k(this,"hash",this.hashFunction(JSON.stringify(this.jsonSchema)))}}])}();function Oa(e,t,n){void 0===n&&(n=!0),n&&mr("preCreateRxSchema",e);var r=ae(e);r=function(e){return w(e,!0)}(r),q.deepFreezeWhenDevMode(r);var a=new Ca(r,t);return mr("createRxSchema",a),a}var Ta=n(7708),Aa=n(4370);function ja(e,t){return(0,Or.N)((function(n,r){var a=0;n.subscribe((0,Aa._)(r,(function(n){return e.call(t,n,a++)&&r.next(n)})))}))}function Pa(){for(var e=[],t=0;t0&&(t=new Ma.Ms({next:function(e){return m.next(e)},error:function(e){u=!0,d(),r=Fa(f,a,e),m.error(e)},complete:function(){c=!0,d(),r=Fa(f,i),m.complete()}}),(0,La.Tg)(e).subscribe(t))}))(e)}}({connector:function(){return new Na(i,t,n)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:s})}var $a=n(1753);function qa(e){var t=e.split("-"),n="RxDB";return t.forEach((e=>{n+=(0,J.Z2)(e)})),n+="Plugin",new Error("You are using a function which must be overwritten by a plugin.\n You should either prevent the usage of this function or add the plugin via:\n import { "+n+" } from 'rxdb/plugins/"+e+"';\n addRxPlugin("+n+");\n ")}function za(e){return e.documentData?e.documentData:e.previousDocumentData}var Ua=function(){function e(e,t,n,r){this.queueByDocId=new Map,this.isRunning=!1,this.storageInstance=e,this.primaryPath=t,this.preWrite=n,this.postWrite=r}var t=e.prototype;return t.addWrite=function(e,t){var n=e[this.primaryPath],r=b(this.queueByDocId,n,(()=>[]));return new Promise(((n,a)=>{var o={lastKnownDocumentState:e,modifier:t,resolve:n,reject:a};(0,Ne.ZN)(r).push(o),this.triggerRun()}))},t.triggerRun=async function(){if(!0!==this.isRunning&&0!==this.queueByDocId.size){this.isRunning=!0;var e=[],t=this.queueByDocId;this.queueByDocId=new Map,await Promise.all(Array.from(t.entries()).map((async t=>{let[n,r]=t;var a,o,i,s=(a=r.map((e=>e.lastKnownDocumentState)),o=a[0],i=fr(o._rev),a.forEach((e=>{var t=fr(e._rev);t>i&&(o=e,i=t)})),o),l=s;for(var c of r)try{l=await c.modifier(x(l))}catch(u){c.reject(u),c.reject=()=>{},c.resolve=()=>{}}try{await this.preWrite(l,s)}catch(u){return void r.forEach((e=>e.reject(u)))}e.push({previous:s,document:l})})));var n=e.length>0?await this.storageInstance.bulkWrite(e,"incremental-write"):{error:[]};return await Promise.all(Cr(this.primaryPath,e,n).map((e=>{var n=e[this.primaryPath];this.postWrite(e),y(t,n).forEach((t=>t.resolve(e)))}))),n.error.forEach((e=>{var n,r=e.documentId,a=y(t,r),o=Q(e);if(o){var i=b(this.queueByDocId,r,(()=>[]));a.reverse().forEach((e=>{e.lastKnownDocumentState=(0,Ne.ZN)(o.documentInDb),(0,Ne.ZN)(i).unshift(e)}))}else{var s=V("COL20",{name:Y[(n=e).status],document:n.documentId,writeError:n});a.forEach((e=>e.reject(s)))}})),this.isRunning=!1,this.triggerRun()}},e}();function Ka(e){return async t=>{var n=function(e){return Object.assign({},e,{_meta:void 0,_deleted:void 0,_rev:void 0})}(t);n._deleted=t._deleted;var r=await e(n),a=Object.assign({},r,{_meta:t._meta,_attachments:t._attachments,_rev:t._rev,_deleted:void 0!==r._deleted?r._deleted:t._deleted});return void 0===a._deleted&&(a._deleted=!1),a}}var Ha={get primaryPath(){if(this.isInstanceOfRxDocument)return this.collection.schema.primaryPath},get primary(){var e=this;if(e.isInstanceOfRxDocument)return e._data[e.primaryPath]},get revision(){if(this.isInstanceOfRxDocument)return this._data._rev},get deleted$(){if(this.isInstanceOfRxDocument)return this.$.pipe((0,Ta.T)((e=>e._data._deleted)))},get deleted$$(){var e=this;return e.collection.database.getReactivityFactory().fromObservable(e.deleted$,e.getLatest().deleted,e.collection.database)},get deleted(){if(this.isInstanceOfRxDocument)return this._data._deleted},getLatest(){var e=this.collection._docCache.getLatestDocumentData(this.primary);return this.collection._docCache.getCachedRxDocument(e)},get $(){return this.collection.$.pipe(ja((e=>!e.isLocal)),ja((e=>e.documentId===this.primary)),(0,Ta.T)((e=>za(e))),Ra(this.collection._docCache.getLatestDocumentData(this.primary)),(0,Da.F)(((e,t)=>e._rev===t._rev)),(0,Ta.T)((e=>this.collection._docCache.getCachedRxDocument(e))),Ba(Ne.bz))},get $$(){var e=this;return e.collection.database.getReactivityFactory().fromObservable(e.$,e.getLatest()._data,e.collection.database)},get$(e){if(q.isDevMode()){if(e.includes(".item."))throw V("DOC1",{path:e});if(e===this.primaryPath)throw V("DOC2");if(this.collection.schema.finalFields.includes(e))throw V("DOC3",{path:e});if(!te(this.collection.schema.jsonSchema,e))throw V("DOC4",{path:e})}return this.$.pipe((0,Ta.T)((t=>A(t,e))),(0,Da.F)())},get$$(e){var t=this.get$(e);return this.collection.database.getReactivityFactory().fromObservable(t,this.getLatest().get(e),this.collection.database)},populate(e){var t=te(this.collection.schema.jsonSchema,e),n=this.get(e);if(!n)return $a.$A;if(!t)throw V("DOC5",{path:e});if(!t.ref)throw V("DOC6",{path:e,schemaObj:t});var r=this.collection.database.collections[t.ref];if(!r)throw V("DOC7",{ref:t.ref,path:e,schemaObj:t});return"array"===t.type?r.findByIds(n).exec().then((e=>{var t=e.values();return Array.from(t)})):r.findOne(n).exec()},get(e){return b(this._propertyCache,e,(()=>{var t=A(this._data,e);if("object"!=typeof t||null===t||Array.isArray(t))return q.deepFreezeWhenDevMode(t);var n=this,r=new Proxy(v(t),{get(t,r){if("string"!=typeof r)return t[r];var a=r.charAt(r.length-1);if(r.endsWith("$$")){var o=r.slice(0,-2);return n.get$$((0,J.L$)(e+"."+o))}if("$"===a){var i=r.slice(0,-1);return n.get$((0,J.L$)(e+"."+i))}if("_"===a){var s=r.slice(0,-1);return n.populate((0,J.L$)(e+"."+s))}return n.get((0,J.L$)(e+"."+r))}});return r}))},toJSON(e){if(void 0===e&&(e=!1),e)return q.deepFreezeWhenDevMode(this._data);var t=v(this._data);return delete t._rev,delete t._attachments,delete t._deleted,delete t._meta,q.deepFreezeWhenDevMode(t)},toMutableJSON(e){return void 0===e&&(e=!1),x(this.toJSON(e))},update(e){throw qa("update")},incrementalUpdate(e){throw qa("update")},updateCRDT(e){throw qa("crdt")},putAttachment(){throw qa("attachments")},getAttachment(){throw qa("attachments")},allAttachments(){throw qa("attachments")},get allAttachments$(){throw qa("attachments")},async modify(e,t){var n=this._data,r=await Ka(e)(n);return this._saveData(r,n)},incrementalModify(e,t){return this.collection.incrementalWriteQueue.addWrite(this._data,Ka(e)).then((e=>this.collection._docCache.getCachedRxDocument(e)))},patch(e){var t=this._data,n=x(t);return Object.entries(e).forEach((e=>{let[t,r]=e;n[t]=r})),this._saveData(n,t)},incrementalPatch(e){return this.incrementalModify((t=>(Object.entries(e).forEach((e=>{let[n,r]=e;t[n]=r})),t)))},async _saveData(e,t){if(e=v(e),this._data._deleted)throw V("DOC11",{id:this.primary,document:this});await Va(this.collection,e,t);var n=[{previous:t,document:e}],r=await this.collection.storageInstance.bulkWrite(n,"rx-document-save-data"),a=r.error[0];return wr(this.collection,this.primary,e,a),await this.collection._runHooks("post","save",e,this),this.collection._docCache.getCachedRxDocument(Cr(this.collection.schema.primaryPath,n,r)[0])},remove(){var e=this.collection;if(this.deleted)return Promise.reject(V("DOC13",{document:this,id:this.primary}));var t,n=v(this._data);return e._runHooks("pre","remove",n,this).then((async()=>{n._deleted=!0;var t=[{previous:this._data,document:n}],r=await e.storageInstance.bulkWrite(t,"rx-document-remove"),a=r.error[0];return wr(e,this.primary,n,a),Cr(this.collection.schema.primaryPath,t,r)[0]})).then((e=>(t=e,this.collection._runHooks("post","remove",n,this)))).then((()=>this.collection._docCache.getCachedRxDocument(t)))},incrementalRemove(){return this.incrementalModify((async e=>(await this.collection._runHooks("pre","remove",e,this),e._deleted=!0,e))).then((async e=>(await this.collection._runHooks("post","remove",e._data,e),e)))},destroy(){throw V("DOC14")}};function Wa(e){void 0===e&&(e=Ha);var t=function(e,t){this.collection=e,this._data=t,this._propertyCache=new Map,this.isInstanceOfRxDocument=!0};return t.prototype=e,t}function Va(e,t,n){return t._meta=Object.assign({},n._meta,t._meta),q.isDevMode()&&e.schema.validateChange(n,t),e._runHooks("pre","save",t,n)}var Ga=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return(0,Se.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,r=e._value;if(t)throw n;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(je),Qa=n(4157),Ya=n(2442);const Za=e=>{e.previousResults.unshift(e.changeEvent.doc),e.keyDocumentMap&&e.keyDocumentMap.set(e.changeEvent.id,e.changeEvent.doc)},Ja=e=>{e.previousResults.push(e.changeEvent.doc),e.keyDocumentMap&&e.keyDocumentMap.set(e.changeEvent.id,e.changeEvent.doc)},Xa=e=>{const t=e.previousResults.shift();e.keyDocumentMap&&t&&e.keyDocumentMap.delete(t[e.queryParams.primaryKey])},eo=e=>{const t=e.previousResults.pop();e.keyDocumentMap&&t&&e.keyDocumentMap.delete(t[e.queryParams.primaryKey])},to=e=>{e.keyDocumentMap&&e.keyDocumentMap.delete(e.changeEvent.id);const t=e.queryParams.primaryKey,n=e.previousResults;for(let r=0;r{const t=e.changeEvent.id,n=e.changeEvent.doc;if(e.keyDocumentMap){if(e.keyDocumentMap.has(t))return;e.keyDocumentMap.set(t,n)}else{if(e.previousResults.find((n=>n[e.queryParams.primaryKey]===t)))return}!function(e,t,n,r){var a,o=e.length,i=o-1,s=0;if(0===o)return e.push(t),0;for(;r<=i;)n(a=e[s=r+(i-r>>1)],t)<=0?r=s+1:i=s-1;n(a,t)<=0&&s++,e.splice(s,0,t)}(e.previousResults,n,e.queryParams.sortComparator,0)},ro=["doNothing","insertFirst","insertLast","removeFirstItem","removeLastItem","removeFirstInsertLast","removeLastInsertFirst","removeFirstInsertFirst","removeLastInsertLast","removeExisting","replaceExisting","alwaysWrong","insertAtSortPosition","removeExistingAndInsertAtSortPosition","runFullQueryAgain","unknownAction"],ao={doNothing:e=>{},insertFirst:Za,insertLast:Ja,removeFirstItem:Xa,removeLastItem:eo,removeFirstInsertLast:e=>{Xa(e),Ja(e)},removeLastInsertFirst:e=>{eo(e),Za(e)},removeFirstInsertFirst:e=>{Xa(e),Za(e)},removeLastInsertLast:e=>{eo(e),Ja(e)},removeExisting:to,replaceExisting:e=>{const t=e.changeEvent.doc,n=e.queryParams.primaryKey,r=e.previousResults;for(let a=0;a{const t={_id:"wrongHuman"+(new Date).getTime()};e.previousResults.length=0,e.previousResults.push(t),e.keyDocumentMap&&(e.keyDocumentMap.clear(),e.keyDocumentMap.set(t._id,t))},insertAtSortPosition:no,removeExistingAndInsertAtSortPosition:e=>{to(e),no(e)},runFullQueryAgain:e=>{throw new Error("Action runFullQueryAgain must be implemented by yourself")},unknownAction:e=>{throw new Error("Action unknownAction should never be called")}};!function(e=6){let t="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";for(let r=0;r!!e.queryParams.limit,po=e=>1===e.queryParams.limit,ho=e=>!!(e.queryParams.skip&&e.queryParams.skip>0),mo=e=>"DELETE"===e.changeEvent.operation,go=e=>"INSERT"===e.changeEvent.operation,yo=e=>"UPDATE"===e.changeEvent.operation,bo=e=>fo(e)&&e.previousResults.length>=e.queryParams.limit,vo=e=>{const t=e.queryParams.sortFields,n=e.changeEvent.previous,r=e.changeEvent.doc;if(!r)return!1;if(!n)return!0;for(let a=0;a{const t=e.changeEvent.id;if(e.keyDocumentMap){return e.keyDocumentMap.has(t)}{const n=e.queryParams.primaryKey,r=e.previousResults;for(let e=0;e{const t=e.previousResults[0];return!(!t||t[e.queryParams.primaryKey]!==e.changeEvent.id)},ko=e=>{const t=lo(e.previousResults);return!(!t||t[e.queryParams.primaryKey]!==e.changeEvent.id)},_o=e=>{const t=e.changeEvent.previous;if(!t)return!1;const n=e.previousResults[0];if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)<0},So=e=>{const t=e.changeEvent.previous;if(!t)return!1;const n=lo(e.previousResults);if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)>0},Eo=e=>{const t=e.changeEvent.doc;if(!t)return!1;const n=e.previousResults[0];if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)<0},Co=e=>{const t=e.changeEvent.doc;if(!t)return!1;const n=lo(e.previousResults);if(!n)return!1;if(n[e.queryParams.primaryKey]===e.changeEvent.id)return!0;return e.queryParams.sortComparator(t,n)>0},Oo=e=>{const t=e.changeEvent.previous;return!!t&&e.queryParams.queryMatcher(t)},To=e=>{const t=e.changeEvent.doc;if(!t)return!1;return e.queryParams.queryMatcher(t)},Ao=e=>0===e.previousResults.length,jo={0:go,1:yo,2:mo,3:fo,4:po,5:ho,6:Ao,7:bo,8:xo,9:ko,10:vo,11:wo,12:_o,13:So,14:Eo,15:Co,16:Oo,17:To};let Po;function Ro(){return Po||(Po=function(e){const t=new Map,n=2+2*parseInt(e.charAt(0)+e.charAt(1),10),r=oo(e.substring(2,n),2);for(let l=0;lfunction(e,t,n){let r=e,a=e.l;for(;;){if(r=r[t[a](n)?"1":"0"],"number"==typeof r||"string"==typeof r)return r;a=r.l}}(Ro(),jo,e);function Io(e){const t=Do(e);return ro[t]}function No(e,t){return t.sort&&0!==t.sort.length?t.sort.map((e=>Object.keys(e)[0])):[e]}var Lo=new WeakMap;function Mo(e,t){if(!e.collection.database.eventReduce)return{runFullQueryAgain:!0};var n=function(e){return b(Lo,e,(()=>{var t=e.collection,n=ar(t.storageInstance.schema,x(e.mangoQuery)),r=t.schema.primaryPath,a=or(t.schema.jsonSchema,n),o=ir(t.schema.jsonSchema,n);return{primaryKey:e.collection.schema.primaryPath,skip:n.skip,limit:n.limit,sortFields:No(r,n),sortComparator:(t,n)=>{var r={docA:t,docB:n,rxQuery:e};return a(r.docA,r.docB)},queryMatcher:t=>o({doc:t,rxQuery:e}.doc)}}))}(e),r=(0,Ne.ZN)(e._result).docsData.slice(0),a=(0,Ne.ZN)(e._result).docsDataMap,o=!1,i=t.map((e=>function(e){switch(e.operation){case"INSERT":return{operation:e.operation,id:e.documentId,doc:e.documentData,previous:null};case"UPDATE":return{operation:e.operation,id:e.documentId,doc:q.deepFreezeWhenDevMode(e.documentData),previous:e.previousDocumentData?e.previousDocumentData:"UNKNOWN"};case"DELETE":return{operation:e.operation,id:e.documentId,doc:null,previous:e.previousDocumentData}}}(e))).filter(P.S7).find((e=>{var t=Io({queryParams:n,changeEvent:e,previousResults:r,keyDocumentMap:a});return"runFullQueryAgain"===t||("doNothing"!==t?(o=!0,function(e,t,n,r,a){(0,ao[e])({queryParams:t,changeEvent:n,previousResults:r,keyDocumentMap:a})}(t,n,e,r,a),!1):void 0)}));return i?{runFullQueryAgain:!0}:{runFullQueryAgain:!1,changed:o,newResults:r}}var Fo=function(){function e(){this._map=new Map}return e.prototype.getByQuery=function(e){var t=e.toString();return b(this._map,t,(()=>e))},e}();function Bo(e,t){t.uncached=!0;var n=t.toString();e._map.delete(n)}function $o(e){return e.refCount$.observers.length}var qo,zo,Uo=(qo=100,zo=3e4,(e,t)=>{if(!(t._map.size0||(0===o._lastEnsureEqual&&o._creationTimee._lastEnsureEqual-t._lastEnsureEqual)).slice(0,i).forEach((e=>Bo(t,e)))}}),Ko=new WeakSet;var Ho=function(){function e(e,t,n){this.cacheItemByDocId=new Map,this.tasks=new Set,this.registry="function"==typeof FinalizationRegistry?new FinalizationRegistry((e=>{var t=e.docId,n=this.cacheItemByDocId.get(t);n&&(n[0].delete(e.revisionHeight),0===n[0].size&&this.cacheItemByDocId.delete(t))})):void 0,this.primaryPath=e,this.changes$=t,this.documentCreator=n,t.subscribe((e=>{this.tasks.add((()=>{for(var t=this.cacheItemByDocId,n=0;n{this.processTasks()}))}))}var t=e.prototype;return t.processTasks=function(){0!==this.tasks.size&&(Array.from(this.tasks).forEach((e=>e())),this.tasks.clear())},t.getLatestDocumentData=function(e){return this.processTasks(),y(this.cacheItemByDocId,e)[1]},t.getLatestDocumentDataIfExists=function(e){this.processTasks();var t=this.cacheItemByDocId.get(e);if(t)return t[1]},N(e,[{key:"getCachedRxDocuments",get:function(){return k(this,"getCachedRxDocuments",Wo(this))}},{key:"getCachedRxDocument",get:function(){var e=Wo(this);return k(this,"getCachedRxDocument",(t=>e([t])[0]))}}])}();function Wo(e){var t=e.primaryPath,n=e.cacheItemByDocId,r=e.registry,a=q.deepFreezeWhenDevMode,o=e.documentCreator;return i=>{for(var s=new Array(i.length),l=[],c=0;c0&&r&&(e.tasks.add((()=>{for(var e=0;e{e.processTasks()}))),s}}function Vo(e,t){return(0,e.getCachedRxDocuments)(t)}var Go="function"==typeof WeakRef?function(e){return new WeakRef(e)}:function(e){return{deref:()=>e}};var Qo=function(){function e(e,t,n){this.time=(0,Re.t)(),this.query=e,this.count=n,this.documents=Vo(this.query.collection._docCache,t)}return e.prototype.getValue=function(e){var t=this.query.op;if("count"===t)return this.count;if("findOne"===t){var n=0===this.documents.length?null:this.documents[0];if(!n&&e)throw V("QU10",{collection:this.query.collection.name,query:this.query.mangoQuery,op:t});return n}return"findByIds"===t?this.docsMap:this.documents.slice(0)},N(e,[{key:"docsData",get:function(){return k(this,"docsData",this.documents.map((e=>e._data)))}},{key:"docsDataMap",get:function(){var e=new Map;return this.documents.forEach((t=>{e.set(t.primary,t._data)})),k(this,"docsDataMap",e)}},{key:"docsMap",get:function(){for(var e=new Map,t=this.documents,n=0;n"string"!=typeof e)))return n.$eq}return!1}(this.collection.schema.primaryPath,t)}var t=e.prototype;return t._setResultData=function(e){if("number"!=typeof e){e instanceof Map&&(e=Array.from(e.values()));var t=new Qo(this,e,e.length);this._result=t}else this._result=new Qo(this,[],e)},t._execOverDatabase=async function(){if(this._execOverDatabaseCount=this._execOverDatabaseCount+1,this._lastExecStart=(0,Re.t)(),"count"===this.op){var e=this.getPreparedQuery(),t=await this.collection.storageInstance.count(e);if("slow"!==t.mode||this.collection.database.allowSlowCount)return t.count;throw V("QU14",{collection:this.collection,queryObj:this.mangoQuery})}if("findByIds"===this.op){var n=(0,Ne.ZN)(this.mangoQuery.selector)[this.collection.schema.primaryPath].$in,r=new Map,a=[];if(n.forEach((e=>{var t=this.collection._docCache.getLatestDocumentDataIfExists(e);if(t){if(!t._deleted){var n=this.collection._docCache.getCachedRxDocument(t);r.set(e,n)}}else a.push(e)})),a.length>0)(await this.collection.storageInstance.findDocumentsById(a,!1)).forEach((e=>{var t=this.collection._docCache.getCachedRxDocument(e);r.set(t.primary,t)}));return r}var o=async function(e){var t=[],n=e.collection;if(e.isFindOneByIdQuery)if(Array.isArray(e.isFindOneByIdQuery)){var r=e.isFindOneByIdQuery;if(r=r.filter((n=>{var r=e.collection._docCache.getLatestDocumentDataIfExists(n);return!r||(r._deleted||t.push(r),!1)})),r.length>0){var a=await n.storageInstance.findDocumentsById(r,!1);(0,P.Hb)(t,a)}}else{var o=e.isFindOneByIdQuery,i=e.collection._docCache.getLatestDocumentDataIfExists(o);if(!i){var s=await n.storageInstance.findDocumentsById([o],!1);s[0]&&(i=s[0])}i&&!i._deleted&&t.push(i)}else{var l=e.getPreparedQuery(),c=await n.storageInstance.query(l);t=c.documents}return t}(this);return o.then((e=>(this._lastExecEnd=(0,Re.t)(),e)))},t.exec=async function(e){if(e&&"findOne"!==this.op)throw V("QU9",{collection:this.collection.name,query:this.mangoQuery,op:this.op});return await ei(this),(0,Ne.ZN)(this._result).getValue(e)},t.toString=function(){var e=w({op:this.op,query:this.mangoQuery,other:this.other},!0),t=JSON.stringify(e);return this.toString=()=>t,t},t.getPreparedQuery=function(){var e={rxQuery:this,mangoQuery:ar(this.collection.schema.jsonSchema,this.mangoQuery)};e.mangoQuery.selector._deleted={$eq:!1},e.mangoQuery.index&&e.mangoQuery.index.unshift("_deleted"),mr("prePrepareQuery",e);var t=ti(this.collection.schema.jsonSchema,e.mangoQuery);return this.getPreparedQuery=()=>t,t},t.doesDocumentDataMatch=function(e){return!e._deleted&&this.queryMatcher(e)},t.remove=function(){return this.exec().then((e=>Array.isArray(e)?Promise.all(e.map((e=>e.remove()))):e.remove()))},t.incrementalRemove=function(){return sr(this.asRxQuery,(e=>e.incrementalRemove()))},t.update=function(e){throw qa("update")},t.patch=function(e){return sr(this.asRxQuery,(t=>t.patch(e)))},t.incrementalPatch=function(e){return sr(this.asRxQuery,(t=>t.incrementalPatch(e)))},t.modify=function(e){return sr(this.asRxQuery,(t=>t.modify(e)))},t.incrementalModify=function(e){return sr(this.asRxQuery,(t=>t.incrementalModify(e)))},t.where=function(e){throw qa("query-builder")},t.sort=function(e){throw qa("query-builder")},t.skip=function(e){throw qa("query-builder")},t.limit=function(e){throw qa("query-builder")},N(e,[{key:"$",get:function(){if(!this._$){var e=this.collection.$.pipe(ja((e=>!e.isLocal)),Ra(null),(0,Ya.Z)((()=>ei(this))),(0,Ta.T)((()=>this._result)),Ba(Ne.bz),(0,Da.F)(((e,t)=>!(!e||e.time!==(0,Ne.ZN)(t).time))),ja((e=>!!e)),(0,Ta.T)((e=>(0,Ne.ZN)(e).getValue())));this._$=(0,Qa.h)(e,this.refCount$.pipe(ja((()=>!1))))}return this._$}},{key:"$$",get:function(){return this.collection.database.getReactivityFactory().fromObservable(this.$,void 0,this.collection.database)}},{key:"queryMatcher",get:function(){this.collection.schema.jsonSchema;return k(this,"queryMatcher",ir(0,ar(this.collection.schema.jsonSchema,this.mangoQuery)))}},{key:"asRxQuery",get:function(){return this}}])}();function Jo(e,t,n,r){mr("preCreateRxQuery",{op:e,queryObj:t,collection:n,other:r});var a,o,i=new Zo(e,t,n,r);return i=(a=i).collection._queryCache.getByQuery(a),o=n,Ko.has(o)||(Ko.add(o),(0,$a.dY)().then((()=>(0,$a.Ve)(200))).then((()=>{o.destroyed||o.cacheReplacementPolicy(o,o._queryCache),Ko.delete(o)}))),i}function Xo(e){var t=e.asRxQuery.collection._changeEventBuffer.getCounter();return e._latestChangeEvent>=t}async function ei(e){return e.collection.awaitBeforeReads.size>0&&await Promise.all(Array.from(e.collection.awaitBeforeReads).map((e=>e()))),!e.collection.database.destroyed&&!Xo(e)&&(e._ensureEqualQueue=e._ensureEqualQueue.then((()=>function(e){if(e._lastEnsureEqual=(0,Re.t)(),e.collection.database.destroyed||Xo(e))return $a.Dr;var t=!1,n=!1;-1===e._latestChangeEvent&&(n=!0);if(!n){var r=e.asRxQuery.collection._changeEventBuffer.getFrom(e._latestChangeEvent+1);if(null===r)n=!0;else{e._latestChangeEvent=e.asRxQuery.collection._changeEventBuffer.getCounter();var a=e.asRxQuery.collection._changeEventBuffer.reduceByLastOfDoc(r);if("count"===e.op){var o=(0,Ne.ZN)(e._result).count,i=o;a.forEach((t=>{var n=t.previousDocumentData&&e.doesDocumentDataMatch(t.previousDocumentData),r=e.doesDocumentDataMatch(t.documentData);!n&&r&&i++,n&&!r&&i--})),i!==o&&(t=!0,e._setResultData(i))}else{var s=Mo(e,a);s.runFullQueryAgain?n=!0:s.changed&&(t=!0,e._setResultData(s.newResults))}}}if(n)return e._execOverDatabase().then((n=>(e._latestChangeEvent=e.collection._changeEventBuffer.getCounter(),"number"==typeof n?(e._result&&n===e._result.count||(t=!0,e._setResultData(n)),t):(e._result&&function(e,t,n){if(t.length!==n.length)return!1;for(var r=0,a=t.length;re.data.name===a)),l=[];s.forEach((e=>{l.push({collectionName:e.data.name,schema:e.data.schema,isCollection:!0}),e.data.connectedStorages.forEach((e=>l.push({collectionName:e.collectionName,isCollection:!1,schema:e.schema})))}));var c=new Set;if(l=l.filter((e=>{var t=e.collectionName+"||"+e.schema.version;return!c.has(t)&&(c.add(t),!0)})),await Promise.all(l.map((async t=>{var i=await e.createStorageInstance({collectionName:t.collectionName,databaseInstanceToken:n,databaseName:r,multiInstance:!1,options:{},schema:t.schema,password:o,devMode:q.isDevMode()});await i.remove(),t.isCollection&&await gr("postRemoveRxCollection",{storage:e,databaseName:r,collectionName:a})}))),i){var u=s.map((e=>{var t=_r(e);return t._deleted=!0,t._meta.lwt=(0,Re.t)(),t._rev=pr(n,e),{previous:e,document:t}}));await t.bulkWrite(u,"rx-database-remove-collection-all")}}function fi(e){if(e.destroyed)throw V("COL21",{collection:e.name,version:e.schema.version})}var pi=function(){function e(e){this.subs=[],this.counter=0,this.eventCounterMap=new WeakMap,this.buffer=[],this.limit=100,this.tasks=new Set,this.collection=e,this.subs.push(this.collection.database.eventBulks$.pipe(ja((e=>e.collectionName===this.collection.name)),ja((e=>!e.events[0].isLocal))).subscribe((e=>{this.tasks.add((()=>this._handleChangeEvents(e.events))),this.tasks.size<=1&&(0,$a.vN)().then((()=>{this.processTasks()}))})))}var t=e.prototype;return t.processTasks=function(){0!==this.tasks.size&&(Array.from(this.tasks).forEach((e=>e())),this.tasks.clear())},t._handleChangeEvents=function(e){var t=this.counter;this.counter=this.counter+e.length,e.length>this.limit?this.buffer=e.slice(-1*e.length):((0,P.Hb)(this.buffer,e),this.buffer=this.buffer.slice(-1*this.limit));for(var n=t+1,r=this.eventCounterMap,a=0;at(e)))},t.reduceByLastOfDoc=function(e){return this.processTasks(),e.slice(0)},t.destroy=function(){this.tasks.clear(),this.subs.forEach((e=>e.unsubscribe()))},e}();var hi=new WeakMap;function mi(e){var t=e.schema.getDocumentPrototype(),n=function(e){var t={};return Object.entries(e.methods).forEach((e=>{let[n,r]=e;t[n]=r})),t}(e),r={};return[t,n,Ha].forEach((e=>{Object.getOwnPropertyNames(e).forEach((t=>{var n=Object.getOwnPropertyDescriptor(e,t),a=!0;(t.startsWith("_")||t.endsWith("_")||t.startsWith("$")||t.endsWith("$"))&&(a=!1),"function"==typeof n.value?Object.defineProperty(r,t,{get(){return n.value.bind(this)},enumerable:a,configurable:!1}):(n.enumerable=a,n.configurable=!1,n.writable&&(n.writable=!1),Object.defineProperty(r,t,n))}))})),r}function gi(e,t,n){var r=function(e,t,n){var r=new e(t,n);return mr("createRxDocument",r),r}(t,e,q.deepFreezeWhenDevMode(n));return e._runHooksSync("post","create",n,r),mr("postCreateRxDocument",r),r}var yi=function(e,t){return Ea(kr(e.newDocumentState),kr(e.realMasterState))?Promise.resolve({isEqual:!0}):Promise.resolve({isEqual:!1,documentData:e.realMasterState})};var bi=["pre","post"],vi=["insert","save","remove","create"],wi=!1,xi=function(){function e(e,t,n,r,a,o,i,s,l,c,u,d){void 0===a&&(a={}),void 0===o&&(o={}),void 0===i&&(i={}),void 0===s&&(s={}),void 0===l&&(l={}),void 0===c&&(c=Uo),void 0===u&&(u={}),void 0===d&&(d=yi),this.storageInstance={},this.timeouts=new Set,this.incrementalWriteQueue={},this.awaitBeforeReads=new Set,this._incrementalUpsertQueues=new Map,this.synced=!1,this.hooks={},this._subs=[],this._docCache={},this._queryCache=new Fo,this.$={},this.checkpoint$={},this._changeEventBuffer={},this.onDestroy=[],this.destroyed=!1,this.onRemove=[],this.database=e,this.name=t,this.schema=n,this.internalStorageInstance=r,this.instanceCreationOptions=a,this.migrationStrategies=o,this.methods=i,this.attachments=s,this.options=l,this.cacheReplacementPolicy=c,this.statics=u,this.conflictHandler=d,function(e){if(wi)return;wi=!0;var t=Object.getPrototypeOf(e);vi.forEach((e=>{bi.map((n=>{var r=n+(0,J.Z2)(e);t[r]=function(t,r){return this.addHook(n,e,t,r)}}))}))}(this.asRxCollection)}var t=e.prototype;return t.prepare=async function(){this.storageInstance=Er(this.database,this.internalStorageInstance,this.schema.jsonSchema),this.incrementalWriteQueue=new Ua(this.storageInstance,this.schema.primaryPath,((e,t)=>Va(this,e,t)),(e=>this._runHooks("post","save",e)));var e,t,n=this.database.eventBulks$.pipe(ja((e=>e.collectionName===this.name)));this.$=n.pipe((0,Ya.Z)((e=>e.events))),this.checkpoint$=n.pipe((0,Ta.T)((e=>e.checkpoint))),this._changeEventBuffer=(e=this.asRxCollection,new pi(e)),this._docCache=new Ho(this.schema.primaryPath,this.database.eventBulks$.pipe(ja((e=>e.collectionName===this.name&&!e.events[0].isLocal)),(0,Ta.T)((e=>e.events))),(e=>{var n;return t||(n=this.asRxCollection,t=b(hi,n,(()=>Wa(mi(n))))),gi(this.asRxCollection,t,e)}));var r=this.database.internalStore.changeStream().pipe(ja((e=>{var t=this.name+"-"+this.schema.version;return!!e.events.find((e=>"collection"===e.documentData.context&&e.documentData.key===t&&"DELETE"===e.operation))}))).subscribe((async()=>{await this.destroy(),await Promise.all(this.onRemove.map((e=>e())))}));this._subs.push(r);var a=await this.database.storageToken,o=this.storageInstance.changeStream().subscribe((e=>{for(var t=new Array(e.events.length),n=e.events,r=this.name,o=q.deepFreezeWhenDevMode,i=0;i{this.conflictHandler(e.input,e.context).then((t=>{this.storageInstance.resolveConflictResultionTask({id:e.id,output:t})}))}))),$a.em},t.cleanup=function(e){throw fi(this),qa("cleanup")},t.migrationNeeded=function(){throw qa("migration-schema")},t.getMigrationState=function(){throw qa("migration-schema")},t.startMigration=function(e){return void 0===e&&(e=10),fi(this),this.getMigrationState().startMigration(e)},t.migratePromise=function(e){return void 0===e&&(e=10),this.getMigrationState().migratePromise(e)},t.insert=async function(e){fi(this);var t=await this.bulkInsert([e]),n=t.error[0];return wr(this,e[this.schema.primaryPath],e,n),(0,Ne.ZN)(t.success[0])},t.bulkInsert=async function(e){if(fi(this),0===e.length)return{success:[],error:[]};var t,n=this.schema.primaryPath;if(this.hasHooks("pre","insert"))t=await Promise.all(e.map((e=>{var t=ui(this.schema,e);return this._runHooks("pre","insert",t).then((()=>({document:t})))})));else{t=new Array(e.length);for(var r=this.schema,a=0;a{var t=e.document;u.set(t[n],t)})),await Promise.all(c.success.map((e=>this._runHooks("post","insert",u.get(e.primary),e))))}return c},t.bulkRemove=async function(e){fi(this);var t=this.schema.primaryPath;if(0===e.length)return{success:[],error:[]};var n=await this.findByIds(e).exec(),r=[],a=new Map;Array.from(n.values()).forEach((e=>{var t=e.toMutableJSON(!0);r.push(t),a.set(e.primary,t)})),await Promise.all(r.map((e=>{var t=e[this.schema.primaryPath];return this._runHooks("pre","remove",e,n.get(t))})));var o=r.map((e=>{var t=v(e);return t._deleted=!0,{previous:e,document:t}})),i=await this.storageInstance.bulkWrite(o,"rx-collection-bulk-remove"),s=Cr(this.schema.primaryPath,o,i).map((e=>e[t]));return await Promise.all(s.map((e=>this._runHooks("post","remove",a.get(e),n.get(e))))),{success:s.map((e=>y(n,e))),error:i.error}},t.bulkUpsert=async function(e){fi(this);var t=[],n=new Map;e.forEach((e=>{var r=ui(this.schema,e),a=r[this.schema.primaryPath];if(!a)throw V("COL3",{primaryPath:this.schema.primaryPath,data:r,schema:this.schema.jsonSchema});n.set(a,r),t.push(r)}));var r=await this.bulkInsert(t),a=r.success.slice(0),o=[];return await Promise.all(r.error.map((async e=>{if(409!==e.status)o.push(e);else{var t=e.documentId,r=y(n,t),i=(0,Ne.ZN)(e.documentInDb),s=this._docCache.getCachedRxDocuments([i])[0],l=await s.incrementalModify((()=>r));a.push(l)}}))),{error:o,success:a}},t.upsert=async function(e){fi(this);var t=await this.bulkUpsert([e]);return wr(this.asRxCollection,e[this.schema.primaryPath],e,t.error[0]),t.success[0]},t.incrementalUpsert=function(e){fi(this);var t=ui(this.schema,e),n=t[this.schema.primaryPath];if(!n)throw V("COL4",{data:e});var r=this._incrementalUpsertQueues.get(n);return r||(r=$a.em),r=r.then((()=>function(e,t,n){var r=e._docCache.getLatestDocumentDataIfExists(t);if(r)return Promise.resolve({doc:e._docCache.getCachedRxDocuments([r])[0],inserted:!1});return e.findOne(t).exec().then((t=>t?{doc:t,inserted:!1}:e.insert(n).then((e=>({doc:e,inserted:!0})))))}(this,n,t))).then((e=>e.inserted?e.doc:function(e,t){return e.incrementalModify((e=>t))}(e.doc,t))),this._incrementalUpsertQueues.set(n,r),r},t.find=function(e){if(fi(this),"string"==typeof e)throw V("COL5",{queryObj:e});return e||(e={selector:{}}),Jo("find",e,this)},t.findOne=function(e){if(fi(this),"number"==typeof e||Array.isArray(e))throw G("COL6",{queryObj:e});var t;if("string"==typeof e)t=Jo("findOne",{selector:{[this.schema.primaryPath]:e},limit:1},this);else{if(e||(e={selector:{}}),e.limit)throw V("QU6");(e=v(e)).limit=1,t=Jo("findOne",e,this)}return t},t.count=function(e){return fi(this),e||(e={selector:{}}),Jo("count",e,this)},t.findByIds=function(e){return fi(this),Jo("findByIds",{selector:{[this.schema.primaryPath]:{$in:e.slice(0)}}},this)},t.exportJSON=function(){throw qa("json-dump")},t.importJSON=function(e){throw qa("json-dump")},t.insertCRDT=function(e){throw qa("crdt")},t.addPipeline=function(e){throw qa("pipeline")},t.addHook=function(e,t,n,r){if(void 0===r&&(r=!1),"function"!=typeof n)throw G("COL7",{key:t,when:e});if(!bi.includes(e))throw G("COL8",{key:t,when:e});if(!vi.includes(t))throw V("COL9",{key:t});if("post"===e&&"create"===t&&!0===r)throw V("COL10",{when:e,key:t,parallel:r});var a=n.bind(this),o=r?"parallel":"series";this.hooks[t]=this.hooks[t]||{},this.hooks[t][e]=this.hooks[t][e]||{series:[],parallel:[]},this.hooks[t][e][o].push(a)},t.getHooks=function(e,t){return this.hooks[t]&&this.hooks[t][e]?this.hooks[t][e]:{series:[],parallel:[]}},t.hasHooks=function(e,t){if(!this.hooks[t]||!this.hooks[t][e])return!1;var n=this.getHooks(e,t);return!!n&&(n.series.length>0||n.parallel.length>0)},t._runHooks=function(e,t,n,r){var a=this.getHooks(e,t);if(!a)return $a.em;var o=a.series.map((e=>()=>e(n,r)));return(0,$a.h$)(o).then((()=>Promise.all(a.parallel.map((e=>e(n,r))))))},t._runHooksSync=function(e,t,n,r){if(this.hasHooks(e,t)){var a=this.getHooks(e,t);a&&a.series.forEach((e=>e(n,r)))}},t.promiseWait=function(e){return new Promise((t=>{var n=setTimeout((()=>{this.timeouts.delete(n),t()}),e);this.timeouts.add(n)}))},t.destroy=async function(){return this.destroyed?$a.Dr:(await Promise.all(this.onDestroy.map((e=>e()))),this.destroyed=!0,Array.from(this.timeouts).forEach((e=>clearTimeout(e))),this._changeEventBuffer&&this._changeEventBuffer.destroy(),this.database.requestIdlePromise().then((()=>this.storageInstance.close())).then((()=>(this._subs.forEach((e=>e.unsubscribe())),delete this.database.collections[this.name],gr("postDestroyRxCollection",this).then((()=>!0))))))},t.remove=async function(){await this.destroy(),await Promise.all(this.onRemove.map((e=>e()))),await di(this.database.storage,this.database.internalStore,this.database.token,this.database.name,this.name,this.database.password,this.database.hashFunction)},N(e,[{key:"insert$",get:function(){return this.$.pipe(ja((e=>"INSERT"===e.operation)))}},{key:"update$",get:function(){return this.$.pipe(ja((e=>"UPDATE"===e.operation)))}},{key:"remove$",get:function(){return this.$.pipe(ja((e=>"DELETE"===e.operation)))}},{key:"asRxCollection",get:function(){return this}}])}();var ki=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._parallels=e||1,this._qC=0,this._iC=new Set,this._lHN=0,this._hPM=new Map,this._pHM=new Map};function _i(e,t){if(t){if(t._timeoutObj&&clearTimeout(t._timeoutObj),e._pHM.has(t)){var n=e._pHM.get(t);e._hPM.delete(n),e._pHM.delete(t)}e._iC.delete(t)}}function Si(e){e._tryIR||0===e._iC.size||(e._tryIR=!0,setTimeout((function(){e.isIdle()?setTimeout((function(){e.isIdle()?(!function(e){0!==e._iC.size&&(e._iC.values().next().value._manRes(),setTimeout((function(){return Si(e)}),0))}(e),e._tryIR=!1):e._tryIR=!1}),0):e._tryIR=!1}),0))}ki.prototype={isIdle:function(){return this._qCe.events))),this.storageToken=$a.Dr,this.storageTokenDocument=$a.Dr,this.emittedEventBulkIds=new Br(6e4),this.name=e,this.token=t,this.storage=n,this.instanceCreationOptions=r,this.password=a,this.multiInstance=o,this.eventReduce=i,this.options=s,this.internalStore=l,this.hashFunction=c,this.cleanupPolicy=u,this.allowSlowCount=d,this.reactivity=f,"pseudoInstance"!==this.name&&(this.internalStore=Er(this.asRxDatabase,l,ai),this.storageTokenDocument=async function(e){var t=(0,J.z3)(10),n=e.password?await e.hashFunction(JSON.stringify(e.password)):void 0,r=[{document:{id:li,context:ri,key:si,data:{rxdbVersion:e.rxdbVersion,token:t,instanceToken:e.token,passwordHash:n},_deleted:!1,_meta:ee(),_rev:"",_attachments:{}}}],a=await e.internalStore.bulkWrite(r,"internal-add-storage-token");if(!a.error[0])return Cr("id",r,a)[0];var o=(0,Ne.ZN)(a.error[0]);if(o.isError&&Q(o)){var i=o;if(l=i.documentInDb.data.rxdbVersion,c=e.rxdbVersion,!l||c.includes("beta")&&c!==l||l.split(".")[0]!==c.split(".")[0])throw V("DM5",{args:{database:e.name,databaseStateVersion:i.documentInDb.data.rxdbVersion,codeVersion:e.rxdbVersion}});if(n&&n!==i.documentInDb.data.passwordHash)throw V("DB1",{passwordHash:n,existingPasswordHash:i.documentInDb.data.passwordHash});var s=i.documentInDb;return(0,Ne.ZN)(s)}var l,c;throw o}(this.asRxDatabase).catch((e=>this.startupErrors.push(e))),this.storageToken=this.storageTokenDocument.then((e=>e.data.token)).catch((e=>this.startupErrors.push(e))))}var t=e.prototype;return t.getReactivityFactory=function(){if(!this.reactivity)throw V("DB14",{database:this.name});return this.reactivity},t.$emit=function(e){this.emittedEventBulkIds.has(e.id)||(this.emittedEventBulkIds.add(e.id),this.eventBulks$.next(e))},t.removeCollectionDoc=async function(e,t){var n=await br(this.internalStore,oi(ci(e,t),ni));if(!n)throw V("SNH",{name:e,schema:t});var r=_r(n);r._deleted=!0,await this.internalStore.bulkWrite([{document:r,previous:n}],"rx-database-remove-collection")},t.addCollections=async function(e){var t={},n={},r=[],a={};await Promise.all(Object.entries(e).map((async e=>{let[o,i]=e;var s=o,l=i.schema;t[s]=l;var c=Oa(l,this.hashFunction);if(n[s]=c,this.collections[o])throw V("DB3",{name:o});var u=ci(o,l),d={id:oi(u,ni),key:u,context:ni,data:{name:s,schemaHash:await c.hash,schema:c.jsonSchema,version:c.version,connectedStorages:[]},_deleted:!1,_meta:ee(),_rev:"",_attachments:{}};r.push({document:d});var f=Object.assign({},i,{name:s,schema:c,database:this}),p=v(i);p.database=this,p.name=o,mr("preCreateRxCollection",p),f.conflictHandler=p.conflictHandler,a[s]=f})));var o=await this.internalStore.bulkWrite(r,"rx-database-add-collection");await async function(e){if(await e.storageToken,e.startupErrors[0])throw e.startupErrors[0]}(this),await Promise.all(o.error.map((async e=>{if(409!==e.status)throw V("DB12",{database:this.name,writeError:e});var r=(0,Ne.ZN)(e.documentInDb),a=r.data.name,o=n[a];if(r.data.schemaHash!==await o.hash)throw V("DB6",{database:this.name,collection:a,previousSchemaHash:r.data.schemaHash,schemaHash:await o.hash,previousSchema:r.data.schema,schema:(0,Ne.ZN)(t[a])})})));var i={};return await Promise.all(Object.keys(e).map((async e=>{var t=a[e],n=await function(e){let{database:t,name:n,schema:r,instanceCreationOptions:a={},migrationStrategies:o={},autoMigrate:i=!0,statics:s={},methods:l={},attachments:c={},options:u={},localDocuments:d=!1,cacheReplacementPolicy:f=Uo,conflictHandler:p=yi}=e;var h={databaseInstanceToken:t.token,databaseName:t.name,collectionName:n,schema:r.jsonSchema,options:a,multiInstance:t.multiInstance,password:t.password,devMode:q.isDevMode()};return mr("preCreateRxStorageInstance",h),async function(e,t){return t.multiInstance=e.multiInstance,await e.storage.createStorageInstance(t)}(t,h).then((e=>{var h=new xi(t,n,r,e,a,o,l,c,u,f,s,p);return h.prepare().then((()=>{Object.entries(s).forEach((e=>{let[t,n]=e;Object.defineProperty(h,t,{get:()=>n.bind(h)})}));var e=$a.em;return i&&0!==h.schema.version&&(e=h.migratePromise()),e})).then((()=>(mr("createRxCollection",{collection:h,creator:{name:n,schema:r,storageInstance:e,instanceCreationOptions:a,migrationStrategies:o,methods:l,attachments:c,options:u,cacheReplacementPolicy:f,localDocuments:d,statics:s}}),h))).catch((t=>e.close().then((()=>Promise.reject(t)))))}))}(t);i[e]=n,this.collections[e]=n,this[e]||Object.defineProperty(this,e,{get:()=>this.collections[e]})}))),i},t.lockedRun=function(e){return this.idleQueue.wrapCall(e)},t.requestIdlePromise=function(){return this.idleQueue.requestIdlePromise()},t.exportJSON=function(e){throw qa("json-dump")},t.addState=function(e){throw qa("state")},t.importJSON=function(e){throw qa("json-dump")},t.backup=function(e){throw qa("backup")},t.leaderElector=function(){throw qa("leader-election")},t.isLeader=function(){throw qa("leader-election")},t.waitForLeadership=function(){throw qa("leader-election")},t.migrationStates=function(){throw qa("migration-schema")},t.destroy=async function(){return this.destroyed?$a.Dr:(this.destroyed=!0,await gr("preDestroyRxDatabase",this),this.eventBulks$.complete(),this._subs.map((e=>e.unsubscribe())),"pseudoInstance"===this.name?$a.Dr:this.requestIdlePromise().then((()=>Promise.all(this.onDestroy.map((e=>e()))))).then((()=>Promise.all(Object.keys(this.collections).map((e=>this.collections[e])).map((e=>e.destroy()))))).then((()=>this.internalStore.close())).then((()=>Ei.delete(this.storage.name+"|"+this.name))).then((()=>!0)))},t.remove=function(){return this.destroy().then((()=>async function(e,t,n){var r=(0,J.z3)(10),a=await Oi(r,t,e,{},!1,n),o=await ii(a),i=new Set;o.forEach((e=>i.add(e.data.name)));var s=Array.from(i);return await Promise.all(s.map((o=>di(t,a,r,e,o,n)))),await gr("postRemoveRxDatabase",{databaseName:e,storage:t}),await a.remove(),s}(this.name,this.storage,this.password)))},N(e,[{key:"$",get:function(){return this.observable$}},{key:"asRxDatabase",get:function(){return this}}])}();async function Oi(e,t,n,r,a,o){return await t.createStorageInstance({databaseInstanceToken:e,databaseName:n,collectionName:yr,schema:ai,options:r,multiInstance:a,password:o,devMode:q.isDevMode()})}function Ti(e){let{storage:t,instanceCreationOptions:n,name:r,password:a,multiInstance:o=!0,eventReduce:i=!0,ignoreDuplicate:s=!1,options:l={},cleanupPolicy:c,allowSlowCount:u=!1,localDocuments:d=!1,hashFunction:f=Ie.V0,reactivity:p}=e;mr("preCreateRxDatabase",{storage:t,instanceCreationOptions:n,name:r,password:a,multiInstance:o,eventReduce:i,ignoreDuplicate:s,options:l,localDocuments:d}),s||function(e,t){var n=t.name+"|"+e;if(Ei.has(n))throw V("DB8",{name:e,storage:t.name,link:"https://rxdb.info/rx-database.html#ignoreduplicate"})}(r,t),Ei.add(t.name+"|"+r);var h=(0,J.z3)(10);return Oi(h,t,r,n,o,a).catch((e=>{throw Ei.delete(t.name+"|"+r),e})).then((e=>{var m=new Ci(r,h,t,n,a,o,i,l,e,f,c,u,p);return gr("createRxDatabase",{database:m,creator:{storage:t,instanceCreationOptions:n,name:r,password:a,multiInstance:o,eventReduce:i,ignoreDuplicate:s,options:l,localDocuments:d}}).then((()=>m))}))}var Ai={RxSchema:Ca.prototype,RxDocument:Ha,RxQuery:Zo.prototype,RxCollection:xi.prototype,RxDatabase:Ci.prototype},ji=new Set,Pi=new Set;var Ri=function(e){function t(t,n,r){var a;return(a=e.call(this,null,n)||this).id=t,a.parent=r,a}return M(t,e),t}(Wa()),Di={get isLocal(){return!0},get allAttachments$(){throw V("LD1",{document:this})},get primaryPath(){return"id"},get primary(){return this.id},get $(){var e=y(Fi,this.parent);return this.parent.$.pipe(ja((e=>e.documentId===this.primary)),ja((e=>e.isLocal)),(0,Ta.T)((e=>za(e))),Ra(e.docCache.getLatestDocumentData(this.primary)),(0,Da.F)(((e,t)=>e._rev===t._rev)),(0,Ta.T)((t=>e.docCache.getCachedRxDocument(t))),Ba(Ne.bz))},get $$(){var e=this,t=Li(e);return t.getReactivityFactory().fromObservable(e.$,e.getLatest()._data,t)},get deleted$$(){var e=this,t=Li(e);return t.getReactivityFactory().fromObservable(e.deleted$,e.getLatest().deleted,t)},getLatest(){var e=y(Fi,this.parent),t=e.docCache.getLatestDocumentData(this.primary);return e.docCache.getCachedRxDocument(t)},get(e){if(e="data."+e,this._data){if("string"!=typeof e)throw G("LD2",{objPath:e});var t=A(this._data,e);return t=q.deepFreezeWhenDevMode(t)}},get$(e){if(e="data."+e,q.isDevMode()){if(e.includes(".item."))throw V("LD3",{objPath:e});if(e===this.primaryPath)throw V("LD4")}return this.$.pipe((0,Ta.T)((e=>e._data)),(0,Ta.T)((t=>A(t,e))),(0,Da.F)())},get$$(e){var t=Li(this);return t.getReactivityFactory().fromObservable(this.get$(e),this.getLatest().get(e),t)},async incrementalModify(e){var t=await $i(this.parent);return t.incrementalWriteQueue.addWrite(this._data,(async t=>(t.data=await e(t.data,this),t))).then((e=>t.docCache.getCachedRxDocument(e)))},incrementalPatch(e){return this.incrementalModify((t=>(Object.entries(e).forEach((e=>{let[n,r]=e;t[n]=r})),t)))},async _saveData(e){var t=await $i(this.parent),n=this._data;e.id=this.id;var r=[{previous:n,document:e}];return t.storageInstance.bulkWrite(r,"local-document-save-data").then((t=>{if(t.error[0])throw t.error[0];var n=Cr(this.collection.schema.primaryPath,r,t)[0];(e=v(e))._rev=n._rev}))},async remove(){var e=await $i(this.parent),t=v(this._data);return t._deleted=!0,vr(e.storageInstance,{previous:this._data,document:t},"local-document-remove").then((t=>e.docCache.getCachedRxDocument(t)))}},Ii=!1,Ni=()=>{if(!Ii){Ii=!0;var e=Ha;Object.getOwnPropertyNames(e).forEach((t=>{if(!Object.getOwnPropertyDescriptor(Di,t)){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(Di,t,n)}}));["populate","update","putAttachment","getAttachment","allAttachments"].forEach((e=>Di[e]=(e=>()=>{throw V("LD6",{functionName:e})})(e)))}};function Li(e){var t=e.parent;return t instanceof Ci?t:t.database}var Mi=new WeakMap,Fi=new WeakMap;function Bi(e){var t=e.database?e.database:e,n=e.database?e.name:"",r=(async()=>{var r=await qi(t.token,t.storage,t.name,n,t.instanceCreationOptions,t.multiInstance);r=Er(t,r,Hi);var a=new Ho("id",t.eventBulks$.pipe(ja((e=>{var t=!1;return(""===n&&!e.collectionName||""!==n&&e.collectionName===n)&&(t=!0),t&&e.events[0].isLocal})),(0,Ta.T)((e=>e.events))),(t=>function(e,t){Ni();var n=new Ri(e.id,e,t);return Object.setPrototypeOf(n,Di),n.prototype=Di,n}(t,e))),o=new Ua(r,"id",(()=>{}),(()=>{})),i=await t.storageToken,s=r.changeStream().subscribe((n=>{for(var r=new Array(n.events.length),a=n.events,o=e.database?e.name:void 0,s=0;se.storageInstance.close()))}async function Ui(e,t,n){var r=(0,J.z3)(10),a=await qi(r,e,t,n,{},!1);await a.remove()}function Ki(e){return"plugin-local-documents-"+e}var Hi=ae({title:"RxLocalDocument",version:0,primaryKey:"id",type:"object",properties:{id:{type:"string",maxLength:128},data:{type:"object",additionalProperties:!0}},required:["id","data"]});async function Wi(e,t){var n=await $i(this),r={id:e,data:t,_deleted:!1,_meta:ee(),_rev:"",_attachments:{}};return vr(n.storageInstance,{document:r},"local-document-insert").then((e=>n.docCache.getCachedRxDocument(e)))}function Vi(e,t){return this.getLocal(e).then((n=>n?n.incrementalModify((()=>t)):this.insertLocal(e,t)))}async function Gi(e){var t=await $i(this),n=t.docCache,r=n.getLatestDocumentDataIfExists(e);return r?Promise.resolve(n.getCachedRxDocument(r)):br(t.storageInstance,e).then((e=>e?t.docCache.getCachedRxDocument(e):null))}function Qi(e){return this.$.pipe(Ra(null),(0,Ya.Z)((async t=>t?{changeEvent:t}:{doc:await this.getLocal(e)})),(0,Ya.Z)((async t=>{if(t.changeEvent){var n=t.changeEvent;return n.isLocal&&n.documentId===e?{use:!0,doc:await this.getLocal(e)}:{use:!1}}return{use:!0,doc:t.doc}})),ja((e=>e.use)),(0,Ta.T)((e=>e.doc)))}var Yi={name:"local-documents",rxdb:!0,prototypes:{RxCollection:e=>{e.insertLocal=Wi,e.upsertLocal=Vi,e.getLocal=Gi,e.getLocal$=Qi},RxDatabase:e=>{e.insertLocal=Wi,e.upsertLocal=Vi,e.getLocal=Gi,e.getLocal$=Qi}},hooks:{createRxDatabase:{before:e=>{e.creator.localDocuments&&Bi(e.database)}},createRxCollection:{before:e=>{e.creator.localDocuments&&Bi(e.collection)}},preDestroyRxDatabase:{after:e=>zi(e)},postDestroyRxCollection:{after:e=>zi(e)},postRemoveRxDatabase:{after:e=>Ui(e.storage,e.databaseName,"")},postRemoveRxCollection:{after:e=>Ui(e.storage,e.databaseName,e.collectionName)}},overwritable:{}};let Zi;function Ji(){return"undefined"!=typeof window&&window.indexedDB}function Xi(){return Zi||(Zi=(async()=>{!function(e){if(mr("preAddRxPlugin",{plugin:e,plugins:ji}),!ji.has(e)){if(Pi.has(e.name))throw V("PL3",{name:e.name,plugin:e});if(ji.add(e),Pi.add(e.name),!e.rxdb)throw G("PL1",{plugin:e});e.init&&e.init(),e.prototypes&&Object.entries(e.prototypes).forEach((e=>{let[t,n]=e;return n(Ai[t])})),e.overwritable&&Object.assign(q,e.overwritable),e.hooks&&Object.entries(e.hooks).forEach((e=>{let[t,n]=e;n.after&&hr[t].push(n.after),n.before&&hr[t].unshift(n.before)}))}}(Yi);var e;return await Ti({name:"rxdb-landing-v3",localDocuments:!0,storage:(void 0===e&&(e={}),new Sa(e))})})()),Zi}const es=["#e6008d","#8d2089","#5f2688"]},1513:(e,t,n)=>{"use strict";n.d(t,{zR:()=>w,TM:()=>C,yJ:()=>p,sC:()=>T,AO:()=>f});var r=n(8168);function a(e){return"/"===e.charAt(0)}function o(e,t){for(var n=t,r=n+1,a=e.length;r=0;f--){var p=i[f];"."===p?o(i,f):".."===p?(o(i,f),d++):d&&(o(i,f),d--)}if(!c)for(;d--;d)i.unshift("..");!c||""===i[0]||i[0]&&a(i[0])||i.unshift("");var h=i.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var s=n(1561);function l(e){return"/"===e.charAt(0)?e:"/"+e}function c(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function f(e){var t=e.pathname,n=e.search,r=e.hash,a=t||"/";return n&&"?"!==n&&(a+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(a+="#"===r.charAt(0)?r:"#"+r),a}function p(e,t,n,a){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",a=t.indexOf("#");-1!==a&&(r=t.substr(a),t=t.substr(0,a));var o=t.indexOf("?");return-1!==o&&(n=t.substr(o),t=t.substr(0,o)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,r.A)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(s){throw s instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):s}return n&&(o.key=n),a?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=i(o.pathname,a.pathname)):o.pathname=a.pathname:o.pathname||(o.pathname="/"),o}function h(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,a){if(null!=e){var o="function"==typeof e?e(t,n):e;"string"==typeof o?"function"==typeof r?r(o,a):a(!0):a(!1!==o)}else a(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;rt?n.splice(t,n.length-t,a):n.push(a),d({action:r,location:a,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",a=p(e,t,m(),w.location);u.confirmTransitionTo(a,r,n,(function(e){e&&(w.entries[w.index]=a,d({action:r,location:a}))}))},go:v,goBack:function(){v(-1)},goForward:function(){v(1)},canGo:function(e){var t=w.index+e;return t>=0&&t{"use strict";var r=n(4363),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||a}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g{"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,a,o,i,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},4634:e=>{e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},689:function(e){e.exports=function(){"use strict";var e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},n=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:5e3;t(this,e),this.ctx=n,this.iframes=r,this.exclude=a,this.iframesTimeout=o}return n(e,[{key:"getContexts",value:function(){var e=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(document.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach((function(t){var n=e.filter((function(e){return e.contains(t)})).length>0;-1!==e.indexOf(t)||n||e.push(t)})),e}},{key:"getIframeContents",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:function(){},r=void 0;try{var a=e.contentWindow;if(r=a.document,!a||!r)throw new Error("iframe inaccessible")}catch(o){n()}r&&t(r)}},{key:"isIframeBlank",value:function(e){var t="about:blank",n=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&n!==t&&n}},{key:"observeIframeLoad",value:function(e,t,n){var r=this,a=!1,o=null,i=function i(){if(!a){a=!0,clearTimeout(o);try{r.isIframeBlank(e)||(e.removeEventListener("load",i),r.getIframeContents(e,t,n))}catch(s){n()}}};e.addEventListener("load",i),o=setTimeout(i,this.iframesTimeout)}},{key:"onIframeReady",value:function(e,t,n){try{"complete"===e.contentWindow.document.readyState?this.isIframeBlank(e)?this.observeIframeLoad(e,t,n):this.getIframeContents(e,t,n):this.observeIframeLoad(e,t,n)}catch(r){n()}}},{key:"waitForIframes",value:function(e,t){var n=this,r=0;this.forEachIframe(e,(function(){return!0}),(function(e){r++,n.waitForIframes(e.querySelector("html"),(function(){--r||t()}))}),(function(e){e||t()}))}},{key:"forEachIframe",value:function(t,n,r){var a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},i=t.querySelectorAll("iframe"),s=i.length,l=0;i=Array.prototype.slice.call(i);var c=function(){--s<=0&&o(l)};s||c(),i.forEach((function(t){e.matches(t,a.exclude)?c():a.onIframeReady(t,(function(e){n(t)&&(l++,r(e)),c()}),c)}))}},{key:"createIterator",value:function(e,t,n){return document.createNodeIterator(e,t,n,!1)}},{key:"createInstanceOnIframe",value:function(t){return new e(t.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,n){if(e.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,n,r){var a=!1,o=!1;return r.forEach((function(e,t){e.val===n&&(a=t,o=e.handled)})),this.compareNodeIframe(e,t,n)?(!1!==a||o?!1===a||o||(r[a].handled=!0):r.push({val:n,handled:!0}),!0):(!1===a&&r.push({val:n,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,n,r){var a=this;e.forEach((function(e){e.handled||a.getIframeContents(e.val,(function(e){a.createInstanceOnIframe(e).forEachNode(t,n,r)}))}))}},{key:"iterateThroughNodes",value:function(e,t,n,r,a){for(var o=this,i=this.createIterator(t,e,r),s=[],l=[],c=void 0,u=void 0,d=function(){var e=o.getIteratorNode(i);return u=e.prevNode,c=e.node};d();)this.iframes&&this.forEachIframe(t,(function(e){return o.checkIframeFilter(c,u,e,s)}),(function(t){o.createInstanceOnIframe(t).forEachNode(e,(function(e){return l.push(e)}),r)})),l.push(c);l.forEach((function(e){n(e)})),this.iframes&&this.handleOpenIframes(s,e,n,r),a()}},{key:"forEachNode",value:function(e,t,n){var r=this,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){},o=this.getContexts(),i=o.length;i||a(),o.forEach((function(o){var s=function(){r.iterateThroughNodes(e,o,t,n,(function(){--i<=0&&a()}))};r.iframes?r.waitForIframes(o,s):s()}))}}],[{key:"matches",value:function(e,t){var n="string"==typeof t?[t]:t,r=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(r){var a=!1;return n.every((function(t){return!r.call(e,t)||(a=!0,!1)})),a}return!1}}]),e}(),o=function(){function o(e){t(this,o),this.ctx=e,this.ie=!1;var n=window.navigator.userAgent;(n.indexOf("MSIE")>-1||n.indexOf("Trident")>-1)&&(this.ie=!0)}return n(o,[{key:"log",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"debug",r=this.opt.log;this.opt.debug&&"object"===(void 0===r?"undefined":e(r))&&"function"==typeof r[n]&&r[n]("mark.js: "+t)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return"disabled"!==this.opt.wildcards&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),"disabled"!==this.opt.wildcards&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t=this.opt.synonyms,n=this.opt.caseSensitive?"":"i",r=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var a in t)if(t.hasOwnProperty(a)){var o=t[a],i="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(a):this.escapeStr(a),s="disabled"!==this.opt.wildcards?this.setupWildcardsRegExp(o):this.escapeStr(o);""!==i&&""!==s&&(e=e.replace(new RegExp("("+this.escapeStr(i)+"|"+this.escapeStr(s)+")","gm"+n),r+"("+this.processSynomyms(i)+"|"+this.processSynomyms(s)+")"+r))}return e}},{key:"processSynomyms",value:function(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}},{key:"setupWildcardsRegExp",value:function(e){return(e=e.replace(/(?:\\)*\?/g,(function(e){return"\\"===e.charAt(0)?"?":"\x01"}))).replace(/(?:\\)*\*/g,(function(e){return"\\"===e.charAt(0)?"*":"\x02"}))}},{key:"createWildcardsRegExp",value:function(e){var t="withSpaces"===this.opt.wildcards;return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,(function(e,t,n){var r=n.charAt(t+1);return/[(|)\\]/.test(r)||""===r?e:e+"\0"}))}},{key:"createJoinersRegExp",value:function(e){var t=[],n=this.opt.ignorePunctuation;return Array.isArray(n)&&n.length&&t.push(this.escapeStr(n.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join("["+t.join("")+"]*"):e}},{key:"createDiacriticsRegExp",value:function(e){var t=this.opt.caseSensitive?"":"i",n=this.opt.caseSensitive?["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105","A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010d","C\xc7\u0106\u010c","d\u0111\u010f","D\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119","E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012b","I\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142","L\u0141","n\xf1\u0148\u0144","N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014d","O\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159","R\u0158","s\u0161\u015b\u0219\u015f","S\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163","T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016b","U\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xff","Y\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017a","Z\u017d\u017b\u0179"]:["a\xe0\xe1\u1ea3\xe3\u1ea1\u0103\u1eb1\u1eaf\u1eb3\u1eb5\u1eb7\xe2\u1ea7\u1ea5\u1ea9\u1eab\u1ead\xe4\xe5\u0101\u0105A\xc0\xc1\u1ea2\xc3\u1ea0\u0102\u1eb0\u1eae\u1eb2\u1eb4\u1eb6\xc2\u1ea6\u1ea4\u1ea8\u1eaa\u1eac\xc4\xc5\u0100\u0104","c\xe7\u0107\u010dC\xc7\u0106\u010c","d\u0111\u010fD\u0110\u010e","e\xe8\xe9\u1ebb\u1ebd\u1eb9\xea\u1ec1\u1ebf\u1ec3\u1ec5\u1ec7\xeb\u011b\u0113\u0119E\xc8\xc9\u1eba\u1ebc\u1eb8\xca\u1ec0\u1ebe\u1ec2\u1ec4\u1ec6\xcb\u011a\u0112\u0118","i\xec\xed\u1ec9\u0129\u1ecb\xee\xef\u012bI\xcc\xcd\u1ec8\u0128\u1eca\xce\xcf\u012a","l\u0142L\u0141","n\xf1\u0148\u0144N\xd1\u0147\u0143","o\xf2\xf3\u1ecf\xf5\u1ecd\xf4\u1ed3\u1ed1\u1ed5\u1ed7\u1ed9\u01a1\u1edf\u1ee1\u1edb\u1edd\u1ee3\xf6\xf8\u014dO\xd2\xd3\u1ece\xd5\u1ecc\xd4\u1ed2\u1ed0\u1ed4\u1ed6\u1ed8\u01a0\u1ede\u1ee0\u1eda\u1edc\u1ee2\xd6\xd8\u014c","r\u0159R\u0158","s\u0161\u015b\u0219\u015fS\u0160\u015a\u0218\u015e","t\u0165\u021b\u0163T\u0164\u021a\u0162","u\xf9\xfa\u1ee7\u0169\u1ee5\u01b0\u1eeb\u1ee9\u1eed\u1eef\u1ef1\xfb\xfc\u016f\u016bU\xd9\xda\u1ee6\u0168\u1ee4\u01af\u1eea\u1ee8\u1eec\u1eee\u1ef0\xdb\xdc\u016e\u016a","y\xfd\u1ef3\u1ef7\u1ef9\u1ef5\xffY\xdd\u1ef2\u1ef6\u1ef8\u1ef4\u0178","z\u017e\u017c\u017aZ\u017d\u017b\u0179"],r=[];return e.split("").forEach((function(a){n.every((function(n){if(-1!==n.indexOf(a)){if(r.indexOf(n)>-1)return!1;e=e.replace(new RegExp("["+n+"]","gm"+t),"["+n+"]"),r.push(n)}return!0}))})),e}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,n="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\xa1\xbf",r=this.opt.accuracy,a="string"==typeof r?r:r.value,o="string"==typeof r?[]:r.limiters,i="";switch(o.forEach((function(e){i+="|"+t.escapeStr(e)})),a){case"partially":default:return"()("+e+")";case"complementary":return"()([^"+(i="\\s"+(i||this.escapeStr(n)))+"]*"+e+"[^"+i+"]*)";case"exactly":return"(^|\\s"+i+")("+e+")(?=$|\\s"+i+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,n=[];return e.forEach((function(e){t.opt.separateWordSearch?e.split(" ").forEach((function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)})):e.trim()&&-1===n.indexOf(e)&&n.push(e)})),{keywords:n.sort((function(e,t){return t.length-e.length})),length:n.length}}},{key:"isNumeric",value:function(e){return Number(parseFloat(e))==e}},{key:"checkRanges",value:function(e){var t=this;if(!Array.isArray(e)||"[object Object]"!==Object.prototype.toString.call(e[0]))return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];var n=[],r=0;return e.sort((function(e,t){return e.start-t.start})).forEach((function(e){var a=t.callNoMatchOnInvalidRanges(e,r),o=a.start,i=a.end;a.valid&&(e.start=o,e.length=i-o,n.push(e),r=i)})),n}},{key:"callNoMatchOnInvalidRanges",value:function(e,t){var n=void 0,r=void 0,a=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&r-t>0&&r-n>0?a=!0:(this.log("Ignoring invalid or overlapping range: "+JSON.stringify(e)),this.opt.noMatch(e))):(this.log("Ignoring invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:n,end:r,valid:a}}},{key:"checkWhitespaceRanges",value:function(e,t,n){var r=void 0,a=!0,o=n.length,i=t-o,s=parseInt(e.start,10)-i;return(r=(s=s>o?o:s)+parseInt(e.length,10))>o&&(r=o,this.log("End range automatically set to the max value of "+o)),s<0||r-s<0||s>o||r>o?(a=!1,this.log("Invalid range: "+JSON.stringify(e)),this.opt.noMatch(e)):""===n.substring(s,r).replace(/\s+/g,"")&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:s,end:r,valid:a}}},{key:"getTextNodes",value:function(e){var t=this,n="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,(function(e){r.push({start:n.length,end:(n+=e.textContent).length,node:e})}),(function(e){return t.matchesExclude(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),(function(){e({value:n,nodes:r})}))}},{key:"matchesExclude",value:function(e){return a.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(e,t,n){var r=this.opt.element?this.opt.element:"mark",a=e.splitText(t),o=a.splitText(n-t),i=document.createElement(r);return i.setAttribute("data-markjs","true"),this.opt.className&&i.setAttribute("class",this.opt.className),i.textContent=a.textContent,a.parentNode.replaceChild(i,a),o}},{key:"wrapRangeInMappedTextNode",value:function(e,t,n,r,a){var o=this;e.nodes.every((function(i,s){var l=e.nodes[s+1];if(void 0===l||l.start>t){if(!r(i.node))return!1;var c=t-i.start,u=(n>i.end?i.end:n)-i.start,d=e.value.substr(0,i.start),f=e.value.substr(u+i.start);if(i.node=o.wrapRangeInTextNode(i.node,c,u),e.value=d+f,e.nodes.forEach((function(t,n){n>=s&&(e.nodes[n].start>0&&n!==s&&(e.nodes[n].start-=u),e.nodes[n].end-=u)})),n-=u,a(i.node.previousSibling,i.start),!(n>i.end))return!1;t=i.end}return!0}))}},{key:"wrapMatches",value:function(e,t,n,r,a){var o=this,i=0===t?0:t+1;this.getTextNodes((function(t){t.nodes.forEach((function(t){t=t.node;for(var a=void 0;null!==(a=e.exec(t.textContent))&&""!==a[i];)if(n(a[i],t)){var s=a.index;if(0!==i)for(var l=1;l{"use strict";n.r(t)},1043:(e,t,n)=>{"use strict";n.r(t)},5947:function(e,t,n){var r,a;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function a(e,t,n){return en?n:e}function o(e){return 100*(-1+e)}function i(e,t,n){var a;return(a="translate3d"===r.positionUsing?{transform:"translate3d("+o(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+o(e)+"%,0)"}:{"margin-left":o(e)+"%"}).transition="all "+t+"ms "+n,a}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=a(e,r.minimum,1),n.status=1===e?null:e;var o=n.render(!t),c=o.querySelector(r.barSelector),u=r.speed,d=r.easing;return o.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,i(e,u,d)),1===e?(l(o,{transition:"none",opacity:1}),o.offsetWidth,setTimeout((function(){l(o,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*a(Math.random()*t,.1,.95)),t=a(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var a,i=t.querySelector(r.barSelector),s=e?"-100":o(n.status||0),c=document.querySelector(r.parent);return l(i,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(a=t.querySelector(r.spinnerSelector))&&p(a),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,a=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);a--;)if((r=e[a]+o)in n)return r;return t}function a(e){return e=n(e),t[e]||(t[e]=r(e))}function o(e,t,n){t=a(t),e.style[t]=n}return function(e,t){var n,r,a=arguments;if(2==a.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&o(e,n,r);else o(e,a[1],a[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(a="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=a)},5302:(e,t,n)=>{var r=n(4634);e.exports=p,e.exports.parse=o,e.exports.compile=function(e,t){return s(o(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var a=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function o(e,t){for(var n,r=[],o=0,i=0,s="",u=t&&t.delimiter||"/";null!=(n=a.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(i,p),i=p+d.length,f)s+=f[1];else{var h=e[i],m=n[2],g=n[3],y=n[4],b=n[5],v=n[6],w=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=h&&h!==m,k="+"===v||"*"===v,_="?"===v||"*"===v,S=n[2]||u,E=y||b;r.push({name:g||o++,prefix:m||"",delimiter:S,optional:_,repeat:k,partial:x,asterisk:!!w,pattern:E?c(E):w?".*":"[^"+l(S)+"]+?"})}}return i{e.exports&&(e.exports={core:{meta:{path:"components/prism-core.js",option:"mandatory"},core:"Core"},themes:{meta:{path:"themes/{id}.css",link:"index.html?theme={id}",exclusive:!0},prism:{title:"Default",option:"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{title:"Okaidia",owner:"ocodia"},"prism-twilight":{title:"Twilight",owner:"remybach"},"prism-coy":{title:"Coy",owner:"tshedor"},"prism-solarizedlight":{title:"Solarized Light",owner:"hectormatos2011 "},"prism-tomorrow":{title:"Tomorrow Night",owner:"Rosey"}},languages:{meta:{path:"components/prism-{id}",noCSS:!0,examplesPath:"examples/prism-{id}",addCheckAll:!0},markup:{title:"Markup",alias:["html","xml","svg","mathml","ssml","atom","rss"],aliasTitles:{html:"HTML",xml:"XML",svg:"SVG",mathml:"MathML",ssml:"SSML",atom:"Atom",rss:"RSS"},option:"default"},css:{title:"CSS",option:"default",modify:"markup"},clike:{title:"C-like",option:"default"},javascript:{title:"JavaScript",require:"clike",modify:"markup",optional:"regex",alias:"js",option:"default"},abap:{title:"ABAP",owner:"dellagustin"},abnf:{title:"ABNF",owner:"RunDevelopment"},actionscript:{title:"ActionScript",require:"javascript",modify:"markup",owner:"Golmote"},ada:{title:"Ada",owner:"Lucretia"},agda:{title:"Agda",owner:"xy-ren"},al:{title:"AL",owner:"RunDevelopment"},antlr4:{title:"ANTLR4",alias:"g4",owner:"RunDevelopment"},apacheconf:{title:"Apache Configuration",owner:"GuiTeK"},apex:{title:"Apex",require:["clike","sql"],owner:"RunDevelopment"},apl:{title:"APL",owner:"ngn"},applescript:{title:"AppleScript",owner:"Golmote"},aql:{title:"AQL",owner:"RunDevelopment"},arduino:{title:"Arduino",require:"cpp",alias:"ino",owner:"dkern"},arff:{title:"ARFF",owner:"Golmote"},armasm:{title:"ARM Assembly",alias:"arm-asm",owner:"RunDevelopment"},arturo:{title:"Arturo",alias:"art",optional:["bash","css","javascript","markup","markdown","sql"],owner:"drkameleon"},asciidoc:{alias:"adoc",title:"AsciiDoc",owner:"Golmote"},aspnet:{title:"ASP.NET (C#)",require:["markup","csharp"],owner:"nauzilus"},asm6502:{title:"6502 Assembly",owner:"kzurawel"},asmatmel:{title:"Atmel AVR Assembly",owner:"cerkit"},autohotkey:{title:"AutoHotkey",owner:"aviaryan"},autoit:{title:"AutoIt",owner:"Golmote"},avisynth:{title:"AviSynth",alias:"avs",owner:"Zinfidel"},"avro-idl":{title:"Avro IDL",alias:"avdl",owner:"RunDevelopment"},awk:{title:"AWK",alias:"gawk",aliasTitles:{gawk:"GAWK"},owner:"RunDevelopment"},bash:{title:"Bash",alias:["sh","shell"],aliasTitles:{sh:"Shell",shell:"Shell"},owner:"zeitgeist87"},basic:{title:"BASIC",owner:"Golmote"},batch:{title:"Batch",owner:"Golmote"},bbcode:{title:"BBcode",alias:"shortcode",aliasTitles:{shortcode:"Shortcode"},owner:"RunDevelopment"},bbj:{title:"BBj",owner:"hyyan"},bicep:{title:"Bicep",owner:"johnnyreilly"},birb:{title:"Birb",require:"clike",owner:"Calamity210"},bison:{title:"Bison",require:"c",owner:"Golmote"},bnf:{title:"BNF",alias:"rbnf",aliasTitles:{rbnf:"RBNF"},owner:"RunDevelopment"},bqn:{title:"BQN",owner:"yewscion"},brainfuck:{title:"Brainfuck",owner:"Golmote"},brightscript:{title:"BrightScript",owner:"RunDevelopment"},bro:{title:"Bro",owner:"wayward710"},bsl:{title:"BSL (1C:Enterprise)",alias:"oscript",aliasTitles:{oscript:"OneScript"},owner:"Diversus23"},c:{title:"C",require:"clike",owner:"zeitgeist87"},csharp:{title:"C#",require:"clike",alias:["cs","dotnet"],owner:"mvalipour"},cpp:{title:"C++",require:"c",owner:"zeitgeist87"},cfscript:{title:"CFScript",require:"clike",alias:"cfc",owner:"mjclemente"},chaiscript:{title:"ChaiScript",require:["clike","cpp"],owner:"RunDevelopment"},cil:{title:"CIL",owner:"sbrl"},cilkc:{title:"Cilk/C",require:"c",alias:"cilk-c",owner:"OpenCilk"},cilkcpp:{title:"Cilk/C++",require:"cpp",alias:["cilk-cpp","cilk"],owner:"OpenCilk"},clojure:{title:"Clojure",owner:"troglotit"},cmake:{title:"CMake",owner:"mjrogozinski"},cobol:{title:"COBOL",owner:"RunDevelopment"},coffeescript:{title:"CoffeeScript",require:"javascript",alias:"coffee",owner:"R-osey"},concurnas:{title:"Concurnas",alias:"conc",owner:"jasontatton"},csp:{title:"Content-Security-Policy",owner:"ScottHelme"},cooklang:{title:"Cooklang",owner:"ahue"},coq:{title:"Coq",owner:"RunDevelopment"},crystal:{title:"Crystal",require:"ruby",owner:"MakeNowJust"},"css-extras":{title:"CSS Extras",require:"css",modify:"css",owner:"milesj"},csv:{title:"CSV",owner:"RunDevelopment"},cue:{title:"CUE",owner:"RunDevelopment"},cypher:{title:"Cypher",owner:"RunDevelopment"},d:{title:"D",require:"clike",owner:"Golmote"},dart:{title:"Dart",require:"clike",owner:"Golmote"},dataweave:{title:"DataWeave",owner:"machaval"},dax:{title:"DAX",owner:"peterbud"},dhall:{title:"Dhall",owner:"RunDevelopment"},diff:{title:"Diff",owner:"uranusjr"},django:{title:"Django/Jinja2",require:"markup-templating",alias:"jinja2",owner:"romanvm"},"dns-zone-file":{title:"DNS zone file",owner:"RunDevelopment",alias:"dns-zone"},docker:{title:"Docker",alias:"dockerfile",owner:"JustinBeckwith"},dot:{title:"DOT (Graphviz)",alias:"gv",optional:"markup",owner:"RunDevelopment"},ebnf:{title:"EBNF",owner:"RunDevelopment"},editorconfig:{title:"EditorConfig",owner:"osipxd"},eiffel:{title:"Eiffel",owner:"Conaclos"},ejs:{title:"EJS",require:["javascript","markup-templating"],owner:"RunDevelopment",alias:"eta",aliasTitles:{eta:"Eta"}},elixir:{title:"Elixir",owner:"Golmote"},elm:{title:"Elm",owner:"zwilias"},etlua:{title:"Embedded Lua templating",require:["lua","markup-templating"],owner:"RunDevelopment"},erb:{title:"ERB",require:["ruby","markup-templating"],owner:"Golmote"},erlang:{title:"Erlang",owner:"Golmote"},"excel-formula":{title:"Excel Formula",alias:["xlsx","xls"],owner:"RunDevelopment"},fsharp:{title:"F#",require:"clike",owner:"simonreynolds7"},factor:{title:"Factor",owner:"catb0t"},false:{title:"False",owner:"edukisto"},"firestore-security-rules":{title:"Firestore security rules",require:"clike",owner:"RunDevelopment"},flow:{title:"Flow",require:"javascript",owner:"Golmote"},fortran:{title:"Fortran",owner:"Golmote"},ftl:{title:"FreeMarker Template Language",require:"markup-templating",owner:"RunDevelopment"},gml:{title:"GameMaker Language",alias:"gamemakerlanguage",require:"clike",owner:"LiarOnce"},gap:{title:"GAP (CAS)",owner:"RunDevelopment"},gcode:{title:"G-code",owner:"RunDevelopment"},gdscript:{title:"GDScript",owner:"RunDevelopment"},gedcom:{title:"GEDCOM",owner:"Golmote"},gettext:{title:"gettext",alias:"po",owner:"RunDevelopment"},gherkin:{title:"Gherkin",owner:"hason"},git:{title:"Git",owner:"lgiraudel"},glsl:{title:"GLSL",require:"c",owner:"Golmote"},gn:{title:"GN",alias:"gni",owner:"RunDevelopment"},"linker-script":{title:"GNU Linker Script",alias:"ld",owner:"RunDevelopment"},go:{title:"Go",require:"clike",owner:"arnehormann"},"go-module":{title:"Go module",alias:"go-mod",owner:"RunDevelopment"},gradle:{title:"Gradle",require:"clike",owner:"zeabdelkhalek-badido18"},graphql:{title:"GraphQL",optional:"markdown",owner:"Golmote"},groovy:{title:"Groovy",require:"clike",owner:"robfletcher"},haml:{title:"Haml",require:"ruby",optional:["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],owner:"Golmote"},handlebars:{title:"Handlebars",require:"markup-templating",alias:["hbs","mustache"],aliasTitles:{mustache:"Mustache"},owner:"Golmote"},haskell:{title:"Haskell",alias:"hs",owner:"bholst"},haxe:{title:"Haxe",require:"clike",optional:"regex",owner:"Golmote"},hcl:{title:"HCL",owner:"outsideris"},hlsl:{title:"HLSL",require:"c",owner:"RunDevelopment"},hoon:{title:"Hoon",owner:"matildepark"},http:{title:"HTTP",optional:["csp","css","hpkp","hsts","javascript","json","markup","uri"],owner:"danielgtaylor"},hpkp:{title:"HTTP Public-Key-Pins",owner:"ScottHelme"},hsts:{title:"HTTP Strict-Transport-Security",owner:"ScottHelme"},ichigojam:{title:"IchigoJam",owner:"BlueCocoa"},icon:{title:"Icon",owner:"Golmote"},"icu-message-format":{title:"ICU Message Format",owner:"RunDevelopment"},idris:{title:"Idris",alias:"idr",owner:"KeenS",require:"haskell"},ignore:{title:".ignore",owner:"osipxd",alias:["gitignore","hgignore","npmignore"],aliasTitles:{gitignore:".gitignore",hgignore:".hgignore",npmignore:".npmignore"}},inform7:{title:"Inform 7",owner:"Golmote"},ini:{title:"Ini",owner:"aviaryan"},io:{title:"Io",owner:"AlesTsurko"},j:{title:"J",owner:"Golmote"},java:{title:"Java",require:"clike",owner:"sherblot"},javadoc:{title:"JavaDoc",require:["markup","java","javadoclike"],modify:"java",optional:"scala",owner:"RunDevelopment"},javadoclike:{title:"JavaDoc-like",modify:["java","javascript","php"],owner:"RunDevelopment"},javastacktrace:{title:"Java stack trace",owner:"RunDevelopment"},jexl:{title:"Jexl",owner:"czosel"},jolie:{title:"Jolie",require:"clike",owner:"thesave"},jq:{title:"JQ",owner:"RunDevelopment"},jsdoc:{title:"JSDoc",require:["javascript","javadoclike","typescript"],modify:"javascript",optional:["actionscript","coffeescript"],owner:"RunDevelopment"},"js-extras":{title:"JS Extras",require:"javascript",modify:"javascript",optional:["actionscript","coffeescript","flow","n4js","typescript"],owner:"RunDevelopment"},json:{title:"JSON",alias:"webmanifest",aliasTitles:{webmanifest:"Web App Manifest"},owner:"CupOfTea696"},json5:{title:"JSON5",require:"json",owner:"RunDevelopment"},jsonp:{title:"JSONP",require:"json",owner:"RunDevelopment"},jsstacktrace:{title:"JS stack trace",owner:"sbrl"},"js-templates":{title:"JS Templates",require:"javascript",modify:"javascript",optional:["css","css-extras","graphql","markdown","markup","sql"],owner:"RunDevelopment"},julia:{title:"Julia",owner:"cdagnino"},keepalived:{title:"Keepalived Configure",owner:"dev-itsheng"},keyman:{title:"Keyman",owner:"mcdurdin"},kotlin:{title:"Kotlin",alias:["kt","kts"],aliasTitles:{kts:"Kotlin Script"},require:"clike",owner:"Golmote"},kumir:{title:"KuMir (\u041a\u0443\u041c\u0438\u0440)",alias:"kum",owner:"edukisto"},kusto:{title:"Kusto",owner:"RunDevelopment"},latex:{title:"LaTeX",alias:["tex","context"],aliasTitles:{tex:"TeX",context:"ConTeXt"},owner:"japborst"},latte:{title:"Latte",require:["clike","markup-templating","php"],owner:"nette"},less:{title:"Less",require:"css",optional:"css-extras",owner:"Golmote"},lilypond:{title:"LilyPond",require:"scheme",alias:"ly",owner:"RunDevelopment"},liquid:{title:"Liquid",require:"markup-templating",owner:"cinhtau"},lisp:{title:"Lisp",alias:["emacs","elisp","emacs-lisp"],owner:"JuanCaicedo"},livescript:{title:"LiveScript",owner:"Golmote"},llvm:{title:"LLVM IR",owner:"porglezomp"},log:{title:"Log file",optional:"javastacktrace",owner:"RunDevelopment"},lolcode:{title:"LOLCODE",owner:"Golmote"},lua:{title:"Lua",owner:"Golmote"},magma:{title:"Magma (CAS)",owner:"RunDevelopment"},makefile:{title:"Makefile",owner:"Golmote"},markdown:{title:"Markdown",require:"markup",optional:"yaml",alias:"md",owner:"Golmote"},"markup-templating":{title:"Markup templating",require:"markup",owner:"Golmote"},mata:{title:"Mata",owner:"RunDevelopment"},matlab:{title:"MATLAB",owner:"Golmote"},maxscript:{title:"MAXScript",owner:"RunDevelopment"},mel:{title:"MEL",owner:"Golmote"},mermaid:{title:"Mermaid",owner:"RunDevelopment"},metafont:{title:"METAFONT",owner:"LaeriExNihilo"},mizar:{title:"Mizar",owner:"Golmote"},mongodb:{title:"MongoDB",owner:"airs0urce",require:"javascript"},monkey:{title:"Monkey",owner:"Golmote"},moonscript:{title:"MoonScript",alias:"moon",owner:"RunDevelopment"},n1ql:{title:"N1QL",owner:"TMWilds"},n4js:{title:"N4JS",require:"javascript",optional:"jsdoc",alias:"n4jsd",owner:"bsmith-n4"},"nand2tetris-hdl":{title:"Nand To Tetris HDL",owner:"stephanmax"},naniscript:{title:"Naninovel Script",owner:"Elringus",alias:"nani"},nasm:{title:"NASM",owner:"rbmj"},neon:{title:"NEON",owner:"nette"},nevod:{title:"Nevod",owner:"nezaboodka"},nginx:{title:"nginx",owner:"volado"},nim:{title:"Nim",owner:"Golmote"},nix:{title:"Nix",owner:"Golmote"},nsis:{title:"NSIS",owner:"idleberg"},objectivec:{title:"Objective-C",require:"c",alias:"objc",owner:"uranusjr"},ocaml:{title:"OCaml",owner:"Golmote"},odin:{title:"Odin",owner:"edukisto"},opencl:{title:"OpenCL",require:"c",modify:["c","cpp"],owner:"Milania1"},openqasm:{title:"OpenQasm",alias:"qasm",owner:"RunDevelopment"},oz:{title:"Oz",owner:"Golmote"},parigp:{title:"PARI/GP",owner:"Golmote"},parser:{title:"Parser",require:"markup",owner:"Golmote"},pascal:{title:"Pascal",alias:"objectpascal",aliasTitles:{objectpascal:"Object Pascal"},owner:"Golmote"},pascaligo:{title:"Pascaligo",owner:"DefinitelyNotAGoat"},psl:{title:"PATROL Scripting Language",owner:"bertysentry"},pcaxis:{title:"PC-Axis",alias:"px",owner:"RunDevelopment"},peoplecode:{title:"PeopleCode",alias:"pcode",owner:"RunDevelopment"},perl:{title:"Perl",owner:"Golmote"},php:{title:"PHP",require:"markup-templating",owner:"milesj"},phpdoc:{title:"PHPDoc",require:["php","javadoclike"],modify:"php",owner:"RunDevelopment"},"php-extras":{title:"PHP Extras",require:"php",modify:"php",owner:"milesj"},"plant-uml":{title:"PlantUML",alias:"plantuml",owner:"RunDevelopment"},plsql:{title:"PL/SQL",require:"sql",owner:"Golmote"},powerquery:{title:"PowerQuery",alias:["pq","mscript"],owner:"peterbud"},powershell:{title:"PowerShell",owner:"nauzilus"},processing:{title:"Processing",require:"clike",owner:"Golmote"},prolog:{title:"Prolog",owner:"Golmote"},promql:{title:"PromQL",owner:"arendjr"},properties:{title:".properties",owner:"Golmote"},protobuf:{title:"Protocol Buffers",require:"clike",owner:"just-boris"},pug:{title:"Pug",require:["markup","javascript"],optional:["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],owner:"Golmote"},puppet:{title:"Puppet",owner:"Golmote"},pure:{title:"Pure",optional:["c","cpp","fortran"],owner:"Golmote"},purebasic:{title:"PureBasic",require:"clike",alias:"pbfasm",owner:"HeX0R101"},purescript:{title:"PureScript",require:"haskell",alias:"purs",owner:"sriharshachilakapati"},python:{title:"Python",alias:"py",owner:"multipetros"},qsharp:{title:"Q#",require:"clike",alias:"qs",owner:"fedonman"},q:{title:"Q (kdb+ database)",owner:"Golmote"},qml:{title:"QML",require:"javascript",owner:"RunDevelopment"},qore:{title:"Qore",require:"clike",owner:"temnroegg"},r:{title:"R",owner:"Golmote"},racket:{title:"Racket",require:"scheme",alias:"rkt",owner:"RunDevelopment"},cshtml:{title:"Razor C#",alias:"razor",require:["markup","csharp"],optional:["css","css-extras","javascript","js-extras"],owner:"RunDevelopment"},jsx:{title:"React JSX",require:["markup","javascript"],optional:["jsdoc","js-extras","js-templates"],owner:"vkbansal"},tsx:{title:"React TSX",require:["jsx","typescript"]},reason:{title:"Reason",require:"clike",owner:"Golmote"},regex:{title:"Regex",owner:"RunDevelopment"},rego:{title:"Rego",owner:"JordanSh"},renpy:{title:"Ren'py",alias:"rpy",owner:"HyuchiaDiego"},rescript:{title:"ReScript",alias:"res",owner:"vmarcosp"},rest:{title:"reST (reStructuredText)",owner:"Golmote"},rip:{title:"Rip",owner:"ravinggenius"},roboconf:{title:"Roboconf",owner:"Golmote"},robotframework:{title:"Robot Framework",alias:"robot",owner:"RunDevelopment"},ruby:{title:"Ruby",require:"clike",alias:"rb",owner:"samflores"},rust:{title:"Rust",owner:"Golmote"},sas:{title:"SAS",optional:["groovy","lua","sql"],owner:"Golmote"},sass:{title:"Sass (Sass)",require:"css",optional:"css-extras",owner:"Golmote"},scss:{title:"Sass (SCSS)",require:"css",optional:"css-extras",owner:"MoOx"},scala:{title:"Scala",require:"java",owner:"jozic"},scheme:{title:"Scheme",owner:"bacchus123"},"shell-session":{title:"Shell session",require:"bash",alias:["sh-session","shellsession"],owner:"RunDevelopment"},smali:{title:"Smali",owner:"RunDevelopment"},smalltalk:{title:"Smalltalk",owner:"Golmote"},smarty:{title:"Smarty",require:"markup-templating",optional:"php",owner:"Golmote"},sml:{title:"SML",alias:"smlnj",aliasTitles:{smlnj:"SML/NJ"},owner:"RunDevelopment"},solidity:{title:"Solidity (Ethereum)",alias:"sol",require:"clike",owner:"glachaud"},"solution-file":{title:"Solution file",alias:"sln",owner:"RunDevelopment"},soy:{title:"Soy (Closure Template)",require:"markup-templating",owner:"Golmote"},sparql:{title:"SPARQL",require:"turtle",owner:"Triply-Dev",alias:"rq"},"splunk-spl":{title:"Splunk SPL",owner:"RunDevelopment"},sqf:{title:"SQF: Status Quo Function (Arma 3)",require:"clike",owner:"RunDevelopment"},sql:{title:"SQL",owner:"multipetros"},squirrel:{title:"Squirrel",require:"clike",owner:"RunDevelopment"},stan:{title:"Stan",owner:"RunDevelopment"},stata:{title:"Stata Ado",require:["mata","java","python"],owner:"RunDevelopment"},iecst:{title:"Structured Text (IEC 61131-3)",owner:"serhioromano"},stylus:{title:"Stylus",owner:"vkbansal"},supercollider:{title:"SuperCollider",alias:"sclang",owner:"RunDevelopment"},swift:{title:"Swift",owner:"chrischares"},systemd:{title:"Systemd configuration file",owner:"RunDevelopment"},"t4-templating":{title:"T4 templating",owner:"RunDevelopment"},"t4-cs":{title:"T4 Text Templates (C#)",require:["t4-templating","csharp"],alias:"t4",owner:"RunDevelopment"},"t4-vb":{title:"T4 Text Templates (VB)",require:["t4-templating","vbnet"],owner:"RunDevelopment"},tap:{title:"TAP",owner:"isaacs",require:"yaml"},tcl:{title:"Tcl",owner:"PeterChaplin"},tt2:{title:"Template Toolkit 2",require:["clike","markup-templating"],owner:"gflohr"},textile:{title:"Textile",require:"markup",optional:"css",owner:"Golmote"},toml:{title:"TOML",owner:"RunDevelopment"},tremor:{title:"Tremor",alias:["trickle","troy"],owner:"darach",aliasTitles:{trickle:"trickle",troy:"troy"}},turtle:{title:"Turtle",alias:"trig",aliasTitles:{trig:"TriG"},owner:"jakubklimek"},twig:{title:"Twig",require:"markup-templating",owner:"brandonkelly"},typescript:{title:"TypeScript",require:"javascript",optional:"js-templates",alias:"ts",owner:"vkbansal"},typoscript:{title:"TypoScript",alias:"tsconfig",aliasTitles:{tsconfig:"TSConfig"},owner:"dkern"},unrealscript:{title:"UnrealScript",alias:["uscript","uc"],owner:"RunDevelopment"},uorazor:{title:"UO Razor Script",owner:"jaseowns"},uri:{title:"URI",alias:"url",aliasTitles:{url:"URL"},owner:"RunDevelopment"},v:{title:"V",require:"clike",owner:"taggon"},vala:{title:"Vala",require:"clike",optional:"regex",owner:"TemplarVolk"},vbnet:{title:"VB.Net",require:"basic",owner:"Bigsby"},velocity:{title:"Velocity",require:"markup",owner:"Golmote"},verilog:{title:"Verilog",owner:"a-rey"},vhdl:{title:"VHDL",owner:"a-rey"},vim:{title:"vim",owner:"westonganger"},"visual-basic":{title:"Visual Basic",alias:["vb","vba"],aliasTitles:{vba:"VBA"},owner:"Golmote"},warpscript:{title:"WarpScript",owner:"RunDevelopment"},wasm:{title:"WebAssembly",owner:"Golmote"},"web-idl":{title:"Web IDL",alias:"webidl",owner:"RunDevelopment"},wgsl:{title:"WGSL",owner:"Dr4gonthree"},wiki:{title:"Wiki markup",require:"markup",owner:"Golmote"},wolfram:{title:"Wolfram language",alias:["mathematica","nb","wl"],aliasTitles:{mathematica:"Mathematica",nb:"Mathematica Notebook"},owner:"msollami"},wren:{title:"Wren",owner:"clsource"},xeora:{title:"Xeora",require:"markup",alias:"xeoracube",aliasTitles:{xeoracube:"XeoraCube"},owner:"freakmaxi"},"xml-doc":{title:"XML doc (.net)",require:"markup",modify:["csharp","fsharp","vbnet"],owner:"RunDevelopment"},xojo:{title:"Xojo (REALbasic)",owner:"Golmote"},xquery:{title:"XQuery",require:"markup",owner:"Golmote"},yaml:{title:"YAML",alias:"yml",owner:"hason"},yang:{title:"YANG",owner:"RunDevelopment"},zig:{title:"Zig",owner:"RunDevelopment"}},plugins:{meta:{path:"plugins/{id}/prism-{id}",link:"plugins/{id}/"},"line-highlight":{title:"Line Highlight",description:"Highlights specific lines and/or line ranges."},"line-numbers":{title:"Line Numbers",description:"Line number at the beginning of code lines.",owner:"kuba-kubula"},"show-invisibles":{title:"Show Invisibles",description:"Show hidden characters such as tabs and line breaks.",optional:["autolinker","data-uri-highlight"]},autolinker:{title:"Autolinker",description:"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},wpd:{title:"WebPlatform Docs",description:'Makes tokens link to WebPlatform.org documentation. The links open in a new tab.'},"custom-class":{title:"Custom Class",description:"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.",owner:"dvkndn",noCSS:!0},"file-highlight":{title:"File Highlight",description:"Fetch external files and highlight them with Prism. Used on the Prism website itself.",noCSS:!0},"show-language":{title:"Show Language",description:"Display the highlighted language in code blocks (inline code does not show the label).",owner:"nauzilus",noCSS:!0,require:"toolbar"},"jsonp-highlight":{title:"JSONP Highlight",description:"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).",noCSS:!0,owner:"nauzilus"},"highlight-keywords":{title:"Highlight Keywords",description:"Adds special CSS classes for each keyword for fine-grained highlighting.",owner:"vkbansal",noCSS:!0},"remove-initial-line-feed":{title:"Remove initial line feed",description:"Removes the initial line feed in code blocks.",owner:"Golmote",noCSS:!0},"inline-color":{title:"Inline color",description:"Adds a small inline preview for colors in style sheets.",require:"css-extras",owner:"RunDevelopment"},previewers:{title:"Previewers",description:"Previewers for angles, colors, gradients, easing and time.",require:"css-extras",owner:"Golmote"},autoloader:{title:"Autoloader",description:"Automatically loads the needed languages to highlight the code blocks.",owner:"Golmote",noCSS:!0},"keep-markup":{title:"Keep Markup",description:"Prevents custom markup from being dropped out during highlighting.",owner:"Golmote",optional:"normalize-whitespace",noCSS:!0},"command-line":{title:"Command Line",description:"Display a command line with a prompt and, optionally, the output/response from the commands.",owner:"chriswells0"},"unescaped-markup":{title:"Unescaped Markup",description:"Write markup without having to escape anything."},"normalize-whitespace":{title:"Normalize Whitespace",description:"Supports multiple operations to normalize whitespace in code blocks.",owner:"zeitgeist87",optional:"unescaped-markup",noCSS:!0},"data-uri-highlight":{title:"Data-URI Highlight",description:"Highlights data-URI contents.",owner:"Golmote",noCSS:!0},toolbar:{title:"Toolbar",description:"Attach a toolbar for plugins to easily register buttons on the top of a code block.",owner:"mAAdhaTTah"},"copy-to-clipboard":{title:"Copy to Clipboard Button",description:"Add a button that copies the code block to the clipboard when clicked.",owner:"mAAdhaTTah",require:"toolbar",noCSS:!0},"download-button":{title:"Download Button",description:"A button in the toolbar of a code block adding a convenient way to download a code file.",owner:"Golmote",require:"toolbar",noCSS:!0},"match-braces":{title:"Match braces",description:"Highlights matching braces.",owner:"RunDevelopment"},"diff-highlight":{title:"Diff Highlight",description:"Highlights the code inside diff blocks.",owner:"RunDevelopment",require:"diff"},"filter-highlight-all":{title:"Filter highlightAll",description:"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.",owner:"RunDevelopment",noCSS:!0},treeview:{title:"Treeview",description:"A language with special styles to highlight file system tree structures.",owner:"Golmote"}}})},8722:(e,t,n)=>{const r=n(6969),a=n(8380),o=new Set;function i(e){void 0===e?e=Object.keys(r.languages).filter((e=>"meta"!=e)):Array.isArray(e)||(e=[e]);const t=[...o,...Object.keys(Prism.languages)];a(r,e,t).load((e=>{if(!(e in r.languages))return void(i.silent||console.warn("Language does not exist: "+e));const t="./prism-"+e;delete n.c[n(3157).resolve(t)],delete Prism.languages[e],n(3157)(t),o.add(e)}))}i.silent=!1,e.exports=i},9700:()=>{!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,(function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a})),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],f="string"==typeof c?c:c.content,p=t(r,u),h=f.indexOf(p);if(h>-1){++a;var m=f.substring(0,h),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),y=f.substring(h+p.length),b=[];m&&b.push.apply(b,i([m])),b.push(g),y&&b.push.apply(b,i([y])),"string"==typeof c?s.splice.apply(s,[l,1].concat(b)):c.content=b}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(Prism)},8692:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=8692},3157:(e,t,n)=>{var r={"./":8722};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=o,e.exports=a,a.id=3157},8380:e=>{"use strict";var t=function(){var e=function(){};function t(e,t){Array.isArray(e)?e.forEach(t):null!=e&&t(e,0)}function n(e){for(var t={},n=0,r=e.length;n "));var s={},l=e[r];if(l){function c(t){if(!(t in e))throw new Error(r+" depends on an unknown component "+t);if(!(t in s))for(var i in a(t,o),s[t]=!0,n[t])s[i]=!0}t(l.require,c),t(l.optional,c),t(l.modify,c)}n[r]=s,o.pop()}}return function(e){var t=n[e];return t||(a(e,r),t=n[e]),t}}function a(e){for(var t in e)return!0;return!1}return function(o,i,s){var l=function(e){var t={};for(var n in e){var r=e[n];for(var a in r)if("meta"!=a){var o=r[a];t[a]="string"==typeof o?{title:o}:o}}return t}(o),c=function(e){var n;return function(r){if(r in e)return r;if(!n)for(var a in n={},e){var o=e[a];t(o&&o.alias,(function(t){if(t in n)throw new Error(t+" cannot be alias for both "+a+" and "+n[t]);if(t in e)throw new Error(t+" cannot be alias of "+a+" because it is a component.");n[t]=a}))}return n[r]||r}}(l);i=i.map(c),s=(s||[]).map(c);var u=n(i),d=n(s);i.forEach((function e(n){var r=l[n];t(r&&r.require,(function(t){t in d||(u[t]=!0,e(t))}))}));for(var f,p=r(l),h=u;a(h);){for(var m in f={},h){var g=l[m];t(g&&g.modify,(function(e){e in d&&(f[e]=!0)}))}for(var y in d)if(!(y in u))for(var b in p(y))if(b in u){f[y]=!0;break}for(var v in h=f)u[v]=!0}var w={getIds:function(){var e=[];return w.load((function(t){e.push(t)})),e},load:function(t,n){return function(t,n,r,a){var o=a?a.series:void 0,i=a?a.parallel:e,s={},l={};function c(e){if(e in s)return s[e];l[e]=!0;var a,u=[];for(var d in t(e))d in n&&u.push(d);if(0===u.length)a=r(e);else{var f=i(u.map((function(e){var t=c(e);return delete l[e],t})));o?a=o(f,(function(){return r(e)})):r(e)}return s[e]=a}for(var u in n)c(u);var d=[];for(var f in l)d.push(s[f]);return i(d)}(p,u,t,n)}};return w}}();e.exports=t},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(6540),a=n(9982);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n